1    /*******************************************************/
2    /*      "C" Language Integrated Production System      */
3    /*                                                     */
4    /*             CLIPS Version 6.30  08/16/14            */
5    /*                                                     */
6    /*         DEFGLOBAL BASIC COMMANDS HEADER FILE        */
7    /*******************************************************/
8 
9 /*************************************************************/
10 /* Purpose:                                                  */
11 /* Principal Programmer(s):                                  */
12 /*      Gary D. Riley                                        */
13 /*                                                           */
14 /* Contributing Programmer(s):                               */
15 /*      Brian L. Dantes                                      */
16 /*                                                           */
17 /* Revision History:                                         */
18 /*                                                           */
19 /*      6.23: Correction for FalseSymbol/TrueSymbol. DR0859  */
20 /*                                                           */
21 /*            Corrected compilation errors for files         */
22 /*            generated by constructs-to-c. DR0861           */
23 /*                                                           */
24 /*            Changed name of variable log to logName        */
25 /*            because of Unix compiler warnings of shadowed  */
26 /*            definitions.                                   */
27 /*                                                           */
28 /*      6.24: Renamed BOOLEAN macro type to intBool.         */
29 /*                                                           */
30 /*      6.30: Removed conditional code for unsupported       */
31 /*            compilers/operating systems (IBM_MCW,          */
32 /*            MAC_MCW, and IBM_TBC).                         */
33 /*                                                           */
34 /*            Added const qualifiers to remove C++           */
35 /*            deprecation warnings.                          */
36 /*                                                           */
37 /*            Moved WatchGlobals global to defglobalData.    */
38 /*                                                           */
39 /*            Converted API macros to function calls.        */
40 /*                                                           */
41 /*************************************************************/
42 
43 #ifndef _H_globlbsc
44 #define _H_globlbsc
45 
46 #ifndef _H_evaluatn
47 #include "evaluatn.h"
48 #endif
49 
50 #ifdef LOCALE
51 #undef LOCALE
52 #endif
53 
54 #ifdef _GLOBLBSC_SOURCE_
55 #define LOCALE
56 #else
57 #define LOCALE extern
58 #endif
59 
60    LOCALE void                           DefglobalBasicCommands(void *);
61    LOCALE void                           UndefglobalCommand(void *);
62    LOCALE intBool                        EnvUndefglobal(void *,void *);
63    LOCALE void                           GetDefglobalListFunction(void *,DATA_OBJECT_PTR);
64    LOCALE void                           EnvGetDefglobalList(void *,DATA_OBJECT_PTR,void *);
65    LOCALE void                          *DefglobalModuleFunction(void *);
66    LOCALE void                           PPDefglobalCommand(void *);
67    LOCALE int                            PPDefglobal(void *,const char *,const char *);
68    LOCALE void                           ListDefglobalsCommand(void *);
69 #if DEBUGGING_FUNCTIONS
70    LOCALE unsigned                       EnvGetDefglobalWatch(void *,void *);
71    LOCALE void                           EnvListDefglobals(void *,const char *,void *);
72    LOCALE void                           EnvSetDefglobalWatch(void *,unsigned,void *);
73 #endif
74    LOCALE void                           ResetDefglobals(void *);
75 
76 #if ALLOW_ENVIRONMENT_GLOBALS
77 
78    LOCALE void                           GetDefglobalList(DATA_OBJECT_PTR,void *);
79 #if DEBUGGING_FUNCTIONS
80    LOCALE unsigned                       GetDefglobalWatch(void *);
81    LOCALE void                           ListDefglobals(const char *,void *);
82    LOCALE void                           SetDefglobalWatch(unsigned,void *);
83 #endif
84    LOCALE intBool                        Undefglobal(void *);
85 
86 #endif /* ALLOW_ENVIRONMENT_GLOBALS */
87 
88 #endif /* _H_globlbsc */
89 
90 
91