TinyMUSH 3.3
TinyMUSH Server
Loading...
Searching...
No Matches
constants.h
Go to the documentation of this file.
1
14#ifndef __CONSTANTS_H
15#define __CONSTANTS_H
16
17#include <float.h>
18
19#define HBUF_SIZE 32768
20#define LBUF_SIZE 8192
21#define GBUF_SIZE 1024
22#define MBUF_SIZE 512
23#define SBUF_SIZE 64
25#define XMAGIC 0x00deadbeefbaad00
35#define STRINGBLOCK 1000
36
41#define AF_ODARK 0x00000001
42#define AF_DARK 0x00000002
43#define AF_WIZARD 0x00000004
44#define AF_MDARK 0x00000008
45#define AF_INTERNAL 0x00000010
46#define AF_NOCMD 0x00000020
47#define AF_LOCK 0x00000040
48#define AF_DELETED 0x00000080
49#define AF_NOPROG 0x00000100
50#define AF_GOD 0x00000200
51#define AF_IS_LOCK 0x00000400
52#define AF_VISUAL 0x00000800
53#define AF_PRIVATE 0x00001000
54#define AF_HTML 0x00002000
55#define AF_NOPARSE 0x00004000
56#define AF_REGEXP 0x00008000
57#define AF_NOCLONE 0x00010000
58#define AF_CONST 0x00020000
59#define AF_CASE 0x00040000
60#define AF_STRUCTURE 0x00080000
61#define AF_DIRTY 0x00100000
62#define AF_DEFAULT 0x00200000
63#define AF_NONAME 0x00400000
64#define AF_RMATCH 0x00800000
65#define AF_NOW 0x01000000
66#define AF_TRACE 0x02000000
67#define AF_FREE_1 0x04000000
68#define AF_FREE_2 0x08000000
69#define AF_FREE_3 0x10000000
70#define AF_FREE_4 0x20000000
71#define AF_FREE_5 0x40000000
72#define AF_FREE_6 0x80000000
78#define A_NULL 0
79#define A_OSUCC 1
80#define A_OFAIL 2
81#define A_FAIL 3
82#define A_SUCC 4
83#define A_PASS 5
84#define A_DESC 6
85#define A_SEX 7
86#define A_ODROP 8
87#define A_DROP 9
88#define A_OKILL 10
89#define A_KILL 11
90#define A_ASUCC 12
91#define A_AFAIL 13
92#define A_ADROP 14
93#define A_AKILL 15
94#define A_AUSE 16
95#define A_CHARGES 17
96#define A_RUNOUT 18
97#define A_STARTUP 19
98#define A_ACLONE 20
99#define A_APAY 21
100#define A_OPAY 22
101#define A_PAY 23
102#define A_COST 24
103#define A_MONEY 25
104#define A_LISTEN 26
105#define A_AAHEAR 27
106#define A_AMHEAR 28
107#define A_AHEAR 29
108#define A_LAST 30
109#define A_QUEUEMAX 31
110#define A_IDESC 32
111#define A_ENTER 33
112#define A_OXENTER 34
113#define A_AENTER 35
114#define A_ADESC 36
115#define A_ODESC 37
116#define A_RQUOTA 38
117#define A_ACONNECT 39
118#define A_ADISCONNECT 40
119#define A_ALLOWANCE 41
120#define A_LOCK 42
121#define A_NAME 43
122#define A_COMMENT 44
123#define A_USE 45
124#define A_OUSE 46
125#define A_SEMAPHORE 47
126#define A_TIMEOUT 48
127#define A_QUOTA 49
128#define A_LEAVE 50
129#define A_OLEAVE 51
130#define A_ALEAVE 52
131#define A_OENTER 53
132#define A_OXLEAVE 54
133#define A_MOVE 55
134#define A_OMOVE 56
135#define A_AMOVE 57
136#define A_ALIAS 58
137#define A_LENTER 59
138#define A_LLEAVE 60
139#define A_LPAGE 61
140#define A_LUSE 62
141#define A_LGIVE 63
142#define A_EALIAS 64
143#define A_LALIAS 65
144#define A_EFAIL 66
145#define A_OEFAIL 67
146#define A_AEFAIL 68
147#define A_LFAIL 69
148#define A_OLFAIL 70
149#define A_ALFAIL 71
150#define A_REJECT 72
151#define A_AWAY 73
152#define A_IDLE 74
153#define A_UFAIL 75
154#define A_OUFAIL 76
155#define A_AUFAIL 77
156#define A_FREE78 78
157#define A_TPORT 79
158#define A_OTPORT 80
159#define A_OXTPORT 81
160#define A_ATPORT 82
161#define A_FREE83 83
162#define A_LOGINDATA 84
163#define A_LTPORT 85
164#define A_LDROP 86
165#define A_LRECEIVE 87
166#define A_LASTSITE 88
167#define A_INPREFIX 89
168#define A_PREFIX 90
169#define A_INFILTER 91
170#define A_FILTER 92
171#define A_LLINK 93
172#define A_LTELOUT 94
173#define A_FORWARDLIST 95
174#define A_MAILFOLDERS 96
175#define A_LUSER 97
176#define A_LPARENT 98
177#define A_LCONTROL 99
178#define A_VA 100
179#define A_VB 101
180#define A_VC 102
181#define A_VD 103
182#define A_VE 104
183#define A_VF 105
184#define A_VG 106
185#define A_VH 107
186#define A_VI 108
187#define A_VJ 109
188#define A_VK 110
189#define A_VL 111
190#define A_VM 112
191#define A_VN 113
192#define A_VO 114
193#define A_VP 115
194#define A_VQ 116
195#define A_VR 117
196#define A_VS 118
197#define A_VT 119
198#define A_VU 120
199#define A_VV 121
200#define A_VW 122
201#define A_VX 123
202#define A_VY 124
203#define A_VZ 125
204#define A_FREE126 126
205#define A_FREE127 127
206#define A_FREE128 128
207#define A_GFAIL 129
208#define A_OGFAIL 130
209#define A_AGFAIL 131
210#define A_RFAIL 132
211#define A_ORFAIL 133
212#define A_ARFAIL 134
213#define A_DFAIL 135
214#define A_ODFAIL 136
215#define A_ADFAIL 137
216#define A_TFAIL 138
217#define A_OTFAIL 139
218#define A_ATFAIL 140
219#define A_TOFAIL 141
220#define A_OTOFAIL 142
221#define A_ATOFAIL 143
222#define A_FREE144 144
223#define A_FREE145 145
224#define A_FREE146 146
225#define A_FREE147 147
226#define A_FREE148 148
227#define A_FREE149 149
228#define A_FREE150 150
229#define A_FREE151 151
230#define A_FREE152 152
231#define A_FREE153 153
232#define A_FREE154 154
233#define A_FREE155 155
234#define A_FREE156 156
235#define A_FREE157 157
236#define A_FREE158 158
237#define A_FREE159 159
238#define A_FREE160 160
239#define A_FREE161 161
240#define A_FREE162 162
241#define A_FREE163 163
242#define A_FREE164 164
243#define A_FREE165 165
244#define A_FREE166 166
245#define A_FREE167 167
246#define A_FREE168 168
247#define A_FREE169 169
248#define A_FREE170 170
249#define A_FREE171 171
250#define A_FREE172 172
251#define A_FREE173 173
252#define A_FREE174 174
253#define A_FREE175 175
254#define A_FREE176 176
255#define A_FREE177 177
256#define A_FREE178 178
257#define A_FREE179 179
258#define A_FREE180 180
259#define A_FREE181 181
260#define A_FREE182 182
261#define A_FREE183 183
262#define A_FREE184 184
263#define A_FREE185 185
264#define A_FREE186 186
265#define A_FREE187 187
266#define A_FREE188 188
267#define A_FREE189 189
268#define A_FREE190 190
269#define A_FREE191 191
270#define A_FREE192 192
271#define A_FREE193 193
272#define A_FREE194 194
273#define A_FREE195 195
274#define A_FREE196 196
275#define A_FREE197 197
276#define A_MAILCC 198
277#define A_MAILBCC 199
278#define A_LASTPAGE 200
279#define A_MAIL 201
280#define A_AMAIL 202
281#define A_SIGNATURE 203
282#define A_DAILY 204
283#define A_MAILTO 205
284#define A_MAILMSG 206
285#define A_MAILSUB 207
286#define A_MAILCURF 208
287#define A_LSPEECH 209
288#define A_PROGCMD 210
289#define A_MAILFLAGS 211
290#define A_DESTROYER 212
291#define A_NEWOBJS 213
292#define A_LCON_FMT 214
293#define A_LEXITS_FMT 215
294#define A_EXITVARDEST 216
295#define A_LCHOWN 217
296#define A_LASTIP 218
297#define A_LDARK 219
298#define A_VRML_URL 220
299#define A_HTDESC 221
300#define A_NAME_FMT 222
301#define A_LKNOWN 223
302#define A_LHEARD 224
303#define A_LMOVED 225
304#define A_LKNOWS 226
305#define A_LHEARS 227
306#define A_LMOVES 228
307#define A_SPEECHFMT 229
308#define A_PAGEGROUP 230
309#define A_PROPDIR 231
310#define A_FREE232 232
311#define A_FREE233 233
312#define A_FREE234 234
313#define A_FREE235 235
314#define A_FREE236 236
315#define A_FREE237 237
316#define A_FREE238 238
317#define A_FREE239 239
318#define A_FREE240 240
319#define A_FREE241 241
320#define A_FREE242 242
321#define A_FREE243 243
322#define A_FREE244 244
323#define A_FREE245 245
324#define A_FREE246 246
325#define A_FREE247 247
326#define A_FREE248 248
327#define A_FREE249 249
328#define A_FREE250 250
329#define A_FREE251 251
330#define A_FREE252 252
331#define A_LIST 253
332#define A_FREE254 254
333#define A_TEMP 255
334#define A_USER_START 256
335#define ATR_BUF_CHUNK 100
336#define ATR_BUF_INCR 6
343#define NOGO_MESSAGE "You can't go that way."
344
349#define CS_NO_ARGS 0x00000
350#define CS_ONE_ARG 0x00001
351#define CS_TWO_ARG 0x00002
352#define CS_NARG_MASK 0x00003
353#define CS_ARGV 0x00004
354#define CS_INTERP 0x00010
355#define CS_NOINTERP 0x00020
356#define CS_CAUSE 0x00040
357#define CS_UNPARSE 0x00080
358#define CS_CMDARG 0x00100
359#define CS_STRIP 0x00200
360#define CS_STRIP_AROUND 0x00400
361#define CS_ADDED 0x00800
362#define CS_LEADIN 0x01000
363#define CS_PRESERVE 0x02000
364#define CS_NOSQUISH 0x04000
365#define CS_FUNCTION 0x08000
366#define CS_ACTOR 0x10000
367#define CS_PRIVATE 0x20000
373#define CA_PUBLIC 0x00000000
374#define CA_GOD 0x00000001
375#define CA_WIZARD 0x00000002
376#define CA_BUILDER 0x00000004
377#define CA_IMMORTAL 0x00000008
378#define CA_STAFF 0x00000010
379#define CA_HEAD 0x00000020
380#define CA_MODULE_OK 0x00000040
381#define CA_ADMIN 0x00000080
383#define CA_ISPRIV_MASK (CA_GOD | CA_WIZARD | CA_BUILDER | CA_IMMORTAL | CA_STAFF | CA_HEAD | CA_ADMIN | CA_MODULE_OK)
384
385#define CA_NO_HAVEN 0x00000100
386#define CA_NO_ROBOT 0x00000200
387#define CA_NO_SLAVE 0x00000400
388#define CA_NO_SUSPECT 0x00000800
389#define CA_NO_GUEST 0x00001000
391#define CA_ISNOT_MASK (CA_NO_HAVEN | CA_NO_ROBOT | CA_NO_SLAVE | CA_NO_SUSPECT | CA_NO_GUEST)
392
393#define CA_MARKER0 0x00002000
394#define CA_MARKER1 0x00004000
395#define CA_MARKER2 0x00008000
396#define CA_MARKER3 0x00010000
397#define CA_MARKER4 0x00020000
398#define CA_MARKER5 0x00040000
399#define CA_MARKER6 0x00080000
400#define CA_MARKER7 0x00100000
401#define CA_MARKER8 0x00200000
402#define CA_MARKER9 0x00400000
403
404#define CA_MARKER_MASK (CA_MARKER0 | CA_MARKER1 | CA_MARKER2 | CA_MARKER3 | CA_MARKER4 | CA_MARKER5 | CA_MARKER6 | CA_MARKER7 | CA_MARKER8 | CA_MARKER9)
405
406#define CA_GBL_BUILD 0x00800000
407#define CA_GBL_INTERP 0x01000000
408#define CA_DISABLED 0x02000000
409#define CA_STATIC 0x04000000
410#define CA_NO_DECOMP 0x08000000
412#define CA_LOCATION 0x10000000
413#define CA_CONTENTS 0x20000000
414#define CA_PLAYER 0x40000000
415#define CF_DARK 0x80000000
417#define SW_MULTIPLE 0x80000000
418#define SW_GOT_UNIQUE 0x40000000
419#define SW_NOEVAL 0x20000000
421#define LIST_ATTRIBUTES 1
422#define LIST_COMMANDS 2
423#define LIST_COSTS 3
424#define LIST_FLAGS 4
425#define LIST_FUNCTIONS 5
426#define LIST_GLOBALS 6
427#define LIST_ALLOCATOR 7
428#define LIST_LOGGING 8
429#define LIST_DF_FLAGS 9
430#define LIST_PERMS 10
431#define LIST_ATTRPERMS 11
432#define LIST_OPTIONS 12
433#define LIST_HASHSTATS 13
434#define LIST_BUFTRACE 14
435#define LIST_CONF_PERMS 15
436#define LIST_SITEINFO 16
437#define LIST_POWERS 17
438#define LIST_SWITCHES 18
439#define LIST_VATTRS 19
440#define LIST_DB_STATS 20
441#define LIST_PROCESS 21
442#define LIST_BADNAMES 22
443#define LIST_CACHEOBJS 23
444#define LIST_TEXTFILES 24
445#define LIST_PARAMS 25
446#define LIST_CF_RPERMS 26
447#define LIST_ATTRTYPES 27
448#define LIST_FUNCPERMS 28
449#define LIST_MEMORY 29
450#define LIST_CACHEATTRS 30
451#define LIST_RAWMEM 31
452
458#define RS_CONCENTRATE 0x00000002
459#define RS_RECORD_PLAYERS 0x00000004
460#define RS_NEW_STRINGS 0x00000008
461#define RS_COUNT_REBOOTS 0x00000010
463#define HANDLE_FLAT_CRASH 1
464#define HANDLE_FLAT_KILL 2
465
470#define OUTPUT_VERSION 1
471#define UNLOAD_VERSION 1
477#define ATR_INFO_CHAR '\1'
478
483#define BOOLEXP_AND 0
484#define BOOLEXP_OR 1
485#define BOOLEXP_NOT 2
486#define BOOLEXP_CONST 3
487#define BOOLEXP_ATR 4
488#define BOOLEXP_INDIR 5
489#define BOOLEXP_CARRY 6
490#define BOOLEXP_IS 7
491#define BOOLEXP_OWNER 8
492#define BOOLEXP_EVAL 9
493
498#define F_EXAMINE 1
499#define F_QUIET 2
500#define F_DECOMPILE 3
501#define F_FUNCTION 4
507#define F_UNKNOWN 0
508#define F_MUSH 1
509#define F_MUSE 2
510#define F_MUD 3
511#define F_MUCK 4
512#define F_MUX 5
513#define F_TINYMUSH 6
515#define V_MASK 0x000000ff
516#define V_ZONE 0x00000100
517#define V_LINK 0x00000200
518#define V_GDBM 0x00000400
519#define V_ATRNAME 0x00000800
520#define V_ATRKEY 0x00001000
521#define V_PERNKEY 0x00001000
522#define V_PARENT 0x00002000
523#define V_COMM 0x00004000
524#define V_ATRMONEY 0x00008000
525#define V_XFLAGS 0x00010000
526#define V_POWERS 0x00020000
527#define V_3FLAGS 0x00040000
528#define V_QUOTED 0x00080000
529#define V_TQUOTAS 0x00100000
530#define V_TIMESTAMPS 0x00200000
531#define V_VISUALATTRS 0x00400000
532#define V_CREATETIME 0x00800000
533#define V_DBCLEAN 0x80000000
535/* special dbref's */
536#define NOTHING -1
537#define AMBIGUOUS -2
538#define HOME -3
539#define NOPERM -4
540#define ANY_OWNER -2
546#define ADDCMD_PRESERVE 1
547#define ATTRIB_ACCESS 1
548#define ATTRIB_RENAME 2
549#define ATTRIB_DELETE 4
550#define ATTRIB_INFO 8
551#define BOOT_QUIET 1
552#define BOOT_PORT 2
553#define CHOWN_ONE 1
554#define CHOWN_ALL 2
555#define CHOWN_NOSTRIP 4
556#define CHZONE_NOSTRIP 1
557#define CLONE_LOCATION 0
558#define CLONE_INHERIT 1
559#define CLONE_PRESERVE 2
560#define CLONE_INVENTORY 4
561#define CLONE_SET_COST 8
562#define CLONE_FROM_PARENT 16
563#define CLONE_NOSTRIP 32
564#define DBCK_FULL 1
565#define DECOMP_PRETTY 1
566#define DEST_ONE 1
567#define DEST_ALL 2
568#define DEST_OVERRIDE 4
569#define DEST_INSTANT 8
570#define DIG_TELEPORT 1
571#define DOLIST_SPACE 0
572#define DOLIST_DELIMIT 1
573#define DOLIST_NOTIFY 2
574#define DOLIST_NOW 4
575#define DOING_MESSAGE 0
576#define DOING_HEADER 1
577#define DOING_POLL 2
578#define DOING_QUIET 4
579#define DROP_QUIET 1
580#define DUMP_STRUCT 1
581#define DUMP_TEXT 2
582#define DUMP_FLATFILE 8
583#define DUMP_OPTIMIZE 16
584#define ENDCMD_BREAK 0
585#define ENDCMD_ASSERT 1
586#define EXAM_DEFAULT 0
587#define EXAM_BRIEF 1
588#define EXAM_LONG 2
589#define EXAM_DEBUG 4
590#define EXAM_PARENT 8
591#define EXAM_PRETTY 16
592#define EXAM_PAIRS 32
593#define EXAM_OWNER 64
594#define FIXDB_OWNER 1
595#define FIXDB_LOC 2
596#define FIXDB_CON 4
597#define FIXDB_EXITS 8
598#define FIXDB_NEXT 16
599#define FIXDB_PENNIES 32
600#define FIXDB_NAME 64
601#define FLOATERS_ALL 1
602#define FUNCT_LIST 1
603#define FUNCT_NO_EVAL 2
604#define FUNCT_PRIV 4
605#define FUNCT_PRES 8
606#define FUNCT_NOREGS 16
607#define FRC_COMMAND 1
608#define FRC_NOW 2
609#define GET_QUIET 1
610#define GIVE_QUIET 1
611#define GLOB_ENABLE 1
612#define GLOB_DISABLE 2
613#define HALT_ALL 1
614#define HALT_PID 2
615#define HELP_FIND 1
616#define HELP_RAWHELP 0x08000000
617#define HOOK_BEFORE 1
618#define HOOK_AFTER 2
619#define HOOK_PRESERVE 4
620#define HOOK_NOPRESERVE 8
621#define HOOK_PERMIT 16
622#define HOOK_PRIVATE 32
623#define KILL_KILL 1
624#define KILL_SLAY 2
625#define LOOK_LOOK 1
626#define LOOK_INVENTORY 2
627#define LOOK_SCORE 4
628#define LOOK_OUTSIDE 8
629#define MARK_SET 0
630#define MARK_CLEAR 1
631#define MOTD_ALL 0
632#define MOTD_WIZ 1
633#define MOTD_DOWN 2
634#define MOTD_FULL 4
635#define MOTD_LIST 8
636#define MOTD_BRIEF 16
637#define MOVE_QUIET 1
638#define NFY_NFY 0
639#define NFY_NFYALL 1
640#define NFY_DRAIN 2
641#define NREF_LIST 1
642#define OPEN_LOCATION 0
643#define OPEN_INVENTORY 1
644#define PASS_ANY 1
645#define PASS_MINE 2
646#define PCRE_PLAYER 1
647#define PCRE_ROBOT 2
648#define PEMIT_PEMIT 1
649#define PEMIT_OEMIT 2
650#define PEMIT_WHISPER 3
651#define PEMIT_FSAY 4
652#define PEMIT_FEMIT 5
653#define PEMIT_FPOSE 6
654#define PEMIT_FPOSE_NS 7
655#define PEMIT_CONTENTS 8
656#define PEMIT_HERE 16
657#define PEMIT_ROOM 32
658#define PEMIT_LIST 64
659#define PEMIT_SPEECH 128
660#define PEMIT_HTML 256
661#define PEMIT_MOVE 512
662#define PEMIT_SPOOF 1024
663#define PS_BRIEF 0
664#define PS_LONG 1
665#define PS_SUMM 2
666#define PS_ALL 4
667#define QUEUE_KICK 1
668#define QUEUE_WARP 2
669#define QUOTA_SET 1
670#define QUOTA_FIX 2
671#define QUOTA_TOT 4
672#define QUOTA_REM 8
673#define QUOTA_ALL 16
674#define QUOTA_ROOM 32
675#define QUOTA_EXIT 64
676#define QUOTA_THING 128
677#define QUOTA_PLAYER 256
678#define SAY_SAY 1
679#define SAY_NOSPACE 1
680#define SAY_POSE 2
681#define SAY_POSE_NOSPC 3
682#define SAY_EMIT 5
683#define SAY_SHOUT 8
684#define SAY_WALLPOSE 9
685#define SAY_WALLEMIT 10
686#define SAY_WIZSHOUT 12
687#define SAY_WIZPOSE 13
688#define SAY_WIZEMIT 14
689#define SAY_ADMINSHOUT 15
690#define SAY_NOTAG 32
691#define SAY_HERE 64
692#define SAY_ROOM 128
693#define SAY_HTML 256
694#define SAY_PREFIX 512
695#define SET_QUIET 1
696#define SHUTDN_COREDUMP 1
697#define SRCH_SEARCH 1
698#define SRCH_MARK 2
699#define SRCH_UNMARK 3
700#define STAT_PLAYER 0
701#define STAT_ALL 1
702#define STAT_ME 2
703#define SWITCH_DEFAULT 0
704#define SWITCH_ANY 1
705#define SWITCH_ONE 2
706#define SWITCH_NOW 4
707#define SWEEP_ME 1
708#define SWEEP_HERE 2
709#define SWEEP_COMMANDS 4
710#define SWEEP_LISTEN 8
711#define SWEEP_PLAYER 16
712#define SWEEP_CONNECT 32
713#define SWEEP_EXITS 64
714#define SWEEP_VERBOSE 256
715#define TELEPORT_DEFAULT 1
716#define TELEPORT_QUIET 2
717#define TIMECHK_RESET 1
718#define TIMECHK_SCREEN 2
719#define TIMECHK_LOG 4
720#define TOAD_NO_CHOWN 1
721#define TRIG_QUIET 1
722#define TRIG_NOW 2
723#define TWARP_QUEUE 1
724#define TWARP_DUMP 2
725#define TWARP_CLEAN 4
726#define TWARP_IDLE 8
727#define TWARP_EMPTY 16
728#define TWARP_EVENTS 32
729#define VERB_NOW 1
730#define VERB_MOVE 2
731#define VERB_SPEECH 4
732#define VERB_PRESENT 8
733#define VERB_NONAME 16
734#define WAIT_UNTIL 1
735#define WAIT_PID 2
740#define HUSH_ENTER 1
741#define HUSH_LEAVE 2
742#define HUSH_EXIT 4
747#define EV_FIGNORE 0x00000000
748#define EV_FMAND 0x00000100
749#define EV_FCHECK 0x00000200
750#define EV_STRIP 0x00000400
751#define EV_EVAL 0x00000800
752#define EV_STRIP_TS 0x00001000
753#define EV_STRIP_LS 0x00002000
754#define EV_STRIP_ESC 0x00004000
755#define EV_STRIP_AROUND 0x00008000
756#define EV_TOP 0x00010000
757#define EV_NOTRACE 0x00020000
758#define EV_NO_COMPRESS 0x00040000
759#define EV_NO_LOCATION 0x00080000
760#define EV_NOFCHECK 0x00100000
765#define FN_VARARGS 0x80000000
766#define FN_NO_EVAL 0x40000000
767#define FN_PRIV 0x20000000
768#define FN_PRES 0x10000000
769#define FN_NOREGS 0x08000000
770#define FN_DBFX 0x04000000
771#define FN_QFX 0x02000000
772#define FN_OUTFX 0x01000000
773#define FN_STACKFX 0x00800000
774#define FN_VARFX 0x00400000
781#define MSG_PUP_ALWAYS 0x00001
782#define MSG_INV 0x00002
783#define MSG_INV_L 0x00004
784#define MSG_INV_EXITS 0x00008
785#define MSG_NBR 0x00010
786#define MSG_NBR_A 0x00020
787#define MSG_NBR_EXITS 0x00040
788#define MSG_NBR_EXITS_A 0x00080
789#define MSG_LOC 0x00100
790#define MSG_LOC_A 0x00200
791#define MSG_FWDLIST 0x00400
792#define MSG_ME 0x00800
793#define MSG_S_INSIDE 0x01000
794#define MSG_S_OUTSIDE 0x02000
795#define MSG_HTML 0x04000
796#define MSG_SPEECH 0x08000
797#define MSG_MOVE 0x10000
798#define MSG_PRESENCE 0x20000
804#define LK_IDESC 0x0001
805#define LK_OBEYTERSE 0x0002
806#define LK_SHOWATTR 0x0004
807#define LK_SHOWEXIT 0x0008
808#define LK_SHOWVRML 0x0010
809
810#define CONTENTS_LOCAL 0
811#define CONTENTS_NESTED 1
812#define CONTENTS_REMOTE 2
813
819#define CON_LOCAL 0x01 /* Match is near me */
820#define CON_TYPE 0x02 /* Match is of requested type */
821#define CON_LOCK 0x04 /* I pass the lock on match */
822#define CON_COMPLETE 0x08 /* Name given is the full name */
823#define CON_TOKEN 0x10 /* Name is a special token */
824#define CON_DBREF 0x20 /* Name is a dbref */
825
830#define QTYPE_ALL 0
831#define QTYPE_ROOM 1
832#define QTYPE_EXIT 2
833#define QTYPE_THING 3
834#define QTYPE_PLAYER 4
839#define SA_EXIT 1
840#define SA_DFLT 2
845#define DUMP_DB_NORMAL 0
846#define DUMP_DB_CRASH 1
847#define DUMP_DB_RESTART 2
848#define DUMP_DB_FLATFILE 3
849#define DUMP_DB_KILLED 4
854#define CANNOT_HEAR_MSG "That target cannot hear you."
855#define NOT_PRESENT_MSG "That target is not present."
856
862#define FLAG_WORD1 0x0
863#define FLAG_WORD2 0x1
864#define FLAG_WORD3 0x2
870#define TYPE_ROOM 0x0
871#define TYPE_THING 0x1
872#define TYPE_EXIT 0x2
873#define TYPE_PLAYER 0x3
874#define TYPE_ZONE 0x4
875#define TYPE_GARBAGE 0x5
876#define GOODTYPE 0x5
877#define NOTYPE 0x7
878#define TYPE_MASK 0x7
883#define SEETHRU 0x00000008
884#define WIZARD 0x00000010
885#define LINK_OK 0x00000020
886#define DARK 0x00000040
887#define JUMP_OK 0x00000080
888#define STICKY 0x00000100
889#define DESTROY_OK 0x00000200
890#define HAVEN 0x00000400
891#define QUIET 0x00000800
892#define HALT 0x00001000
893#define TRACE 0x00002000
894#define GOING 0x00004000
895#define MONITOR 0x00008000
896#define MYOPIC 0x00010000
897#define PUPPET 0x00020000
898#define CHOWN_OK 0x00040000
899#define ENTER_OK 0x00080000
900#define VISUAL 0x00100000
901#define IMMORTAL 0x00200000
902#define HAS_STARTUP 0x00400000
903#define OPAQUE 0x00800000
904#define VERBOSE 0x01000000
905#define INHERIT 0x02000000
906#define NOSPOOF 0x04000000
907#define ROBOT 0x08000000
908#define SAFE 0x10000000
909#define ROYALTY 0x20000000
910#define HEARTHRU 0x40000000
911#define TERSE 0x80000000
916#define KEY 0x00000001
917#define ABODE 0x00000002
918#define FLOATING 0x00000004
919#define UNFINDABLE 0x00000008
920#define PARENT_OK 0x00000010
921#define LIGHT 0x00000020
922#define HAS_LISTEN 0x00000040
923#define HAS_FWDLIST 0x00000080
924#define AUDITORIUM 0x00000100
925#define ANSI 0x00000200
926#define HEAD_FLAG 0x00000400
927#define FIXED 0x00000800
928#define UNINSPECTED 0x00001000
929#define ZONE_PARENT 0x00002000
930#define DYNAMIC 0x00004000
931#define NOBLEED 0x00008000
932#define STAFF 0x00010000
933#define HAS_DAILY 0x00020000
934#define GAGGED 0x00040000
935#define HAS_COMMANDS 0x00080000
936#define STOP_MATCH 0x00100000
937#define BOUNCE 0x00200000
938#define CONTROL_OK 0x00400000
939#define CONSTANT_ATTRS 0x00800000
940#define VACATION 0x01000000
941#define PLAYER_MAILS 0x02000000
942#define HTML 0x04000000
943#define BLIND 0x08000000
944#define SUSPECT 0x10000000
945#define WATCHER 0x20000000
946#define CONNECTED 0x40000000
947#define SLAVE 0x80000000
952#define REDIR_OK 0x00000001
953#define HAS_REDIRECT 0x00000002
954#define ORPHAN 0x00000004
955#define HAS_DARKLOCK 0x00000008
956#define DIRTY 0x00000010
957#define NODEFAULT 0x00000020
958#define PRESENCE 0x00000040
959#define HAS_SPEECHMOD 0x00000080
960#define HAS_PROPDIR 0X00000100
961#define COLOR256 0x00000200
962#define COLOR24BIT 0x00000400
963#define FLAG_RES03 0x00000800
964#define FLAG_RES04 0x00001000
965#define FLAG_RES05 0x00002000
966#define FLAG_RES06 0x00004000
967#define FLAG_RES07 0x00008000
968#define FLAG_RES08 0x00010000
969#define FLAG_RES09 0x00020000
970#define FLAG_RES10 0x00040000
971#define FLAG_RES11 0x00080000
972#define FLAG_RES12 0x00100000
973#define FLAG_RES13 0x00200000
974#define MARK_0 0x00400000
975#define MARK_1 0x00800000
976#define MARK_2 0x01000000
977#define MARK_3 0x02000000
978#define MARK_4 0x04000000
979#define MARK_5 0x08000000
980#define MARK_6 0x10000000
981#define MARK_7 0x20000000
982#define MARK_8 0x40000000
983#define MARK_9 0x80000000
984#define MARK_FLAGS 0xffc00000
986#define OF_CONTENTS 0x0001
987#define OF_LOCATION 0x0002
988#define OF_EXITS 0x0004
989#define OF_HOME 0x0008
990#define OF_DROPTO 0x0010
991#define OF_OWNER 0x0020
992#define OF_SIBLINGS 0x0040
994#define VE_LOC_XAM 0x01
995#define VE_LOC_DARK 0x02
996#define VE_BASE_DARK 0x04
1003#define MAX_NFARGS 30
1004
1009#define ALPHANUM_LIST 1
1010#define NUMERIC_LIST 2
1011#define DBREF_LIST 3
1012#define FLOAT_LIST 4
1013#define NOCASE_LIST 5
1014
1015#define IF_DELETE 0
1016#define IF_REPLACE 1
1017#define IF_INSERT 2
1018
1023#define TRIM_L 0x1
1024#define TRIM_R 0x2
1025
1030#define CRYPTCODE_LO 32 /* space */
1031#define CRYPTCODE_HI 126 /* tilde */
1032#define CRYPTCODE_MOD 95 /* count of printable ascii chars */
1033
1038#define DELIM_EVAL 0x001
1039#define DELIM_NULL 0x002
1040#define DELIM_CRLF 0x004
1041#define DELIM_STRING 0x008
1048#define SORT_OPER 0x0f
1049#define SORT_ITEMS 0
1050#define SORT_POS 1
1055#define SET_OPER 0x0f
1056#define SET_UNION 0
1057#define SET_INTERSECT 1
1058#define SET_DIFF 2
1059#define SET_TYPE 0x10
1066#define JUST_TYPE 0x0f
1067#define JUST_LEFT 0x01
1068#define JUST_RIGHT 0x02
1069#define JUST_CENTER 0x04
1070#define JUST_REPEAT 0x10
1071#define JUST_COALEFT 0x20
1072#define JUST_COARIGHT 0x40
1080#define LOGIC_OPER 0x0f
1081#define LOGIC_AND 0
1082#define LOGIC_OR 1
1083#define LOGIC_XOR 2
1084#define LOGIC_BOOL 0x10
1085#define LOGIC_LIST 0x40
1090#define VEC_OPER 0x0f
1091#define VEC_ADD 0
1092#define VEC_SUB 1
1093#define VEC_MUL 2
1094#define VEC_DOT 3
1095#define VEC_CROSS 4
1096#define VEC_OR 7
1097#define VEC_AND 8
1098#define VEC_XOR 9
1103#define VEC_MAG 5
1104#define VEC_UNIT 6
1110#define BOOL_COND_TYPE 0x0f
1111#define BOOL_COND_NONE 1
1112#define BOOL_COND_FALSE 2
1113#define BOOL_COND_TRUE 3
1114#define FILT_COND_TYPE 0x0f0
1115#define FILT_COND_NONE 0x010
1116#define FILT_COND_FALSE 0x020
1117#define FILT_COND_TRUE 0x030
1118#define LOOP_NOTIFY 0x100
1119#define LOOP_TWOLISTS 0x200
1124#define PRESFN_OPER 0x0f
1125#define PRESFN_HEARS 0x01
1126#define PRESFN_MOVES 0x02
1127#define PRESFN_KNOWS 0x04
1132#define GET_EVAL 0x01
1133#define GET_XARGS 0x02
1138#define POP_PEEK 0x01
1139#define POP_TOSS 0x02
1148#define REG_CASELESS 0x01
1149#define REG_MATCH_ALL 0x02
1150#define REG_TYPE 0x0c
1151#define GREP_EXACT 0
1152#define GREP_WILD 4
1153#define GREP_REGEXP 8
1158#define TRIG_OPER 0x0f
1159#define TRIG_CO 0x01
1160#define TRIG_TAN 0x02
1161#define TRIG_ARC 0x04
1162#define TRIG_REC 0x08
1163#define TRIG_DEG 0x10
1168#define PRONOUN_OBJ 0
1169#define PRONOUN_POSS 1
1170#define PRONOUN_SUBJ 2
1171#define PRONOUN_APOSS 3
1176#define U_LOCAL 0x01
1177#define U_PRIVATE 0x02
1182#define IFELSE_OPER 0x0f
1183#define IFELSE_BOOL 0x01
1184#define IFELSE_FALSE 0x02
1185#define IFELSE_DEFAULT 0x04
1186#define IFELSE_TOKEN 0x08
1191#define TIMESTAMP_MOD 0x01
1192#define TIMESTAMP_ACC 0X02
1193#define TIMESTAMP_CRE 0x04
1198#define LATTR_COUNT 0x01
1199#define LOCFN_WHERE 0x01
1200#define NAMEFN_FULLNAME 0x01
1201#define CHECK_PARENTS 0x01
1202#define CONNINFO_IDLE 0x01
1203#define UCALL_SANDBOX 0x01
1205#define FP_SIZE ((sizeof(long double) + sizeof(unsigned int) - 1) / sizeof(unsigned int))
1206#define FP_EXP_WEIRD 0x1
1207#define FP_EXP_ZERO 0x2
1208
1218#define FC_CONN 0
1219#define FC_CONN_SITE 1
1220#define FC_CONN_DOWN 2
1221#define FC_CONN_FULL 3
1222#define FC_CONN_GUEST 4
1223#define FC_CONN_REG 5
1224#define FC_CREA_NEW 6
1225#define FC_CREA_REG 7
1226#define FC_MOTD 8
1227#define FC_WIZMOTD 9
1228#define FC_QUIT 10
1229#define FC_CONN_HTML 11
1230#define FC_LAST 11
1231
1241#define NOT_TOKEN '!'
1242#define AND_TOKEN '&'
1243#define OR_TOKEN '|'
1244#define LOOKUP_TOKEN '*'
1245#define NUMBER_TOKEN '#'
1246#define INDIR_TOKEN '@'
1247#define CARRY_TOKEN '+'
1248#define IS_TOKEN '='
1249#define OWNER_TOKEN '$'
1254#define AMATCH_CMD '$'
1255#define AMATCH_LISTEN '^'
1260#define EXIT_DELIMITER ';'
1261#define ARG_DELIMITER '='
1268#define BOUND_VAR "##"
1269#define LISTPLACE_VAR "#@"
1274#define SWITCH_VAR "#$"
1279#define NULL_DELIM_VAR "@@"
1284#define INDENT_STR " "
1289#define GENERIC_STRUCT_DELIM '\f'
1290#define GENERIC_STRUCT_STRDELIM "\f"
1295#define OBJECT_ENDOWMENT(cost) (((cost) / mushconf.sacfactor) + mushconf.sacadjust)
1300#define OBJECT_DEPOSIT(pennies) (((pennies)-mushconf.sacadjust) * mushconf.sacfactor)
1305#define DEV_NULL "/dev/null"
1310#define BACKUP_VERSION 1
1315#define PCRE_MAX_OFFSETS 99
1316
1322#define LINE_SIZE 90
1323
1324#define TOPIC_NAME_LEN 30
1325
1335#define HASH_ALIAS 0x00000001
1341#define HT_STR 0x00000000
1342#define HT_NUM 0x00000001
1343#define HT_TYPEMASK 0x0000000f
1344#define HT_KEYREF 0x00000010
1351/* (Dis)connection reason codes */
1352
1353#define R_GUEST 1
1354#define R_CREATE 2
1355#define R_CONNECT 3
1356#define R_DARK 4
1358#define R_QUIT 5
1359#define R_TIMEOUT 6
1360#define R_BOOT 7
1361#define R_SOCKDIED 8
1362#define R_GOING_DOWN 9
1363#define R_BADLOGIN 10
1364#define R_GAMEDOWN 11
1365#define R_LOGOUT 12
1366#define R_GAMEFULL 13
1368/* Logged out command table definitions */
1369
1370#define CMD_QUIT 1
1371#define CMD_WHO 2
1372#define CMD_DOING 3
1373#define CMD_PREFIX 5
1374#define CMD_SUFFIX 6
1375#define CMD_LOGOUT 7
1376#define CMD_SESSION 8
1377#define CMD_PUEBLOCLIENT 9
1378#define CMD_INFO 10
1379
1380#define CMD_MASK 0xff
1381#define CMD_NOxFIX 0x100
1382
1383/* flags in the flag field */
1384#define DS_CONNECTED 0x0001
1385#define DS_AUTODARK 0x0002
1386#define DS_PUEBLOCLIENT 0x0004
1392#define S_SUSPECT 1
1393#define S_ACCESS 2
1394
1400#define NOMATCH_MESSAGE "I don't see that here."
1401#define AMBIGUOUS_MESSAGE "I don't know which one you mean!"
1402#define NOPERM_MESSAGE "Permission denied."
1403
1404#define MAT_NO_EXITS 1
1405#define MAT_EXIT_PARENTS 2
1406#define MAT_NUMERIC 4
1407#define MAT_HOME 8
1418#define CF_LOGIN 0x0001
1419#define CF_BUILD 0x0002
1420#define CF_INTERP 0x0004
1421#define CF_CHECKPOINT 0x0008
1422#define CF_DBCHECK 0x0010
1423#define CF_IDLECHECK 0x0020
1424#define CF_NOTUSED1 0x0040
1425#define CF_NOTUSED2 0x0080
1426#define CF_DEQUEUE 0x0100
1427#define CF_GODMONITOR 0x0200
1428#define CF_EVENTCHECK 0x0400
1433#define H_REGISTRATION 0x0001
1434#define H_FORBIDDEN 0x0002
1435#define H_SUSPECT 0x0004
1436#define H_GUEST 0x0008
1441#define LOG_ALLCOMMANDS 0x00000001
1442#define LOG_ACCOUNTING 0x00000002
1443#define LOG_BADCOMMANDS 0x00000004
1444#define LOG_BUGS 0x00000008
1445#define LOG_DBSAVES 0x00000010
1446#define LOG_CONFIGMODS 0x00000020
1447#define LOG_PCREATES 0x00000040
1448#define LOG_KILLS 0x00000080
1449#define LOG_LOGIN 0x00000100
1450#define LOG_NET 0x00000200
1451#define LOG_SECURITY 0x00000400
1452#define LOG_SHOUTS 0x00000800
1453#define LOG_STARTUP 0x00001000
1454#define LOG_WIZARD 0x00002000
1455#define LOG_ALLOCATE 0x00004000
1456#define LOG_PROBLEMS 0x00008000
1457#define LOG_KBCOMMANDS 0x00010000
1458#define LOG_SUSPECTCMDS 0x00020000
1459#define LOG_TIMEUSE 0x00040000
1460#define LOG_LOCAL 0x00080000
1461#define LOG_MALLOC 0x00100000
1462#define LOG_FORCE 0x04000000
1463#define LOG_ALWAYS 0x80000000
1465#define LOGOPT_FLAGS 0x01
1466#define LOGOPT_LOC 0x02
1467#define LOGOPT_OWNER 0x04
1468#define LOGOPT_TIMESTAMP 0x08
1475#define NUM_GOOD 4
1476#define NUM_BAD 3
1483#define POWER_EXT 0x1
1488#define POW_CHG_QUOTAS 0x00000001
1489#define POW_CHOWN_ANY 0x00000002
1490#define POW_ANNOUNCE 0x00000004
1491#define POW_BOOT 0x00000008
1492#define POW_HALT 0x00000010
1493#define POW_CONTROL_ALL 0x00000020
1494#define POW_WIZARD_WHO 0x00000040
1495#define POW_EXAM_ALL 0x00000080
1496#define POW_FIND_UNFIND 0x00000100
1497#define POW_FREE_MONEY 0x00000200
1498#define POW_FREE_QUOTA 0x00000400
1499#define POW_HIDE 0x00000800
1500#define POW_IDLE 0x00001000
1501#define POW_SEARCH 0x00002000
1502#define POW_LONGFINGERS 0x00004000
1503#define POW_PROG 0x00008000
1504#define POW_MDARK_ATTR 0x00010000
1505#define POW_WIZ_ATTR 0x00020000
1506#define POW_FREE_ATTR 0x00040000
1507#define POW_COMM_ALL 0x00080000
1508#define POW_SEE_QUEUE 0x00100000
1509#define POW_SEE_HIDDEN 0x00200000
1510#define POW_WATCH 0x00400000
1511#define POW_POLL 0x00800000
1512#define POW_NO_DESTROY 0x01000000
1513#define POW_GUEST 0x02000000
1514#define POW_PASS_LOCKS 0x04000000
1515#define POW_STAT_ANY 0x08000000
1516#define POW_STEAL 0x10000000
1517#define POW_TEL_ANYWHR 0x20000000
1518#define POW_TEL_UNRST 0x40000000
1519#define POW_UNKILLABLE 0x80000000
1524#define POW_BUILDER 0x00000001
1525#define POW_LINKVAR 0x00000002
1526#define POW_LINKTOANY 0x00000004
1527#define POW_OPENANYLOC 0x00000008
1528#define POW_USE_MODULE 0x00000010
1529#define POW_LINKHOME 0x00000020
1530#define POW_CLOAK 0x00000040
1537#define STRING_EMPTY ""
1538
1543#define BEEP_CHAR '\07'
1544#define ESC_CHAR '\033'
1545
1546#define ANSI_CSI '['
1547#define ANSI_END 'm'
1548
1549#define ANSI_NORMAL "\033[0m"
1550
1551#define ANSI_REVERSE_NORMAL "m0[\033"
1552#define ANSI_REVERSE_HIRED "m13[\033m1[\033"
1553
1554#define ANSI_HILITE "\033[1m"
1555#define ANSI_INVERSE "\033[7m"
1556#define ANSI_BLINK "\033[5m"
1557#define ANSI_UNDER "\033[4m"
1558
1559#define ANSI_INV_BLINK "\033[7;5m"
1560#define ANSI_INV_HILITE "\033[1;7m"
1561#define ANSI_BLINK_HILITE "\033[1;5m"
1562#define ANSI_INV_BLINK_HILITE "\033[1;5;7m"
1563
1568#define ANSI_BLACK "\033[30m"
1569#define ANSI_RED "\033[31m"
1570#define ANSI_GREEN "\033[32m"
1571#define ANSI_YELLOW "\033[33m"
1572#define ANSI_BLUE "\033[34m"
1573#define ANSI_MAGENTA "\033[35m"
1574#define ANSI_CYAN "\033[36m"
1575#define ANSI_WHITE "\033[37m"
1576
1581#define ANSI_BBLACK "\033[40m"
1582#define ANSI_BRED "\033[41m"
1583#define ANSI_BGREEN "\033[42m"
1584#define ANSI_BYELLOW "\033[43m"
1585#define ANSI_BBLUE "\033[44m"
1586#define ANSI_BMAGENTA "\033[45m"
1587#define ANSI_BCYAN "\033[46m"
1588#define ANSI_BWHITE "\033[47m"
1589
1594#define ANSI_XTERM_FG "\033[38;5;"
1595#define ANSI_XTERM_BG "\033[48;5;"
1596
1597#define ANSI_24BIT_FG "\033[38;2;"
1598#define ANSI_24BIT_BG "\033[48;2;"
1599
1604#define N_ANSI_NORMAL "0"
1605#define N_ANSI_HILITE "1"
1606#define N_ANSI_INVERSE "7"
1607#define N_ANSI_BLINK "5"
1608#define N_ANSI_UNDER "4"
1609
1610#define N_ANSI_BLACK "30"
1611#define N_ANSI_RED "31"
1612#define N_ANSI_GREEN "32"
1613#define N_ANSI_YELLOW "33"
1614#define N_ANSI_BLUE "34"
1615#define N_ANSI_MAGENTA "35"
1616#define N_ANSI_CYAN "36"
1617#define N_ANSI_WHITE "37"
1618
1619#define N_ANSI_BBLACK "40"
1620#define N_ANSI_BRED "41"
1621#define N_ANSI_BGREEN "42"
1622#define N_ANSI_BYELLOW "43"
1623#define N_ANSI_BBLUE "44"
1624#define N_ANSI_BMAGENTA "45"
1625#define N_ANSI_BCYAN "46"
1626#define N_ANSI_BWHITE "47"
1627
1628#define N_ANSI_NORMAL "0"
1629
1634#define I_ANSI_NORMAL 0
1635
1636#define I_ANSI_HILITE 1
1637#define I_ANSI_INVERSE 7
1638#define I_ANSI_BLINK 5
1639#define I_ANSI_UNDER 4
1640
1641#define I_ANSI_BLACK 30
1642#define I_ANSI_RED 31
1643#define I_ANSI_GREEN 32
1644#define I_ANSI_YELLOW 33
1645#define I_ANSI_BLUE 34
1646#define I_ANSI_MAGENTA 35
1647#define I_ANSI_CYAN 36
1648#define I_ANSI_WHITE 37
1649
1650#define I_ANSI_BBLACK 40
1651#define I_ANSI_BRED 41
1652#define I_ANSI_BGREEN 42
1653#define I_ANSI_BYELLOW 43
1654#define I_ANSI_BBLUE 44
1655#define I_ANSI_BMAGENTA 45
1656#define I_ANSI_BCYAN 46
1657#define I_ANSI_BWHITE 47
1658
1659#define I_ANSI_NUM 48
1660#define I_ANSI_LIM 50
1661
1662#define ANST_NORMAL 0x0099
1663#define ANST_NONE 0x1099
1664
1674#define NUM_OBJPIPES 64
1675
1680#define CACHE_DIRTY 0x00000001
1681
1686#define CACHE_SIZE 1000000
1687#define CACHE_WIDTH 200
1693#define DBTYPE_EMPTY 0
1694#define DBTYPE_ATTRIBUTE 1
1695#define DBTYPE_DBINFO 2
1696#define DBTYPE_OBJECT 3
1697#define DBTYPE_ATRNUM 4
1698#define DBTYPE_MODULETYPE 5
1699#define DBTYPE_RESERVED 0x0000FFFF
1700#define DBTYPE_END 0xFFFFFFFF
1702#define DEFAULT_DBMCHUNKFILE "netmush"
1703
1708#define PF_DEAD 0x0001
1709#define PF_REF 0x0002
1710#define PF_MONEY_CH 0x0004
1711#define PF_QMAX_CH 0x0008
1712
1718#ifndef VATTR_HASH_SIZE
1719#define VATTR_HASH_SIZE 8192
1720#endif
1721
1722#define VNAME_SIZE 32
1723
1728#define FIRST_MINUTE 0
1729#define LAST_MINUTE 59
1730
1731#define FIRST_HOUR 0
1732#define LAST_HOUR 23
1733
1734#define FIRST_DOM 1
1735#define LAST_DOM 31
1736
1737#define FIRST_MONTH 1
1738#define LAST_MONTH 12
1739
1744#define FIRST_DOW 0
1745#define LAST_DOW 7
1746
1747#define DOM_STAR 0x01
1748#define DOW_STAR 0x02
1749
1755#define FPTS_DIG LDBL_DIG - 1
1756
1757#endif /* __CONSTANTS_H */