Crossfire Server, Branches 1.12
R18729
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
re-cmp.h
Go to the documentation of this file.
1
9
#ifndef RE_CMP_H
10
#define RE_CMP_H
11
12
/* C o n f i g u r a t i o n
13
*/
14
15
#define SAFE_CHECKS
19
#define RE_TOKEN_MAX 64
26
/* D o n o t c h a n g e b e l o w
27
*/
28
29
#ifdef uchar
30
# undef uchar
31
#endif
32
#ifdef Boolean
33
# undef Boolean
34
#endif
35
#ifdef True
36
# undef True
37
#endif
38
#ifdef False
39
# undef False
40
#endif
41
42
#define uchar unsigned char
43
#define Boolean uchar
44
#define True 1
45
#define False 0
46
47
typedef
enum
{
48
sel_any
,
49
sel_end
,
50
sel_single
,
51
sel_range
,
52
sel_array
,
53
sel_not_single
,
54
sel_not_range
55
}
selection_type
;
56
57
typedef
enum
{
58
rep_once
,
59
rep_once_or_more
,
60
rep_null_or_once
,
61
rep_null_or_more
62
}
repetetion_type
;
63
64
typedef
struct
{
65
selection_type
type;
66
union
{
67
uchar
single;
68
struct
{
69
uchar
low, high;
70
} range;
71
Boolean
array[UCHAR_MAX];
72
} u;
73
repetetion_type
repeat;
74
}
selection
;
75
76
#endif
/* RE_CMP_H */
selection
Definition:
re-cmp.h:71
selection_type
selection_type
Definition:
re-cmp.h:54
rep_null_or_more
Definition:
re-cmp.h:68
rep_once_or_more
Definition:
re-cmp.h:66
sel_single
Definition:
re-cmp.h:57
sel_range
Definition:
re-cmp.h:58
sel_array
Definition:
re-cmp.h:59
repetetion_type
repetetion_type
Definition:
re-cmp.h:64
Boolean
#define Boolean
Definition:
re-cmp.h:50
sel_not_single
Definition:
re-cmp.h:60
rep_once
Definition:
re-cmp.h:65
sel_end
Definition:
re-cmp.h:56
sel_not_range
Definition:
re-cmp.h:61
sel_any
Definition:
re-cmp.h:55
uchar
#define uchar
Definition:
re-cmp.h:49
rep_null_or_once
Definition:
re-cmp.h:67
crossfire-code
server
branches
1.12
include
re-cmp.h
Generated on Sun Nov 18 2018 02:40:29 for Crossfire Server, Branches 1.12 by
1.8.6