/usr/include/clips/dffctdef.h is in libclips-dev 6.24-3.2.
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 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | /*******************************************************/
/* "C" Language Integrated Production System */
/* */
/* CLIPS Version 6.24 06/05/06 */
/* */
/* DEFFACTS HEADER FILE */
/*******************************************************/
/*************************************************************/
/* Purpose: */
/* */
/* Principal Programmer(s): */
/* Gary D. Riley */
/* */
/* Contributing Programmer(s): */
/* Brian L. Donnell */
/* */
/* Revision History: */
/* */
/* 6.24: Renamed BOOLEAN macro type to intBool. */
/* */
/*************************************************************/
#ifndef _H_dffctdef
#define _H_dffctdef
#ifndef _H_conscomp
#include "conscomp.h"
#endif
#ifndef _H_symbol
#include "symbol.h"
#endif
#ifndef _H_expressn
#include "expressn.h"
#endif
#ifndef _H_evaluatn
#include "evaluatn.h"
#endif
#ifndef _H_constrct
#include "constrct.h"
#endif
#ifndef _H_moduldef
#include "moduldef.h"
#endif
#ifndef _H_cstrccom
#include "cstrccom.h"
#endif
#define DEFFACTS_DATA 0
struct deffactsData
{
struct construct *DeffactsConstruct;
int DeffactsModuleIndex;
#if CONSTRUCT_COMPILER && (! RUN_TIME)
struct CodeGeneratorItem *DeffactsCodeItem;
#endif
};
struct deffacts
{
struct constructHeader header;
struct expr *assertList;
};
struct deffactsModule
{
struct defmoduleItemHeader header;
};
#define EnvGetDeffactsName(theEnv,x) GetConstructNameString((struct constructHeader *) x)
#define EnvGetDeffactsPPForm(theEnv,x) GetConstructPPForm(theEnv,(struct constructHeader *) x)
#define EnvDeffactsModule(theEnv,x) GetConstructModuleName((struct constructHeader *) x)
#define DeffactsData(theEnv) ((struct deffactsData *) GetEnvironmentData(theEnv,DEFFACTS_DATA))
#ifdef LOCALE
#undef LOCALE
#endif
#ifdef _DFFCTDEF_SOURCE_
#define LOCALE
#else
#define LOCALE extern
#endif
#if ENVIRONMENT_API_ONLY
#define DeffactsModule(theEnv,x) GetConstructModuleName((struct constructHeader *) x)
#define FindDeffacts(theEnv,a) EnvFindDeffacts(theEnv,a)
#define GetDeffactsName(theEnv,x) GetConstructNameString((struct constructHeader *) x)
#define GetDeffactsPPForm(theEnv,x) GetConstructPPForm(theEnv,(struct constructHeader *) x)
#define GetNextDeffacts(theEnv,a) EnvGetNextDeffacts(theEnv,a)
#define IsDeffactsDeletable(theEnv,a) EnvIsDeffactsDeletable(theEnv,a)
#else
#define DeffactsModule(x) GetConstructModuleName((struct constructHeader *) x)
#define FindDeffacts(a) EnvFindDeffacts(GetCurrentEnvironment(),a)
#define GetDeffactsName(x) GetConstructNameString((struct constructHeader *) x)
#define GetDeffactsPPForm(x) GetConstructPPForm(GetCurrentEnvironment(),(struct constructHeader *) x)
#define GetNextDeffacts(a) EnvGetNextDeffacts(GetCurrentEnvironment(),a)
#define IsDeffactsDeletable(a) EnvIsDeffactsDeletable(GetCurrentEnvironment(),a)
#endif
LOCALE void InitializeDeffacts(void *);
LOCALE void *EnvFindDeffacts(void *,char *);
LOCALE void *EnvGetNextDeffacts(void *,void *);
LOCALE void CreateInitialFactDeffacts(void);
LOCALE intBool EnvIsDeffactsDeletable(void *,void *);
LOCALE struct deffactsModule *GetDeffactsModuleItem(void *,struct defmodule *);
#endif
|