d8c9632cf154007e6ecb99cc2ae5695570101c75
[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 * RCSID $Id: keywords.h,v 1.8 2006/04/17 10:30:27 as Exp $
16 */
17
18 #ifndef _STROKE_KEYWORDS_H_
19 #define _STROKE_KEYWORDS_H_
20
21 typedef enum {
22 STROKE_ADD,
23 STROKE_DEL,
24 STROKE_DELETE,
25 STROKE_ROUTE,
26 STROKE_UNROUTE,
27 STROKE_UP,
28 STROKE_DOWN,
29 STROKE_LOGLEVEL,
30 STROKE_STATUS,
31 STROKE_STATUSALL,
32 STROKE_LIST_CERTS,
33 STROKE_LIST_CACERTS,
34 STROKE_LIST_CRLS,
35 STROKE_LIST_ALL,
36 STROKE_REREAD_CACERTS,
37 STROKE_REREAD_CRLS,
38 STROKE_REREAD_ALL
39 } stroke_keyword_t;
40
41 #define STROKE_LIST_FIRST STROKE_LIST_CERTS
42 #define STROKE_REREAD_FIRST STROKE_REREAD_CACERTS
43
44 typedef struct stroke_token stroke_token_t;
45
46 extern const stroke_token_t* in_word_set(register const char *str, register unsigned int len);
47
48 #endif /* _STROKE_KEYWORDS_H_ */
49