/usr/include/clips/rulebsc.h is in libclips-dev 6.24-3ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | /*******************************************************/
/* "C" Language Integrated Production System */
/* */
/* CLIPS Version 6.24 06/05/06 */
/* */
/* DEFRULE BASIC COMMANDS HEADER FILE */
/*******************************************************/
/*************************************************************/
/* Purpose: Implements core commands for the defrule */
/* construct such as clear, reset, save, undefrule, */
/* ppdefrule, list-defrules, and */
/* get-defrule-list. */
/* */
/* Principal Programmer(s): */
/* Gary D. Riley */
/* */
/* Contributing Programmer(s): */
/* Brian L. Donnell */
/* */
/* 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_rulebsc
#define _H_rulebsc
#ifndef _H_evaluatn
#include "evaluatn.h"
#endif
#ifdef LOCALE
#undef LOCALE
#endif
#ifdef _RULEBSC_SOURCE_
#define LOCALE
#else
#define LOCALE extern
#endif
#if ENVIRONMENT_API_ONLY
#define GetDefruleList(theEnv,a,b) EnvGetDefruleList(theEnv,a,b)
#define GetDefruleWatchActivations(theEnv,a) EnvGetDefruleWatchActivations(theEnv,a)
#define GetDefruleWatchFirings(theEnv,a) EnvGetDefruleWatchFirings(theEnv,a)
#define ListDefrules(theEnv,a,b) EnvListDefrules(theEnv,a,b)
#define SetDefruleWatchActivations(theEnv,a,b) EnvSetDefruleWatchActivations(theEnv,a,b)
#define SetDefruleWatchFirings(theEnv,a,b) EnvSetDefruleWatchFirings(theEnv,a,b)
#define Undefrule(theEnv,a) EnvUndefrule(theEnv,a)
#else
#define GetDefruleList(a,b) EnvGetDefruleList(GetCurrentEnvironment(),a,b)
#define GetDefruleWatchActivations(a) EnvGetDefruleWatchActivations(GetCurrentEnvironment(),a)
#define GetDefruleWatchFirings(a) EnvGetDefruleWatchFirings(GetCurrentEnvironment(),a)
#define ListDefrules(a,b) EnvListDefrules(GetCurrentEnvironment(),a,b)
#define SetDefruleWatchActivations(a,b) EnvSetDefruleWatchActivations(GetCurrentEnvironment(),a,b)
#define SetDefruleWatchFirings(a,b) EnvSetDefruleWatchFirings(GetCurrentEnvironment(),a,b)
#define Undefrule(a) EnvUndefrule(GetCurrentEnvironment(),a)
#endif
LOCALE void DefruleBasicCommands(void *);
LOCALE void UndefruleCommand(void *);
LOCALE intBool EnvUndefrule(void *,void *);
LOCALE void GetDefruleListFunction(void *,DATA_OBJECT_PTR);
LOCALE void EnvGetDefruleList(void *,DATA_OBJECT_PTR,void *);
LOCALE void *DefruleModuleFunction(void *);
#if DEBUGGING_FUNCTIONS
LOCALE void PPDefruleCommand(void *);
LOCALE int PPDefrule(void *,char *,char *);
LOCALE void ListDefrulesCommand(void *);
LOCALE void EnvListDefrules(void *,char *,void *);
LOCALE unsigned EnvGetDefruleWatchFirings(void *,void *);
LOCALE unsigned EnvGetDefruleWatchActivations(void *,void *);
LOCALE void EnvSetDefruleWatchFirings(void *,unsigned,void *);
LOCALE void EnvSetDefruleWatchActivations(void *,unsigned,void *);
LOCALE unsigned DefruleWatchAccess(void *,int,unsigned,struct expr *);
LOCALE unsigned DefruleWatchPrint(void *,char *,int,struct expr *);
#endif
#endif
|