aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/encoding/message.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/encoding/message.h')
-rw-r--r--Source/charon/encoding/message.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/charon/encoding/message.h b/Source/charon/encoding/message.h
index dfbb10da9..e3be83653 100644
--- a/Source/charon/encoding/message.h
+++ b/Source/charon/encoding/message.h
@@ -290,6 +290,15 @@ struct message_t {
packet_t * (*get_packet) (message_t *this);
/**
+ * Returns a clone of the internal stored packet_t data.
+ *
+ * @param this message_t object
+ * @return clone of the internal stored packet_t data.
+ */
+ chunk_t (*get_packet_data) (message_t *this);
+
+
+ /**
* @brief Destroys a message and all including objects.
*
* @param this message_t object