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