aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/encoding/message.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/encoding/message.h')
-rw-r--r--src/charon/encoding/message.h11
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.