aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/encoding/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/encoding/message.c')
-rw-r--r--Source/charon/encoding/message.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/charon/encoding/message.c b/Source/charon/encoding/message.c
index 5a6501d54..db6efb369 100644
--- a/Source/charon/encoding/message.c
+++ b/Source/charon/encoding/message.c
@@ -36,13 +36,13 @@
#include <encoding/payloads/payload.h>
+typedef struct supported_payload_entry_t supported_payload_entry_t;
+
/**
* Supported payload entry used in message_rule_t
*
*/
-typedef struct supported_payload_entry_s supported_payload_entry_t;
-
-struct supported_payload_entry_s {
+struct supported_payload_entry_t {
/**
* Payload type
*/
@@ -59,13 +59,13 @@ struct supported_payload_entry_s {
size_t max_occurence;
};
+typedef struct message_rule_t message_rule_t;
+
/**
* Message Rule used to find out which payloads are supported by each message type
*
*/
-typedef struct message_rule_s message_rule_t;
-
-struct message_rule_s {
+struct message_rule_t {
/**
* Type of message
*/