aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/encoding/payloads/configuration_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/configuration_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/configuration_attribute.h')
-rw-r--r--src/charon/encoding/payloads/configuration_attribute.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/charon/encoding/payloads/configuration_attribute.h b/src/charon/encoding/payloads/configuration_attribute.h
index 5cd7b2263..51abab61e 100644
--- a/src/charon/encoding/payloads/configuration_attribute.h
+++ b/src/charon/encoding/payloads/configuration_attribute.h
@@ -24,11 +24,13 @@
#ifndef CONFIGURATION_ATTRIBUTE_H_
#define CONFIGURATION_ATTRIBUTE_H_
+typedef enum configuration_attribute_type_t configuration_attribute_type_t;
+typedef struct configuration_attribute_t configuration_attribute_t;
+
#include <types.h>
#include <encoding/payloads/payload.h>
-
/**
* Configuration attribute header length in bytes.
*
@@ -36,9 +38,6 @@
*/
#define CONFIGURATION_ATTRIBUTE_HEADER_LENGTH 4
-
-typedef enum configuration_attribute_type_t configuration_attribute_type_t;
-
/**
* Type of the attribute, as in IKEv2 RFC 3.15.1.
*
@@ -68,8 +67,6 @@ enum configuration_attribute_type_t {
*/
extern enum_name_t *configuration_attribute_type_names;
-typedef struct configuration_attribute_t configuration_attribute_t;
-
/**
* @brief Class representing an IKEv2-CONFIGURATION Attribute.
*