00001 /*******************************************************/ 00002 /* "C" Language Integrated Production System */ 00003 /* */ 00004 /* CLIPS Version 6.20 01/31/02 */ 00005 /* */ 00006 /* DEFFACTS BSAVE/BLOAD HEADER FILE */ 00007 /*******************************************************/ 00008 00009 /*************************************************************/ 00010 /* Purpose: */ 00011 /* */ 00012 /* Principal Programmer(s): */ 00013 /* Gary D. Riley */ 00014 /* */ 00015 /* Contributing Programmer(s): */ 00016 /* Brian L. Dantes */ 00017 /* */ 00018 /* Revision History: */ 00019 /* */ 00020 /*************************************************************/ 00021 00022 #if (! RUN_TIME) 00023 #ifndef _H_dffctbin 00024 00025 #define _H_dffctbin 00026 00027 #include "modulbin.h" 00028 #include "cstrcbin.h" 00029 #ifndef _H_constrct 00030 #include "constrct.h" 00031 #endif 00032 00033 struct bsaveDeffacts 00034 { 00035 struct bsaveConstructHeader header; 00036 long assertList; 00037 }; 00038 00039 struct bsaveDeffactsModule 00040 { 00041 struct bsaveDefmoduleItemHeader header; 00042 }; 00043 00044 #define DFFCTBIN_DATA 26 00045 00046 struct deffactsBinaryData 00047 { 00048 struct deffacts *DeffactsArray; 00049 long NumberOfDeffacts; 00050 struct deffactsModule *ModuleArray; 00051 long NumberOfDeffactsModules; 00052 }; 00053 00054 #define DeffactsBinaryData(theEnv) ((struct deffactsBinaryData *) GetEnvironmentData(theEnv,DFFCTBIN_DATA)) 00055 00056 #ifdef LOCALE 00057 #undef LOCALE 00058 #endif 00059 00060 #ifdef _DFFCTBIN_SOURCE_ 00061 #define LOCALE 00062 #else 00063 #define LOCALE extern 00064 #endif 00065 00066 LOCALE void DeffactsBinarySetup(void *); 00067 LOCALE void *BloadDeffactsModuleReference(void *,int); 00068 00069 #endif 00070 #endif 00071 00072 00073
1.5.6