/usr/include/clips/factcom.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 | /*******************************************************/
/* "C" Language Integrated Production System */
/* */
/* CLIPS Version 6.21 06/15/03 */
/* */
/* FACT COMMANDS HEADER FILE */
/*******************************************************/
/*************************************************************/
/* Purpose: */
/* */
/* Principal Programmer(s): */
/* Gary D. Riley */
/* */
/* Contributing Programmer(s): */
/* */
/* Revision History: */
/* */
/*************************************************************/
#ifndef _H_factcom
#define _H_factcom
#ifndef _H_evaluatn
#include "evaluatn.h"
#endif
#ifdef LOCALE
#undef LOCALE
#endif
#ifdef _FACTCOM_SOURCE_
#define LOCALE
#else
#define LOCALE extern
#endif
#if ENVIRONMENT_API_ONLY
#define Facts(theEnv,a,b,c,d,e) EnvFacts(theEnv,a,b,c,d,e)
#define LoadFacts(theEnv,a) EnvLoadFacts(theEnv,a)
#define SaveFacts(theEnv,a,b,c) EnvSaveFacts(theEnv,a,b,c)
#define LoadFactsFromString(theEnv,a,b) EnvLoadFactsFromString(theEnv,a,b)
#else
#define Facts(a,b,c,d,e) EnvFacts(GetCurrentEnvironment(),a,b,c,d,e)
#define LoadFacts(a) EnvLoadFacts(GetCurrentEnvironment(),a)
#define SaveFacts(a,b,c) EnvSaveFacts(GetCurrentEnvironment(),a,b,c)
#define LoadFactsFromString(a,b) EnvLoadFactsFromString(GetCurrentEnvironment(),a,b)
#endif
LOCALE void FactCommandDefinitions(void *);
LOCALE void AssertCommand(void *,DATA_OBJECT_PTR);
LOCALE void RetractCommand(void *);
LOCALE void AssertStringFunction(void *,DATA_OBJECT_PTR);
LOCALE void FactsCommand(void *);
LOCALE void EnvFacts(void *,char *,void *,long,long,long);
LOCALE int SetFactDuplicationCommand(void *);
LOCALE int GetFactDuplicationCommand(void *);
LOCALE int SaveFactsCommand(void *);
LOCALE int LoadFactsCommand(void *);
LOCALE int EnvSaveFacts(void *,char *,int,struct expr *);
LOCALE int EnvLoadFacts(void *,char *);
LOCALE int EnvLoadFactsFromString(void *,char *,int);
LOCALE long int FactIndexFunction(void *);
#endif
|