/*************************************************** NAME : EnvFindDeffunction DESCRIPTION : Searches for a deffunction INPUTS : The name of the deffunction (possibly including a module name) RETURNS : Pointer to the deffunction if found, otherwise NULL SIDE EFFECTS : None NOTES : None ***************************************************/ globle void *EnvFindDeffunction( void *theEnv, EXEC_STATUS, char *dfnxModuleAndName) { return(FindNamedConstruct(theEnv,execStatus,dfnxModuleAndName,DeffunctionData(theEnv,execStatus)->DeffunctionConstruct)); }
globle void *EnvFindDefglobal( void *theEnv, char *defglobalName) { return(FindNamedConstruct(theEnv,defglobalName,DefglobalData(theEnv)->DefglobalConstruct)); }
globle void *FindDefrule( char *defruleName) { return(FindNamedConstruct(defruleName,DefruleConstruct)); }
globle void *EnvFindDefrule( void *theEnv, char *defruleName) { return(FindNamedConstruct(theEnv,defruleName,DefruleData(theEnv)->DefruleConstruct)); }
/*************************************************** NAME : EnvFindDeffunction DESCRIPTION : Searches for a deffunction INPUTS : The name of the deffunction (possibly including a module name) RETURNS : Pointer to the deffunction if found, otherwise NULL SIDE EFFECTS : None NOTES : None ***************************************************/ globle void *EnvFindDeffunction( void *theEnv, char *dfnxModuleAndName) { return(FindNamedConstruct(theEnv,dfnxModuleAndName,DeffunctionData(theEnv)->DeffunctionConstruct)); }
globle void *EnvFindDeffacts( void *theEnv, char *deffactsName) { return(FindNamedConstruct(theEnv,deffactsName,DeffactsData(theEnv)->DeffactsConstruct)); }
/*************************************************** NAME : EnvFindDefinstances DESCRIPTION : Looks up a definstance construct by name-string INPUTS : The symbolic name RETURNS : The definstance address, or NULL if not found SIDE EFFECTS : None NOTES : None ***************************************************/ globle void *EnvFindDefinstances( void *theEnv, char *name) { return(FindNamedConstruct(theEnv,name,DefinstancesData(theEnv)->DefinstancesConstruct)); }
globle void *EnvFindDeftemplate( void *theEnv, const char *deftemplateName) { return(FindNamedConstruct(theEnv,deftemplateName,DeftemplateData(theEnv)->DeftemplateConstruct)); }