1    /*******************************************************/
2    /*      "C" Language Integrated Production System      */
3    /*                                                     */
4    /*             CLIPS Version 6.30  08/16/14            */
5    /*                                                     */
6    /*        FACT RETE ACCESS FUNCTIONS HEADER FILE       */
7    /*******************************************************/
8 
9 /*************************************************************/
10 /* Purpose:                                                  */
11 /*                                                           */
12 /* Principal Programmer(s):                                  */
13 /*      Gary D. Riley                                        */
14 /*                                                           */
15 /* Contributing Programmer(s):                               */
16 /*                                                           */
17 /* Revision History:                                         */
18 /*                                                           */
19 /*      6.23: Correction for FalseSymbol/TrueSymbol. DR0859  */
20 /*                                                           */
21 /*      6.24: Removed INCREMENTAL_RESET compilation flag.    */
22 /*                                                           */
23 /*            Renamed BOOLEAN macro type to intBool.         */
24 /*                                                           */
25 /*      6.30: Removed conditional code for unsupported       */
26 /*            compilers/operating systems (IBM_MCW,          */
27 /*            MAC_MCW, and IBM_TBC).                         */
28 /*                                                           */
29 /*            Support for hashing optimizations.             */
30 /*                                                           */
31 /*************************************************************/
32 
33 #ifndef _H_factrete
34 
35 #define _H_factrete
36 
37 #ifndef _H_evaluatn
38 #include "evaluatn.h"
39 #endif
40 
41 #ifdef LOCALE
42 #undef LOCALE
43 #endif
44 
45 #ifdef _FACTRETE_SOURCE_
46 #define LOCALE
47 #else
48 #define LOCALE extern
49 #endif
50 
51    LOCALE intBool                        FactPNGetVar1(void *,void *,DATA_OBJECT_PTR);
52    LOCALE intBool                        FactPNGetVar2(void *,void *,DATA_OBJECT_PTR);
53    LOCALE intBool                        FactPNGetVar3(void *,void *,DATA_OBJECT_PTR);
54    LOCALE intBool                        FactJNGetVar1(void *,void *,DATA_OBJECT_PTR);
55    LOCALE intBool                        FactJNGetVar2(void *,void *,DATA_OBJECT_PTR);
56    LOCALE intBool                        FactJNGetVar3(void *,void *,DATA_OBJECT_PTR);
57    LOCALE intBool                        FactSlotLength(void *,void *,DATA_OBJECT_PTR);
58    LOCALE int                            FactJNCompVars1(void *,void *,DATA_OBJECT_PTR);
59    LOCALE int                            FactJNCompVars2(void *,void *,DATA_OBJECT_PTR);
60    LOCALE int                            FactPNCompVars1(void *,void *,DATA_OBJECT_PTR);
61    LOCALE intBool                        FactPNConstant1(void *,void *,DATA_OBJECT_PTR);
62    LOCALE intBool                        FactPNConstant2(void *,void *,DATA_OBJECT_PTR);
63    LOCALE int                            FactStoreMultifield(void *,void *,DATA_OBJECT_PTR);
64    LOCALE unsigned short                 AdjustFieldPosition(void *,struct multifieldMarker *,
65                                                              unsigned short,unsigned short,int *);
66 
67 #endif
68 
69 
70