diff options
author | Martin Willi <martin@strongswan.org> | 2006-05-19 06:44:08 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-05-19 06:44:08 +0000 |
commit | 86a7937b45b624867af996e30642d6be70f37988 (patch) | |
tree | 3a4aa31ae4c7e54d1757d64f63823b20516a6890 /src/stroke/stroke.h | |
parent | 3e61d63a3a468586b89a5dcf0d6579a58ad5009e (diff) | |
download | strongswan-86a7937b45b624867af996e30642d6be70f37988.tar.bz2 strongswan-86a7937b45b624867af996e30642d6be70f37988.tar.xz |
- applied patch from andreas, which allows certificate listing via stroke
Diffstat (limited to 'src/stroke/stroke.h')
-rw-r--r-- | src/stroke/stroke.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stroke/stroke.h b/src/stroke/stroke.h index cb40cf843..566d2c10c 100644 --- a/src/stroke/stroke.h +++ b/src/stroke/stroke.h @@ -37,6 +37,7 @@ typedef struct stroke_msg_t stroke_msg_t; struct stroke_msg_t { /* length of this message with all strings */ u_int16_t length; + /* type of the message */ enum { /* initiate a connection */ @@ -57,8 +58,11 @@ struct stroke_msg_t { STR_LOGTYPE, /* set the verbosity of a logging context */ STR_LOGLEVEL, + /* show list of locally loaded certificates */ + STR_LIST_CERTS /* more to come */ } type; + union { /* data for STR_INITIATE, STR_INSTALL, STR_UP, STR_DOWN */ struct { @@ -85,6 +89,7 @@ struct stroke_msg_t { u_int level; } loglevel; }; + u_int8_t buffer[]; }; |