fixed sleep command in ikev1/esp-ah-tunnel scenario
[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_REKEY,
29 STROKE_LOGLEVEL,
30 STROKE_STATUS,
31 STROKE_STATUSALL,
32 STROKE_STATUSALL_NOBLK,
33 STROKE_LIST_PUBKEYS,
34 STROKE_LIST_CERTS,
35 STROKE_LIST_CACERTS,
36 STROKE_LIST_OCSPCERTS,
37 STROKE_LIST_AACERTS,
38 STROKE_LIST_ACERTS,
39 STROKE_LIST_GROUPS,
40 STROKE_LIST_CAINFOS,
41 STROKE_LIST_CRLS,
42 STROKE_LIST_OCSP,
43 STROKE_LIST_ALGS,
44 STROKE_LIST_ALL,
45 STROKE_REREAD_SECRETS,
46 STROKE_REREAD_CACERTS,
47 STROKE_REREAD_OCSPCERTS,
48 STROKE_REREAD_AACERTS,
49 STROKE_REREAD_ACERTS,
50 STROKE_REREAD_CRLS,
51 STROKE_REREAD_ALL,
52 STROKE_PURGE_OCSP,
53 STROKE_PURGE_CRLS,
54 STROKE_PURGE_CERTS,
55 STROKE_PURGE_IKE,
56 STROKE_EXPORT_X509,
57 STROKE_LEASES,
58 STROKE_MEMUSAGE,
59 } stroke_keyword_t;
60
61 #define STROKE_LIST_FIRST STROKE_LIST_PUBKEYS
62 #define STROKE_REREAD_FIRST STROKE_REREAD_SECRETS
63 #define STROKE_PURGE_FIRST STROKE_PURGE_OCSP
64 #define STROKE_EXPORT_FIRST STROKE_EXPORT_X509
65
66 typedef struct stroke_token stroke_token_t;
67
68 extern const stroke_token_t* in_word_set(register const char *str, register unsigned int len);
69
70 #endif /* _STROKE_KEYWORDS_H_ */
71