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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/charon/encoding/message.h b/Source/charon/encoding/message.h
index 8d420fbe2..dfbb10da9 100644
--- a/Source/charon/encoding/message.h
+++ b/Source/charon/encoding/message.h
@@ -282,6 +282,14 @@ struct message_t {
iterator_t * (*get_payload_iterator) (message_t *this);
/**
+ * Returns a clone of the internal stored packet_t object.
+ *
+ * @param this message_t object
+ * @return packet_t object as clone of internal one
+ */
+ packet_t * (*get_packet) (message_t *this);
+
+ /**
* @brief Destroys a message and all including objects.
*
* @param this message_t object