handle zero size Base64 conversions
[strongswan.git] / src / stroke / stroke_keywords.txt
1 %{
2 /* stroke keywords
3  * Copyright (C) 2006 Andreas Steffen
4  * Hochschule fuer Technik Rapperswil, Switzerland
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License as published by the
8  * Free Software Foundation; either version 2 of the License, or (at your
9  * option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.
10  *
11  * This program is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14  * for more details.
15  */
16
17 #include <string.h>
18
19 #include "stroke_keywords.h"
20
21 %}
22 struct stroke_token {
23     char *name;
24     stroke_keyword_t kw;
25 };
26 %%
27 add,             STROKE_ADD
28 del,             STROKE_DEL
29 delete,          STROKE_DELETE
30 route,           STROKE_ROUTE
31 unroute,         STROKE_UNROUTE
32 up,              STROKE_UP
33 down,            STROKE_DOWN
34 down-srcip,      STROKE_DOWN_SRCIP
35 rekey,           STROKE_REKEY
36 loglevel,        STROKE_LOGLEVEL
37 status,          STROKE_STATUS
38 statusall,       STROKE_STATUSALL
39 listpubkeys,     STROKE_LIST_PUBKEYS
40 listcerts,       STROKE_LIST_CERTS
41 listcacerts,     STROKE_LIST_CACERTS
42 listocspcerts,   STROKE_LIST_OCSPCERTS
43 listaacerts,     STROKE_LIST_AACERTS
44 listacerts,      STROKE_LIST_ACERTS
45 listgroups,      STROKE_LIST_GROUPS
46 listcainfos,     STROKE_LIST_CAINFOS
47 listcrls,        STROKE_LIST_CRLS
48 listocsp,        STROKE_LIST_OCSP
49 listalgs,        STROKE_LIST_ALGS
50 listall,         STROKE_LIST_ALL
51 rereadsecrets,   STROKE_REREAD_SECRETS
52 rereadcacerts,   STROKE_REREAD_CACERTS
53 rereadocspcerts, STROKE_REREAD_OCSPCERTS
54 rereadaacerts,   STROKE_REREAD_AACERTS
55 rereadacerts,    STROKE_REREAD_ACERTS
56 rereadcrls,      STROKE_REREAD_CRLS
57 rereadall,       STROKE_REREAD_ALL
58 purgeocsp,       STROKE_PURGE_OCSP
59 purgecrls,       STROKE_PURGE_CRLS
60 purgecerts,      STROKE_PURGE_CERTS
61 purgeike,        STROKE_PURGE_IKE
62 exportx509,      STROKE_EXPORT_X509
63 leases,          STROKE_LEASES