diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-06-12 08:43:46 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-06-12 08:43:46 +0000 |
commit | 5347233204f7631609c5a2bc2f4fd65f6ed6773c (patch) | |
tree | 8544572ea1eeee8871bb285cf41ff9f0c6825eb0 /src/stroke/stroke.h | |
parent | 299dbc604f48ed5a44029600b01d77477ecc1fd4 (diff) | |
download | strongswan-5347233204f7631609c5a2bc2f4fd65f6ed6773c.tar.bz2 strongswan-5347233204f7631609c5a2bc2f4fd65f6ed6773c.tar.xz |
support for stroke listcerts|listcacerts|listall and left|rightca=
Diffstat (limited to 'src/stroke/stroke.h')
-rw-r--r-- | src/stroke/stroke.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/stroke/stroke.h b/src/stroke/stroke.h index e9bdedd0e..0544ca8bf 100644 --- a/src/stroke/stroke.h +++ b/src/stroke/stroke.h @@ -30,6 +30,15 @@ #define STROKE_BUF_LEN 2048 +/** + * Definition of the LIST flags + */ +#define LIST_NONE 0x0000 /* don't list anything */ +#define LIST_CERTS 0x0001 /* list all host/user certs */ +#define LIST_CACERTS 0x0002 /* list all ca certs */ +#define LIST_CRLS 0x0004 /* list all crls */ +#define LIST_ALL 0x0007 /* all list options */ + typedef struct stroke_end_t stroke_end_t; struct stroke_end_t { @@ -72,7 +81,7 @@ struct stroke_msg_t { /* set the verbosity of a logging context */ STR_LOGLEVEL, /* show list of locally loaded certificates */ - STR_LIST_CERTS + STR_LIST /* more to come */ } type; @@ -96,16 +105,24 @@ struct stroke_msg_t { stroke_end_t me, other; } add_conn; + /* data for STR_LOGTYPE */ struct { char *context; char *type; int enable; } logtype; + /* data for STR_LOGLEVEL */ struct { char *context; int level; } loglevel; + + /* data for STR_LIST */ + struct { + u_int flags; + bool utc; + } list; }; char buffer[STROKE_BUF_LEN]; }; |