diff options
author | Martin Willi <martin@strongswan.org> | 2006-10-30 14:07:05 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-10-30 14:07:05 +0000 |
commit | 382b481795d973a94efa1bf5635426566a941718 (patch) | |
tree | 901754b00d54493e9181cd096fd283b220411db3 /src/charon/threads/kernel_interface.h | |
parent | 09cb5472bc51d95e6e0fa9c5321ecb0956fcd6c0 (diff) | |
download | strongswan-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/threads/kernel_interface.h')
-rw-r--r-- | src/charon/threads/kernel_interface.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/charon/threads/kernel_interface.h b/src/charon/threads/kernel_interface.h index 4370e8253..2655745a8 100644 --- a/src/charon/threads/kernel_interface.h +++ b/src/charon/threads/kernel_interface.h @@ -25,12 +25,14 @@ #ifndef KERNEL_INTERFACE_H_ #define KERNEL_INTERFACE_H_ +typedef struct natt_conf_t natt_conf_t; +typedef enum policy_dir_t policy_dir_t; +typedef struct kernel_interface_t kernel_interface_t; + #include <utils/host.h> #include <crypto/prf_plus.h> #include <encoding/payloads/proposal_substructure.h> -typedef struct natt_conf_t natt_conf_t; - /** * Configuration for NAT-T */ @@ -41,8 +43,6 @@ struct natt_conf_t { u_int16_t dport; }; -typedef enum policy_dir_t policy_dir_t; - /** * Direction of a policy. These are equal to those * defined in xfrm.h, but we want to stay implementation @@ -57,8 +57,6 @@ enum policy_dir_t { POLICY_FWD = 2, }; -typedef struct kernel_interface_t kernel_interface_t; - /** * @brief Interface to the kernel. * |