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.
|
|
|
|
*
|
2007-10-08 20:12:25 +00:00
|
|
|
* RCSID $Id$
|
2006-06-12 08:42:32 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#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,
|
|
|
|
STROKE_DOWN,
|
2008-07-01 13:47:26 +00:00
|
|
|
STROKE_DOWN_SRCIP,
|
2006-06-12 08:42:32 +00:00
|
|
|
STROKE_LOGLEVEL,
|
|
|
|
STROKE_STATUS,
|
|
|
|
STROKE_STATUSALL,
|
|
|
|
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,
|
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,
|
|
|
|
STROKE_PURGE_OCSP
|
2006-06-12 08:42:32 +00:00
|
|
|
} stroke_keyword_t;
|
|
|
|
|
2006-06-20 06:08:33 +00:00
|
|
|
#define STROKE_LIST_FIRST STROKE_LIST_CERTS
|
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
|
2006-06-12 08:42:32 +00:00
|
|
|
|
|
|
|
typedef struct stroke_token stroke_token_t;
|
|
|
|
|
|
|
|
extern const stroke_token_t* in_word_set(register const char *str, register unsigned int len);
|
|
|
|
|
|
|
|
#endif /* _STROKE_KEYWORDS_H_ */
|
|
|
|
|