"referenced entity .* not found" message fixed to be fatal
[tac_plus.git] / parse.h
1 #ifndef PARSE_H
2 #define PARSE_H 1
3
4 #include "tac_plus.h"
5
6 /*
7    Copyright (c) 1995-1998 by Cisco systems, Inc.
8
9    Permission to use, copy, modify, and distribute this software for
10    any purpose and without fee is hereby granted, provided that this
11    copyright and permission notice appear on all copies of the
12    software and supporting documentation, the name of Cisco Systems,
13    Inc. not be used in advertising or publicity pertaining to
14    distribution of the program without specific prior permission, and
15    notice be given in supporting documentation that modification,
16    copying and distribution is by permission of Cisco Systems, Inc.
17
18    Cisco Systems, Inc. makes no representations about the suitability
19    of this software for any purpose.  THIS SOFTWARE IS PROVIDED ``AS
20    IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
21    WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
22    FITNESS FOR A PARTICULAR PURPOSE.
23 */
24
25
26 /* Keywords & values */
27
28 #define S_eof             99
29 #define S_unknown         101
30 #define S_separator       104
31 #define S_string          106
32 #define S_openbra         107
33 #define S_closebra        108
34 #define S_svc_dflt        109
35
36 #define S_key             1
37 #define S_user            2
38 #define S_group           3
39 #define S_host            4
40 #define S_accounting      5
41 #define S_name            7
42 #define S_login           8
43 #define S_member          9
44 #define S_expires         10
45 #define S_cleartext       11
46 #define S_message         12
47 #define S_arap            13
48 #define S_chap            14
49 #define S_after           15
50 #define S_pap             16
51 #define S_svc             17
52 #define S_before          18
53 #define S_default         19
54 #define S_access          20
55 #define S_deny            21
56 #define S_permit          22
57 #define S_exec            23
58 #define S_protocol        24
59 #define S_optional        25
60 #define S_ip              26
61 #define S_ipx             27
62 #define S_slip            28
63 #define S_ppp             29
64 #define S_file            30
65 #define S_skey            31
66 #define S_authorization   32
67 #define S_authentication  33
68 #define S_cmd             34
69 #define S_attr            35
70 #define S_lcp             36
71 #define S_global          37
72 #define S_des             38
73 #define S_opap            39
74 #ifdef MAXSESS
75 #define S_maxsess         40
76 #endif
77 #define S_nopasswd        41
78 #ifdef MSCHAP
79 #define S_mschap          42
80 #endif /* MSCHAP */
81 #ifdef USE_PAM
82 #define S_pam             43
83 #endif   /*USE_PAM */
84 #ifdef DB
85 #define S_db              44
86 #define S_db_accounting   45
87 #endif  /*DB*/
88 #ifdef USE_LDAP
89 #define S_ldap            47
90 #endif /* LDAP */
91 #define S_time            48
92 #define S_and             49
93 #define S_closeparen      50
94 #define S_enlist          51
95 #define S_first           52
96 #define S_not             53
97 #define S_openparen       54
98 #define S_or              55
99 #define S_recursive       56
100 #define S_when            57
101
102
103 extern void parser_init TAC_ARGS((void));
104 extern int keycode TAC_ARGS((const char *keyword));
105 extern const char *codestring TAC_ARGS((int type));
106
107
108 #endif /* PARSE_H */