aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/encoding/message.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-11-24 17:45:12 +0100
committerMartin Willi <martin@revosec.ch>2011-01-05 16:45:52 +0100
commit2813be18f5978b430b960c9584a7b33c2c46e1e5 (patch)
tree144cce0f70d87b078258362ffb3b85cf4b9fdcea /src/libcharon/encoding/message.h
parent357e960e40f47e2c14b796981b3e610c78f6e0e5 (diff)
downloadstrongswan-2813be18f5978b430b960c9584a7b33c2c46e1e5.tar.bz2
strongswan-2813be18f5978b430b960c9584a7b33c2c46e1e5.tar.xz
Added a message method to set the "higher version supported" flag
Diffstat (limited to 'src/libcharon/encoding/message.h')
-rw-r--r--src/libcharon/encoding/message.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libcharon/encoding/message.h b/src/libcharon/encoding/message.h
index 0cc00acba..a04048ed0 100644
--- a/src/libcharon/encoding/message.h
+++ b/src/libcharon/encoding/message.h
@@ -154,6 +154,11 @@ struct message_t {
bool (*get_request) (message_t *this);
/**
+ * Set the version flag in the IKE header.
+ */
+ void (*set_version_flag)(message_t *this);
+
+ /**
* Get a reserved bit in the IKE header.
*
* @param nr reserved bit to get in IKE header, 0-4