From 91443667d532bb3336800babdbcc993318c29cdf Mon Sep 17 00:00:00 2001 From: Jan Hutter Date: Wed, 16 Nov 2005 16:50:13 +0000 Subject: - spi_t replaced with u_int64_t --- Source/charon/message.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Source/charon/message.h') diff --git a/Source/charon/message.h b/Source/charon/message.h index 7fbeb2e7a..f08076284 100644 --- a/Source/charon/message.h +++ b/Source/charon/message.h @@ -158,6 +158,18 @@ struct message_s { * - EXCHANGE_TYPE_NOT_SET if exchange type is currently not set * .... */ + + /** + * @brief Parses header of message + * + * @param this message_t object + * @return + * - SUCCESS if header could be parsed + * - NOT_SUPPORTED if payload_type is not supported + * - OUT_OF_RES if out of ressources + * - PARSE_ERROR if corrupted/invalid data found + */ + status_t (*parse_header) (message_t *this); status_t (*generate) (message_t *this, packet_t **packet); status_t (*get_source) (message_t *this, host_t **host); -- cgit v1.2.3