diff options
author | Martin Willi <martin@strongswan.org> | 2005-11-16 16:08:44 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-11-16 16:08:44 +0000 |
commit | 62c9615efc04cfb3895c9c02f471d6c460315ae8 (patch) | |
tree | 793afb2abe5206fbc453f02eef6d4a985ed047ea /Source/charon | |
parent | 54d51d391e4524176d92ee1df2075af009f6a7b0 (diff) | |
download | strongswan-62c9615efc04cfb3895c9c02f471d6c460315ae8.tar.bz2 strongswan-62c9615efc04cfb3895c9c02f471d6c460315ae8.tar.xz |
""
Diffstat (limited to 'Source/charon')
-rw-r--r-- | Source/charon/types.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Source/charon/types.h b/Source/charon/types.h index dace7d542..381861a36 100644 --- a/Source/charon/types.h +++ b/Source/charon/types.h @@ -36,26 +36,20 @@ typedef enum status_e { INVALID_ARG, NOT_FOUND, PARSE_ERROR, - EXCHANGE_TYPE_NOT_SET + INVALID_STATE } status_t; -typedef enum ike_sa_role_e { - INITIATOR, - RESPONDER -} ike_sa_role_t; typedef struct timeval timeval_t; typedef struct timespec timespec_t; +typedef struct sockaddr sockaddr_t; + /** * Representates a IKE_SA spi */ -typedef struct spi_s spi_t; -struct spi_s{ - u_int32_t high; - u_int32_t low; -}; +typedef u_int64_t spi_t; /** * General purpose pointer/length abstraction |