This commit is contained in:
Martin Willi
2005-11-16 16:08:44 +00:00
parent 54d51d391e
commit 62c9615efc
+4 -10
View File
@@ -36,26 +36,20 @@ typedef enum status_e {
INVALID_ARG, INVALID_ARG,
NOT_FOUND, NOT_FOUND,
PARSE_ERROR, PARSE_ERROR,
EXCHANGE_TYPE_NOT_SET INVALID_STATE
} status_t; } status_t;
typedef enum ike_sa_role_e {
INITIATOR,
RESPONDER
} ike_sa_role_t;
typedef struct timeval timeval_t; typedef struct timeval timeval_t;
typedef struct timespec timespec_t; typedef struct timespec timespec_t;
typedef struct sockaddr sockaddr_t;
/** /**
* Representates a IKE_SA spi * Representates a IKE_SA spi
*/ */
typedef struct spi_s spi_t; typedef u_int64_t spi_t;
struct spi_s{
u_int32_t high;
u_int32_t low;
};
/** /**
* General purpose pointer/length abstraction * General purpose pointer/length abstraction