-
Notifications
You must be signed in to change notification settings - Fork 1
/
dffctbsc.h
61 lines (52 loc) · 2.7 KB
/
dffctbsc.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*******************************************************/
/* "C" Language Integrated Production System */
/* */
/* CLIPS Version 6.24 06/05/06 */
/* */
/* DEFFACTS BASIC COMMANDS HEADER FILE */
/*******************************************************/
/*************************************************************/
/* Purpose: Implements core commands for the deffacts */
/* construct such as clear, reset, save, undeffacts, */
/* ppdeffacts, list-deffacts, and get-deffacts-list. */
/* */
/* Principal Programmer(s): */
/* Gary D. Riley */
/* */
/* Contributing Programmer(s): */
/* Brian L. Dantes */
/* */
/* Revision History: */
/* 6.23: Corrected compilation errors for files */
/* generated by constructs-to-c. DR0861 */
/* */
/* 6.24: Renamed BOOLEAN macro type to intBool. */
/* */
/*************************************************************/
#ifndef _H_dffctbsc
#define _H_dffctbsc
#ifndef _H_evaluatn
#include "evaluatn.h"
#endif
#ifdef LOCALE
#undef LOCALE
#endif
#ifdef _DFFCTBSC_SOURCE_
#define LOCALE
#else
#define LOCALE extern
#endif
#define GetDeffactsList(a,b) EnvGetDeffactsList(GetCurrentEnvironment(),a,b)
#define ListDeffacts(a,b) EnvListDeffacts(GetCurrentEnvironment(),a,b)
#define Undeffacts(a) EnvUndeffacts(GetCurrentEnvironment(),a)
LOCALE void DeffactsBasicCommands(void *);
LOCALE void UndeffactsCommand(void *);
LOCALE intBool EnvUndeffacts(void *,void *);
LOCALE void GetDeffactsListFunction(void *,DATA_OBJECT_PTR);
LOCALE void EnvGetDeffactsList(void *,DATA_OBJECT_PTR,void *);
LOCALE void *DeffactsModuleFunction(void *);
LOCALE void PPDeffactsCommand(void *);
LOCALE int PPDeffacts(void *,char *,char *);
LOCALE void ListDeffactsCommand(void *);
LOCALE void EnvListDeffacts(void *,char *,void *);
#endif