Added a stroke command to export cached x509 certificates to the console
[strongswan.git] / src / stroke / stroke_keywords.h
1 /* stroke keywords
2 * Copyright (C) 2006 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 _STROKE_KEYWORDS_H_
17 #define _STROKE_KEYWORDS_H_
18
19 typedef enum {
20 STROKE_ADD,
21 STROKE_DEL,
22 STROKE_DELETE,
23 STROKE_ROUTE,
24 STROKE_UNROUTE,
25 STROKE_UP,
26 STROKE_DOWN,
27 STROKE_DOWN_SRCIP,
28 STROKE_LOGLEVEL,
29 STROKE_STATUS,
30 STROKE_STATUSALL,
31 STROKE_LIST_PUBKEYS,
32 STROKE_LIST_CERTS,
33 STROKE_LIST_CACERTS,
34 STROKE_LIST_OCSPCERTS,
35 STROKE_LIST_AACERTS,
36 STROKE_LIST_ACERTS,
37 STROKE_LIST_GROUPS,
38 STROKE_LIST_CAINFOS,
39 STROKE_LIST_CRLS,
40 STROKE_LIST_OCSP,
41 STROKE_LIST_ALGS,
42 STROKE_LIST_ALL,
43 STROKE_REREAD_SECRETS,
44 STROKE_REREAD_CACERTS,
45 STROKE_REREAD_OCSPCERTS,
46 STROKE_REREAD_AACERTS,
47 STROKE_REREAD_ACERTS,
48 STROKE_REREAD_CRLS,
49 STROKE_REREAD_ALL,
50 STROKE_PURGE_OCSP,
51 STROKE_PURGE_IKE,
52 STROKE_EXPORT_X509,
53 STROKE_LEASES,
54 } stroke_keyword_t;
55
56 #define STROKE_LIST_FIRST STROKE_LIST_PUBKEYS
57 #define STROKE_REREAD_FIRST STROKE_REREAD_SECRETS
58 #define STROKE_PURGE_FIRST STROKE_PURGE_OCSP
59 #define STROKE_EXPORT_FIRST STROKE_EXPORT_X509
60
61 typedef struct stroke_token stroke_token_t;
62
63 extern const stroke_token_t* in_word_set(register const char *str, register unsigned int len);
64
65 #endif /* _STROKE_KEYWORDS_H_ */
66