src/clipsrules/core/extnfunc.c File Reference

#include "setup.h"
#include <ctype.h>
#include <stdlib.h>
#include "constant.h"
#include "envrnmnt.h"
#include "router.h"
#include "memalloc.h"
#include "evaluatn.h"
#include "extnfunc.h"

Include dependency graph for extnfunc.c:

Go to the source code of this file.

Defines

#define _EXTNFUNC_SOURCE_

Functions

globle void InitializeExternalFunctionData (void *theEnv)
globle int DefineFunction (char *name, int returnType, int(*pointer)(void), char *actualName)
globle int EnvDefineFunction (void *theEnv, char *name, int returnType, int(*pointer)(void *), char *actualName)
globle int EnvDefineFunctionWithContext (void *theEnv, char *name, int returnType, int(*pointer)(void *), char *actualName, void *context)
globle int DefineFunction2 (char *name, int returnType, int(*pointer)(void), char *actualName, char *restrictions)
globle int EnvDefineFunction2 (void *theEnv, char *name, int returnType, int(*pointer)(void *), char *actualName, char *restrictions)
globle int EnvDefineFunction2WithContext (void *theEnv, char *name, int returnType, int(*pointer)(void *), char *actualName, char *restrictions, void *context)
globle int DefineFunction3 (void *theEnv, char *name, int returnType, int(*pointer)(void *), char *actualName, char *restrictions, intBool environmentAware, void *context)
globle int UndefineFunction (void *theEnv, char *functionName)
globle int AddFunctionParser (void *theEnv, char *functionName, struct expr *(*fpPtr)(void *, struct expr *, char *))
globle int RemoveFunctionParser (void *theEnv, char *functionName)
globle int FuncSeqOvlFlags (void *theEnv, char *functionName, int seqp, int ovlp)
globle char * GetArgumentTypeName (int theRestriction)
globle int GetNthRestriction (struct FunctionDefinition *theFunction, int position)
globle struct FunctionDefinitionGetFunctionList (void *theEnv)
globle void InstallFunctionList (void *theEnv, struct FunctionDefinition *value)
globle struct FunctionDefinitionFindFunction (void *theEnv, char *functionName)
globle int GetMinimumArgs (struct FunctionDefinition *theFunction)
globle int GetMaximumArgs (struct FunctionDefinition *theFunction)


Define Documentation

#define _EXTNFUNC_SOURCE_

Definition at line 29 of file extnfunc.c.


Function Documentation

globle int AddFunctionParser ( void *  theEnv,
char *  functionName,
struct expr *(*)(void *, struct expr *, char *)  fpPtr 
)

Definition at line 384 of file extnfunc.c.

globle int DefineFunction ( char *  name,
int  returnType,
int(*)(void)  pointer,
char *  actualName 
)

Definition at line 112 of file extnfunc.c.

globle int DefineFunction2 ( char *  name,
int  returnType,
int(*)(void)  pointer,
char *  actualName,
char *  restrictions 
)

Definition at line 162 of file extnfunc.c.

globle int DefineFunction3 ( void *  theEnv,
char *  name,
int  returnType,
int(*)(void *)  pointer,
char *  actualName,
char *  restrictions,
intBool  environmentAware,
void *  context 
)

Definition at line 235 of file extnfunc.c.

globle int EnvDefineFunction ( void *  theEnv,
char *  name,
int  returnType,
int(*)(void *)  pointer,
char *  actualName 
)

Definition at line 132 of file extnfunc.c.

globle int EnvDefineFunction2 ( void *  theEnv,
char *  name,
int  returnType,
int(*)(void *)  pointer,
char *  actualName,
char *  restrictions 
)

Definition at line 183 of file extnfunc.c.

globle int EnvDefineFunction2WithContext ( void *  theEnv,
char *  name,
int  returnType,
int(*)(void *)  pointer,
char *  actualName,
char *  restrictions,
void *  context 
)

Definition at line 198 of file extnfunc.c.

globle int EnvDefineFunctionWithContext ( void *  theEnv,
char *  name,
int  returnType,
int(*)(void *)  pointer,
char *  actualName,
void *  context 
)

Definition at line 146 of file extnfunc.c.

globle struct FunctionDefinition* FindFunction ( void *  theEnv,
char *  functionName 
) [read]

Definition at line 626 of file extnfunc.c.

globle int FuncSeqOvlFlags ( void *  theEnv,
char *  functionName,
int  seqp,
int  ovlp 
)

Definition at line 430 of file extnfunc.c.

globle char* GetArgumentTypeName ( int  theRestriction  ) 

Definition at line 455 of file extnfunc.c.

globle struct FunctionDefinition* GetFunctionList ( void *  theEnv  )  [read]

Definition at line 580 of file extnfunc.c.

globle int GetMaximumArgs ( struct FunctionDefinition theFunction  ) 

Definition at line 716 of file extnfunc.c.

globle int GetMinimumArgs ( struct FunctionDefinition theFunction  ) 

Definition at line 693 of file extnfunc.c.

globle int GetNthRestriction ( struct FunctionDefinition theFunction,
int  position 
)

Definition at line 527 of file extnfunc.c.

globle void InitializeExternalFunctionData ( void *  theEnv  ) 

Definition at line 59 of file extnfunc.c.

globle void InstallFunctionList ( void *  theEnv,
struct FunctionDefinition value 
)

Definition at line 590 of file extnfunc.c.

globle int RemoveFunctionParser ( void *  theEnv,
char *  functionName 
)

Definition at line 408 of file extnfunc.c.

globle int UndefineFunction ( void *  theEnv,
char *  functionName 
)

Definition at line 307 of file extnfunc.c.


Generated on Mon Jan 10 22:33:41 2011 by  doxygen 1.5.6