diff options
author | Tobias Brunner <tobias@strongswan.org> | 2007-10-02 11:42:27 +0000 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2007-10-02 11:42:27 +0000 |
commit | 1fbcbe32d0b9c6e1e874e103b44218e26e4b3c32 (patch) | |
tree | 7236fad34ec54b6f6be16eae79aa87f0b9ae612d /src/charon/encoding/message.h | |
parent | 6e19327473ff00827b8497159cebcd0435e1a427 (diff) | |
download | strongswan-1fbcbe32d0b9c6e1e874e103b44218e26e4b3c32.tar.bz2 strongswan-1fbcbe32d0b9c6e1e874e103b44218e26e4b3c32.tar.xz |
get_first_payload_type for message_t
Diffstat (limited to 'src/charon/encoding/message.h')
-rw-r--r-- | src/charon/encoding/message.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/charon/encoding/message.h b/src/charon/encoding/message.h index 8f0be56a9..35b659f33 100644 --- a/src/charon/encoding/message.h +++ b/src/charon/encoding/message.h @@ -6,7 +6,8 @@ */ /* - * Copyright (C) 2006 Tobias Brunner, Daniel Roethlisberger + * Copyright (C) 2006-2007 Tobias Brunner + * Copyright (C) 2006 Daniel Roethlisberger * Copyright (C) 2005-2006 Martin Willi * Copyright (C) 2005 Jan Hutter * Hochschule fuer Technik Rapperswil @@ -152,6 +153,14 @@ struct message_t { * @return exchange type of the message */ exchange_type_t (*get_exchange_type) (message_t *this); + + /** + * @brief Gets the payload type of the first payload. + * + * @param this message_t object + * @return payload type of the first payload + */ + payload_type_t (*get_first_payload_type) (message_t *this); /** * @brief Sets the request flag. |