/usr/include/clips/factfun.h is in libclips-dev 6.24-3.
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 | /*******************************************************/
/* "C" Language Integrated Production System */
/* */
/* CLIPS Version 6.24 06/05/06 */
/* */
/* FACT FUNCTIONS HEADER FILE */
/*******************************************************/
/*************************************************************/
/* Purpose: */
/* */
/* Principal Programmer(s): */
/* Gary D. Riley */
/* */
/* Contributing Programmer(s): */
/* */
/* Revision History: */
/* 6.23: Corrected compilation errors for files */
/* generated by constructs-to-c. DR0861 */
/* */
/* 6.24: Added ppfact command. */
/* */
/*************************************************************/
#ifndef _H_factfun
#define _H_factfun
#ifndef _H_factmngr
#include "factmngr.h"
#endif
#ifdef LOCALE
#undef LOCALE
#endif
#ifdef _FACTFUN_SOURCE_
#define LOCALE
#else
#define LOCALE extern
#endif
#if ENVIRONMENT_API_ONLY
#define FactDeftemplate(theEnv,a) EnvFactDeftemplate(theEnv,a)
#define FactExistp(theEnv,a) EnvFactExistp(theEnv,a)
#define FactSlotNames(theEnv,a,b) EnvFactSlotNames(theEnv,a,b)
#define GetFactList(theEnv,a,b) EnvGetFactList(theEnv,a,b)
#define PPFact(theEnv,a,b,c) EnvPPFact(theEnv,a,b,c)
#else
#define FactDeftemplate(a) EnvFactDeftemplate(GetCurrentEnvironment(),a)
#define FactExistp(a) EnvFactExistp(GetCurrentEnvironment(),a)
#define FactSlotNames(a,b) EnvFactSlotNames(GetCurrentEnvironment(),a,b)
#define GetFactList(a,b) EnvGetFactList(GetCurrentEnvironment(),a,b)
#define PPFact(a,b,c) EnvPPFact(GetCurrentEnvironment(),a,b,c)
#endif
LOCALE void FactFunctionDefinitions(void *);
LOCALE void *FactRelationFunction(void *);
LOCALE void *FactRelation(void *);
LOCALE void *EnvFactDeftemplate(void *,void *);
LOCALE int FactExistpFunction(void *);
LOCALE int EnvFactExistp(void *,void *);
LOCALE void FactSlotValueFunction(void *,DATA_OBJECT *);
LOCALE void FactSlotValue(void *,void *,char *,DATA_OBJECT *);
LOCALE void FactSlotNamesFunction(void *,DATA_OBJECT *);
LOCALE void EnvFactSlotNames(void *,void *,DATA_OBJECT *);
LOCALE void GetFactListFunction(void *,DATA_OBJECT *);
LOCALE void EnvGetFactList(void *,DATA_OBJECT *,void *);
LOCALE void PPFactFunction(void *);
LOCALE void EnvPPFact(void *,void *,char *,int);
LOCALE struct fact *GetFactAddressOrIndexArgument(void *,char *,int,int);
#endif
|