diff options
author | Martin Willi <martin@revosec.ch> | 2010-11-02 14:21:38 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2011-01-05 16:45:41 +0100 |
commit | 363ec8986cf497b75b23b9c99c2798476d555f58 (patch) | |
tree | da09acd1c333055b52f5fc5116455990f9e830f0 /src/libcharon/encoding/message.h | |
parent | 6260e6fe12509a5f69827993fbdcefa20529fe04 (diff) | |
download | strongswan-363ec8986cf497b75b23b9c99c2798476d555f58.tar.bz2 strongswan-363ec8986cf497b75b23b9c99c2798476d555f58.tar.xz |
Added a message_t option to disable automatic payload sorting
Diffstat (limited to 'src/libcharon/encoding/message.h')
-rw-r--r-- | src/libcharon/encoding/message.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libcharon/encoding/message.h b/src/libcharon/encoding/message.h index 8c1cbcd09..86c39ad7e 100644 --- a/src/libcharon/encoding/message.h +++ b/src/libcharon/encoding/message.h @@ -181,6 +181,11 @@ struct message_t { chunk_t data); /** + * Disable automatic payload sorting for this message. + */ + void (*disable_sort)(message_t *this); + + /** * Parses header of message. * * Begins parisng of a message created via message_create_from_packet(). |