pki: Add pki --signcrl man page
[strongswan.git] / src / starter / keywords.h
1 /*
2 * Copyright (C) 2005 Andreas Steffen
3 * Hochschule fuer Technik Rapperswil, Switzerland
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * for more details.
14 */
15
16 #ifndef _KEYWORDS_H_
17 #define _KEYWORDS_H_
18
19 typedef enum {
20 /* config setup keywords */
21 KW_CHARONDEBUG,
22 KW_UNIQUEIDS,
23 KW_CACHECRLS,
24 KW_STRICTCRLPOLICY,
25 KW_PKCS11_DEPRECATED,
26 KW_SETUP_DEPRECATED,
27
28 #define KW_SETUP_FIRST KW_CHARONDEBUG
29 #define KW_SETUP_LAST KW_SETUP_DEPRECATED
30
31 /* conn section keywords */
32 KW_CONN_NAME,
33 KW_CONN_SETUP,
34 KW_KEYEXCHANGE,
35 KW_TYPE,
36 KW_COMPRESS,
37 KW_INSTALLPOLICY,
38 KW_AGGRESSIVE,
39 KW_AUTH,
40 KW_AUTHBY,
41 KW_EAP_IDENTITY,
42 KW_AAA_IDENTITY,
43 KW_MOBIKE,
44 KW_FORCEENCAPS,
45 KW_FRAGMENTATION,
46 KW_IKEDSCP,
47 KW_IKELIFETIME,
48 KW_KEYLIFE,
49 KW_REKEYMARGIN,
50 KW_LIFEBYTES,
51 KW_MARGINBYTES,
52 KW_LIFEPACKETS,
53 KW_MARGINPACKETS,
54 KW_KEYINGTRIES,
55 KW_REKEYFUZZ,
56 KW_REKEY,
57 KW_REAUTH,
58 KW_IKE,
59 KW_ESP,
60 KW_DPDDELAY,
61 KW_DPDTIMEOUT,
62 KW_DPDACTION,
63 KW_CLOSEACTION,
64 KW_INACTIVITY,
65 KW_MODECONFIG,
66 KW_XAUTH,
67 KW_XAUTH_IDENTITY,
68 KW_MEDIATION,
69 KW_MEDIATED_BY,
70 KW_ME_PEERID,
71 KW_REQID,
72 KW_MARK,
73 KW_MARK_IN,
74 KW_MARK_OUT,
75 KW_TFC,
76 KW_PFS_DEPRECATED,
77 KW_CONN_DEPRECATED,
78
79 #define KW_CONN_FIRST KW_CONN_SETUP
80 #define KW_CONN_LAST KW_CONN_DEPRECATED
81
82 /* ca section keywords */
83 KW_CA_NAME,
84 KW_CA_SETUP,
85 KW_CACERT,
86 KW_CRLURI,
87 KW_CRLURI2,
88 KW_OCSPURI,
89 KW_OCSPURI2,
90 KW_CERTURIBASE,
91 KW_CA_DEPRECATED,
92
93 #define KW_CA_FIRST KW_CA_SETUP
94 #define KW_CA_LAST KW_CA_DEPRECATED
95
96 /* end keywords */
97 KW_HOST,
98 KW_IKEPORT,
99 KW_SUBNET,
100 KW_PROTOPORT,
101 KW_SOURCEIP,
102 KW_DNS,
103 KW_FIREWALL,
104 KW_HOSTACCESS,
105 KW_ALLOWANY,
106 KW_UPDOWN,
107 KW_AUTH1,
108 KW_AUTH2,
109 KW_ID,
110 KW_ID2,
111 KW_SIGKEY,
112 KW_CERT,
113 KW_CERT2,
114 KW_CERTPOLICY,
115 KW_SENDCERT,
116 KW_CA,
117 KW_CA2,
118 KW_GROUPS,
119 KW_GROUPS2,
120 KW_END_DEPRECATED,
121
122 #define KW_END_FIRST KW_HOST
123 #define KW_END_LAST KW_END_DEPRECATED
124
125 /* left end keywords */
126 KW_LEFT,
127 KW_LEFTIKEPORT,
128 KW_LEFTSUBNET,
129 KW_LEFTPROTOPORT,
130 KW_LEFTSOURCEIP,
131 KW_LEFTDNS,
132 KW_LEFTFIREWALL,
133 KW_LEFTHOSTACCESS,
134 KW_LEFTALLOWANY,
135 KW_LEFTUPDOWN,
136 KW_LEFTAUTH,
137 KW_LEFTAUTH2,
138 KW_LEFTID,
139 KW_LEFTID2,
140 KW_LEFTSIGKEY,
141 KW_LEFTCERT,
142 KW_LEFTCERT2,
143 KW_LEFTCERTPOLICY,
144 KW_LEFTSENDCERT,
145 KW_LEFTCA,
146 KW_LEFTCA2,
147 KW_LEFTGROUPS,
148 KW_LEFTGROUPS2,
149 KW_LEFT_DEPRECATED,
150
151 #define KW_LEFT_FIRST KW_LEFT
152 #define KW_LEFT_LAST KW_LEFT_DEPRECATED
153
154 /* right end keywords */
155 KW_RIGHT,
156 KW_RIGHTIKEPORT,
157 KW_RIGHTSUBNET,
158 KW_RIGHTPROTOPORT,
159 KW_RIGHTSOURCEIP,
160 KW_RIGHTDNS,
161 KW_RIGHTFIREWALL,
162 KW_RIGHTHOSTACCESS,
163 KW_RIGHTALLOWANY,
164 KW_RIGHTUPDOWN,
165 KW_RIGHTAUTH,
166 KW_RIGHTAUTH2,
167 KW_RIGHTID,
168 KW_RIGHTID2,
169 KW_RIGHTSIGKEY,
170 KW_RIGHTCERT,
171 KW_RIGHTCERT2,
172 KW_RIGHTCERTPOLICY,
173 KW_RIGHTSENDCERT,
174 KW_RIGHTCA,
175 KW_RIGHTCA2,
176 KW_RIGHTGROUPS,
177 KW_RIGHTGROUPS2,
178 KW_RIGHT_DEPRECATED,
179
180 #define KW_RIGHT_FIRST KW_RIGHT
181 #define KW_RIGHT_LAST KW_RIGHT_DEPRECATED
182
183 /* general section keywords */
184 KW_ALSO,
185 KW_AUTO,
186
187 } kw_token_t;
188
189 #endif /* _KEYWORDS_H_ */