/usr/include/clips/constant.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 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 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 | /*******************************************************/
/* "C" Language Integrated Production System */
/* */
/* CLIPS Version 6.24 06/12/06 */
/* */
/* CONSTANTS HEADER FILE */
/*******************************************************/
/*************************************************************/
/* Purpose: */
/* */
/* Principal Programmer(s): */
/* Gary D. Riley */
/* */
/* Contributing Programmer(s): */
/* */
/* Revision History: */
/* */
/*************************************************************/
#ifndef _H_constant
#define _H_constant
#ifndef FALSE
#define FALSE 0
#endif
#ifndef TRUE
#define TRUE 1
#endif
#define EXACTLY 0
#define AT_LEAST 1
#define NO_MORE_THAN 2
#define RANGE 3
#define OFF 0
#define ON 1
#define LHS 0
#define RHS 1
#define NEGATIVE 0
#define POSITIVE 1
#define EOS '\0'
#define INSIDE 0
#define OUTSIDE 1
#define LESS_THAN 0
#define GREATER_THAN 1
#define EQUAL 2
#define GLOBAL_SAVE 0
#define LOCAL_SAVE 1
#define VISIBLE_SAVE 2
#ifndef WPROMPT_STRING
#define WPROMPT_STRING "wclips"
#endif
#ifndef APPLICATION_NAME
#define APPLICATION_NAME "CLIPS"
#endif
#ifndef COMMAND_PROMPT
#define COMMAND_PROMPT "CLIPS> "
#endif
#ifndef VERSION_STRING
#define VERSION_STRING "6.24"
#endif
#ifndef CREATION_DATE_STRING
#define CREATION_DATE_STRING "06/15/06"
#endif
#ifndef BANNER_STRING
#define BANNER_STRING " CLIPS (V6.24 06/15/06)\n"
#endif
/*************************/
/* TOKEN AND TYPE VALUES */
/*************************/
#define OBJECT_TYPE_NAME "OBJECT"
#define USER_TYPE_NAME "USER"
#define PRIMITIVE_TYPE_NAME "PRIMITIVE"
#define NUMBER_TYPE_NAME "NUMBER"
#define INTEGER_TYPE_NAME "INTEGER"
#define FLOAT_TYPE_NAME "FLOAT"
#define SYMBOL_TYPE_NAME "SYMBOL"
#define STRING_TYPE_NAME "STRING"
#define MULTIFIELD_TYPE_NAME "MULTIFIELD"
#define LEXEME_TYPE_NAME "LEXEME"
#define ADDRESS_TYPE_NAME "ADDRESS"
#define EXTERNAL_ADDRESS_TYPE_NAME "EXTERNAL-ADDRESS"
#define FACT_ADDRESS_TYPE_NAME "FACT-ADDRESS"
#define INSTANCE_TYPE_NAME "INSTANCE"
#define INSTANCE_NAME_TYPE_NAME "INSTANCE-NAME"
#define INSTANCE_ADDRESS_TYPE_NAME "INSTANCE-ADDRESS"
/*************************************************************************/
/* The values of these constants should not be changed. They are set to */
/* start after the primitive type codes in CONSTANT.H. These codes are */
/* used to let the generic function bsave image be used whether COOL is */
/* present or not. */
/*************************************************************************/
#define OBJECT_TYPE_CODE 9
#define PRIMITIVE_TYPE_CODE 10
#define NUMBER_TYPE_CODE 11
#define LEXEME_TYPE_CODE 12
#define ADDRESS_TYPE_CODE 13
#define INSTANCE_TYPE_CODE 14
/****************************************************/
/* The first 9 primitive types need to retain their */
/* values!! Sorted arrays depend on their values!! */
/****************************************************/
#define FLOAT 0
#define INTEGER 1
#define SYMBOL 2
#define STRING 3
#define MULTIFIELD 4
#define EXTERNAL_ADDRESS 5
#define FACT_ADDRESS 6
#define INSTANCE_ADDRESS 7
#define INSTANCE_NAME 8
#define FCALL 30
#define GCALL 31
#define PCALL 32
#define GBL_VARIABLE 33
#define MF_GBL_VARIABLE 34
#define SF_VARIABLE 35
#define MF_VARIABLE 36
#define SF_WILDCARD 37
#define MF_WILDCARD 38
#define BITMAPARRAY 39
#define FACT_PN_CMP1 50
#define FACT_JN_CMP1 51
#define FACT_JN_CMP2 52
#define FACT_SLOT_LENGTH 53
#define FACT_PN_VAR1 54
#define FACT_PN_VAR2 55
#define FACT_PN_VAR3 56
#define FACT_JN_VAR1 57
#define FACT_JN_VAR2 58
#define FACT_JN_VAR3 59
#define FACT_PN_CONSTANT1 60
#define FACT_PN_CONSTANT2 61
#define FACT_STORE_MULTIFIELD 62
#define DEFTEMPLATE_PTR 63
#define OBJ_GET_SLOT_PNVAR1 70
#define OBJ_GET_SLOT_PNVAR2 71
#define OBJ_GET_SLOT_JNVAR1 72
#define OBJ_GET_SLOT_JNVAR2 73
#define OBJ_SLOT_LENGTH 74
#define OBJ_PN_CONSTANT 75
#define OBJ_PN_CMP1 76
#define OBJ_JN_CMP1 77
#define OBJ_PN_CMP2 78
#define OBJ_JN_CMP2 79
#define OBJ_PN_CMP3 80
#define OBJ_JN_CMP3 81
#define DEFCLASS_PTR 82
#define HANDLER_GET 83
#define HANDLER_PUT 84
#define DEFGLOBAL_PTR 90
#define PROC_PARAM 95
#define PROC_WILD_PARAM 96
#define PROC_GET_BIND 97
#define PROC_BIND 98
#define PATTERN_CE 150
#define AND_CE 151
#define OR_CE 152
#define NOT_CE 153
#define TEST_CE 154
#define NAND_CE 155
#define EXISTS_CE 156
#define FORALL_CE 157
#define NOT_CONSTRAINT 160
#define AND_CONSTRAINT 161
#define OR_CONSTRAINT 162
#define PREDICATE_CONSTRAINT 163
#define RETURN_VALUE_CONSTRAINT 164
#define LPAREN 170
#define RPAREN 171
#define STOP 172
#define UNKNOWN_VALUE 173
#define RVOID 175
#define INTEGER_OR_FLOAT 180
#define SYMBOL_OR_STRING 181
#define INSTANCE_OR_INSTANCE_NAME 182
typedef long int FACT_ID;
/*************************/
/* Macintosh Definitions */
/*************************/
#define CREATOR_STRING "CLIS"
#define CREATOR_CODE 'CLIS'
#endif
|