From 8d68033e5cf37ea91eb160e7b8e1c2d171a356f7 Mon Sep 17 00:00:00 2001 From: Jan Hutter Date: Sat, 3 Dec 2005 14:47:58 +0000 Subject: - authentication with preshared key working but code MUST be cleaned --- Source/charon/encoding/message.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Source/charon/encoding/message.h') 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 @@ -289,6 +289,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. * -- cgit v1.2.3