/usr/include/clips/cstrnpsr.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 73 74 75 | /*******************************************************/
/* "C" Language Integrated Production System */
/* */
/* CLIPS Version 6.24 07/01/05 */
/* */
/* CONSTRAINT PARSER HEADER FILE */
/*******************************************************/
/*************************************************************/
/* Purpose: Provides functions for parsing constraint */
/* declarations. */
/* */
/* Principal Programmer(s): */
/* Gary D. Riley */
/* */
/* Contributing Programmer(s): */
/* */
/* Revision History: */
/* 6.24: Added allowed-classes slot facet. */
/* */
/* Renamed BOOLEAN macro type to intBool. */
/* */
/*************************************************************/
#ifndef _H_cstrnpsr
#define _H_cstrnpsr
#ifndef _H_constrnt
#include "constrnt.h"
#endif
#ifdef LOCALE
#undef LOCALE
#endif
#ifdef _CSTRNPSR_SOURCE_
#define LOCALE
#else
#define LOCALE extern
#endif
struct constraintParseRecord
{
unsigned int type : 1;
unsigned int range : 1;
unsigned int allowedSymbols : 1;
unsigned int allowedStrings : 1;
unsigned int allowedLexemes : 1;
unsigned int allowedFloats : 1;
unsigned int allowedIntegers : 1;
unsigned int allowedNumbers : 1;
unsigned int allowedValues : 1;
unsigned int allowedClasses : 1;
unsigned int allowedInstanceNames : 1;
unsigned int cardinality : 1;
};
typedef struct constraintParseRecord CONSTRAINT_PARSE_RECORD;
LOCALE intBool CheckConstraintParseConflicts(void *,CONSTRAINT_RECORD *);
LOCALE void AttributeConflictErrorMessage(void *,char *,char *);
#if (! RUN_TIME) && (! BLOAD_ONLY)
LOCALE void InitializeConstraintParseRecord(CONSTRAINT_PARSE_RECORD *);
LOCALE intBool StandardConstraint(char *);
LOCALE intBool ParseStandardConstraint(void *,char *,char *,
CONSTRAINT_RECORD *,
CONSTRAINT_PARSE_RECORD *,
int);
LOCALE void OverlayConstraint(void *,CONSTRAINT_PARSE_RECORD *,
CONSTRAINT_RECORD *,CONSTRAINT_RECORD *);
LOCALE void OverlayConstraintParseRecord(CONSTRAINT_PARSE_RECORD *,
CONSTRAINT_PARSE_RECORD *);
#endif
#endif
|