aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/encoding/payloads/transform_attribute.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/encoding/payloads/transform_attribute.h')
-rw-r--r--src/charon/encoding/payloads/transform_attribute.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/charon/encoding/payloads/transform_attribute.h b/src/charon/encoding/payloads/transform_attribute.h
index ffc06503c..1588b8f57 100644
--- a/src/charon/encoding/payloads/transform_attribute.h
+++ b/src/charon/encoding/payloads/transform_attribute.h
@@ -24,12 +24,13 @@
#ifndef TRANSFORM_ATTRIBUTE_H_
#define TRANSFORM_ATTRIBUTE_H_
+typedef enum transform_attribute_type_t transform_attribute_type_t;
+typedef struct transform_attribute_t transform_attribute_t;
+
#include <types.h>
#include <encoding/payloads/payload.h>
-typedef enum transform_attribute_type_t transform_attribute_type_t;
-
/**
* Type of the attribute, as in IKEv2 RFC 3.3.5.
*
@@ -47,8 +48,6 @@ enum transform_attribute_type_t {
*/
extern enum_name_t *transform_attribute_type_names;
-typedef struct transform_attribute_t transform_attribute_t;
-
/**
* @brief Class representing an IKEv2- TRANSFORM Attribute.
*