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
00026
00027
00028
00029 #ifndef _H_tmpltutl
00030
00031 #define _H_tmpltutl
00032
00033 #ifndef _H_expressn
00034 #include "expressn.h"
00035 #endif
00036 #ifndef _H_evaluatn
00037 #include "evaluatn.h"
00038 #endif
00039 #ifndef _H_factmngr
00040 #include "factmngr.h"
00041 #endif
00042 #ifndef _H_constrnt
00043 #include "constrnt.h"
00044 #endif
00045 #ifndef _H_symbol
00046 #include "symbol.h"
00047 #endif
00048
00049 #ifdef LOCALE
00050 #undef LOCALE
00051 #endif
00052
00053 #ifdef _TMPLTUTL_SOURCE_
00054 #define LOCALE
00055 #else
00056 #define LOCALE extern
00057 #endif
00058
00059 LOCALE void InvalidDeftemplateSlotMessage(void *,char *,char *,int);
00060 LOCALE void SingleFieldSlotCardinalityError(void *,char *);
00061 LOCALE void MultiIntoSingleFieldSlotError(void *,struct templateSlot *,struct deftemplate *);
00062 LOCALE void CheckTemplateFact(void *,struct fact *);
00063 LOCALE intBool CheckRHSSlotTypes(void *,struct expr *,struct templateSlot *,char *);
00064 LOCALE struct templateSlot *GetNthSlot(struct deftemplate *,int);
00065 LOCALE int FindSlotPosition(struct deftemplate *,struct symbolHashNode *);
00066 LOCALE void PrintTemplateFact(void *,char *,struct fact *,int,int);
00067 LOCALE void UpdateDeftemplateScope(void *);
00068 LOCALE struct templateSlot *FindSlot(struct deftemplate *,struct symbolHashNode *,short *);
00069 LOCALE struct deftemplate *CreateImpliedDeftemplate(void *,SYMBOL_HN *,int);
00070
00071 #endif
00072
00073
00074