00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef _H_factfun
00026 #define _H_factfun
00027
00028 #ifndef _H_factmngr
00029 #include "factmngr.h"
00030 #endif
00031
00032 #ifdef LOCALE
00033 #undef LOCALE
00034 #endif
00035
00036 #ifdef _FACTFUN_SOURCE_
00037 #define LOCALE
00038 #else
00039 #define LOCALE extern
00040 #endif
00041
00042 #define FactDeftemplate(a) EnvFactDeftemplate(GetCurrentEnvironment(),a)
00043 #define FactExistp(a) EnvFactExistp(GetCurrentEnvironment(),a)
00044 #define FactSlotNames(a,b) EnvFactSlotNames(GetCurrentEnvironment(),a,b)
00045 #define GetFactList(a,b) EnvGetFactList(GetCurrentEnvironment(),a,b)
00046 #define PPFact(a,b,c) EnvPPFact(GetCurrentEnvironment(),a,b,c)
00047
00048 LOCALE void FactFunctionDefinitions(void *);
00049 LOCALE void *FactRelationFunction(void *);
00050 LOCALE void *FactRelation(void *);
00051 LOCALE void *EnvFactDeftemplate(void *,void *);
00052 LOCALE int FactExistpFunction(void *);
00053 LOCALE int EnvFactExistp(void *,void *);
00054 LOCALE void FactSlotValueFunction(void *,DATA_OBJECT *);
00055 LOCALE void FactSlotValue(void *,void *,char *,DATA_OBJECT *);
00056 LOCALE void FactSlotNamesFunction(void *,DATA_OBJECT *);
00057 LOCALE void EnvFactSlotNames(void *,void *,DATA_OBJECT *);
00058 LOCALE void GetFactListFunction(void *,DATA_OBJECT *);
00059 LOCALE void EnvGetFactList(void *,DATA_OBJECT *,void *);
00060 LOCALE void PPFactFunction(void *);
00061 LOCALE void EnvPPFact(void *,void *,char *,int);
00062 LOCALE struct fact *GetFactAddressOrIndexArgument(void *,char *,int,int);
00063
00064 #endif
00065