00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef _H_factcom
00022 #define _H_factcom
00023
00024 #ifndef _H_evaluatn
00025 #include "evaluatn.h"
00026 #endif
00027
00028 #ifdef LOCALE
00029 #undef LOCALE
00030 #endif
00031
00032 #ifdef _FACTCOM_SOURCE_
00033 #define LOCALE
00034 #else
00035 #define LOCALE extern
00036 #endif
00037
00038 #define Facts(a,b,c,d,e) EnvFacts(GetCurrentEnvironment(),a,b,c,d,e)
00039 #define LoadFacts(a) EnvLoadFacts(GetCurrentEnvironment(),a)
00040 #define SaveFacts(a,b,c) EnvSaveFacts(GetCurrentEnvironment(),a,b,c)
00041 #define LoadFactsFromString(a,b) EnvLoadFactsFromString(GetCurrentEnvironment(),a,b)
00042
00043 LOCALE void FactCommandDefinitions(void *);
00044 LOCALE void AssertCommand(void *,DATA_OBJECT_PTR);
00045 LOCALE void RetractCommand(void *);
00046 LOCALE void AssertStringFunction(void *,DATA_OBJECT_PTR);
00047 LOCALE void FactsCommand(void *);
00048 LOCALE void EnvFacts(void *,char *,void *,long long,long long,long long);
00049 LOCALE int SetFactDuplicationCommand(void *);
00050 LOCALE int GetFactDuplicationCommand(void *);
00051 LOCALE int SaveFactsCommand(void *);
00052 LOCALE int LoadFactsCommand(void *);
00053 LOCALE int EnvSaveFacts(void *,char *,int,struct expr *);
00054 LOCALE int EnvLoadFacts(void *,char *);
00055 LOCALE int EnvLoadFactsFromString(void *,char *,int);
00056 LOCALE long long FactIndexFunction(void *);
00057
00058 #endif
00059
00060