aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/encoding/payloads/transform_attribute.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-10-30 14:07:05 +0000
committerMartin Willi <martin@strongswan.org>2006-10-30 14:07:05 +0000
commit382b481795d973a94efa1bf5635426566a941718 (patch)
tree901754b00d54493e9181cd096fd283b220411db3 /src/charon/encoding/payloads/transform_attribute.h
parent09cb5472bc51d95e6e0fa9c5321ecb0956fcd6c0 (diff)
downloadstrongswan-382b481795d973a94efa1bf5635426566a941718.tar.bz2
strongswan-382b481795d973a94efa1bf5635426566a941718.tar.xz
moved typedefs to beginning of files to solve some include problems
splitted authenticator to have a separate implementation for each auth_method_t using va_copy to clone va_lists, should fix proplems on AMD64 some other cleanups
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.
*