2006-06-12 08:42:32 +00:00
|
|
|
/* stroke keywords
|
|
|
|
* Copyright (C) 2006 Andreas Steffen
|
|
|
|
* Hochschule fuer Technik Rapperswil, Switzerland
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
|
|
* option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
* for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _STROKE_KEYWORDS_H_
|
|
|
|
#define _STROKE_KEYWORDS_H_
|
|
|
|
|
|
|
|
typedef enum {
|
|
|
|
STROKE_ADD,
|
|
|
|
STROKE_DEL,
|
|
|
|
STROKE_DELETE,
|
|
|
|
STROKE_ROUTE,
|
2006-07-21 13:31:53 +00:00
|
|
|
STROKE_UNROUTE,
|
2006-06-12 08:42:32 +00:00
|
|
|
STROKE_UP,
|
2013-06-16 14:30:21 +00:00
|
|
|
STROKE_UP_NOBLK,
|
2006-06-12 08:42:32 +00:00
|
|
|
STROKE_DOWN,
|
2013-06-16 14:30:21 +00:00
|
|
|
STROKE_DOWN_NOBLK,
|
2008-07-01 13:47:26 +00:00
|
|
|
STROKE_DOWN_SRCIP,
|
2010-11-03 14:12:05 +00:00
|
|
|
STROKE_REKEY,
|
2006-06-12 08:42:32 +00:00
|
|
|
STROKE_LOGLEVEL,
|
|
|
|
STROKE_STATUS,
|
|
|
|
STROKE_STATUSALL,
|
2011-05-04 09:21:33 +00:00
|
|
|
STROKE_STATUSALL_NOBLK,
|
2008-10-08 07:00:13 +00:00
|
|
|
STROKE_LIST_PUBKEYS,
|
2006-06-12 08:42:32 +00:00
|
|
|
STROKE_LIST_CERTS,
|
|
|
|
STROKE_LIST_CACERTS,
|
2007-02-14 01:03:08 +00:00
|
|
|
STROKE_LIST_OCSPCERTS,
|
2007-04-14 17:33:02 +00:00
|
|
|
STROKE_LIST_AACERTS,
|
|
|
|
STROKE_LIST_ACERTS,
|
|
|
|
STROKE_LIST_GROUPS,
|
2007-02-14 01:03:08 +00:00
|
|
|
STROKE_LIST_CAINFOS,
|
2006-06-12 08:42:32 +00:00
|
|
|
STROKE_LIST_CRLS,
|
2007-02-14 01:03:08 +00:00
|
|
|
STROKE_LIST_OCSP,
|
2008-08-28 09:24:42 +00:00
|
|
|
STROKE_LIST_ALGS,
|
2011-06-29 13:45:32 +00:00
|
|
|
STROKE_LIST_PLUGINS,
|
2006-06-20 06:08:33 +00:00
|
|
|
STROKE_LIST_ALL,
|
2007-08-10 08:05:03 +00:00
|
|
|
STROKE_REREAD_SECRETS,
|
2006-06-20 06:08:33 +00:00
|
|
|
STROKE_REREAD_CACERTS,
|
2007-02-14 01:03:08 +00:00
|
|
|
STROKE_REREAD_OCSPCERTS,
|
2007-04-14 17:33:02 +00:00
|
|
|
STROKE_REREAD_AACERTS,
|
|
|
|
STROKE_REREAD_ACERTS,
|
2006-06-20 06:08:33 +00:00
|
|
|
STROKE_REREAD_CRLS,
|
2007-02-14 01:03:08 +00:00
|
|
|
STROKE_REREAD_ALL,
|
2008-12-10 13:00:02 +00:00
|
|
|
STROKE_PURGE_OCSP,
|
2010-12-10 10:16:39 +00:00
|
|
|
STROKE_PURGE_CRLS,
|
|
|
|
STROKE_PURGE_CERTS,
|
2009-05-15 09:02:04 +00:00
|
|
|
STROKE_PURGE_IKE,
|
2010-08-10 14:57:14 +00:00
|
|
|
STROKE_EXPORT_X509,
|
2013-06-14 09:22:14 +00:00
|
|
|
STROKE_EXPORT_CONN_CERT,
|
|
|
|
STROKE_EXPORT_CONN_CHAIN,
|
2010-08-10 14:57:14 +00:00
|
|
|
STROKE_LEASES,
|
2011-04-29 13:13:15 +00:00
|
|
|
STROKE_MEMUSAGE,
|
2012-04-17 09:18:37 +00:00
|
|
|
STROKE_USER_CREDS,
|
2013-03-15 09:41:04 +00:00
|
|
|
STROKE_COUNTERS,
|
2013-03-15 09:55:22 +00:00
|
|
|
STROKE_COUNTERS_RESET,
|
2006-06-12 08:42:32 +00:00
|
|
|
} stroke_keyword_t;
|
|
|
|
|
2008-10-08 07:00:13 +00:00
|
|
|
#define STROKE_LIST_FIRST STROKE_LIST_PUBKEYS
|
2007-08-10 08:49:03 +00:00
|
|
|
#define STROKE_REREAD_FIRST STROKE_REREAD_SECRETS
|
2007-02-14 01:03:08 +00:00
|
|
|
#define STROKE_PURGE_FIRST STROKE_PURGE_OCSP
|
2010-08-10 14:57:14 +00:00
|
|
|
#define STROKE_EXPORT_FIRST STROKE_EXPORT_X509
|
2006-06-12 08:42:32 +00:00
|
|
|
|
|
|
|
typedef struct stroke_token stroke_token_t;
|
|
|
|
|
2017-09-18 15:57:05 +00:00
|
|
|
extern const stroke_token_t* in_word_set(register const char *str, register GPERF_LEN_TYPE len);
|
2006-06-12 08:42:32 +00:00
|
|
|
|
|
|
|
#endif /* _STROKE_KEYWORDS_H_ */
|