4 * @brief Generic type definitions
9 * Copyright (C) 2005 Jan Hutter, Martin Willi
10 * Hochschule fuer Technik Rapperswil
12 * This program is free software; you can redistribute it and/or modify it
13 * under the terms of the GNU General Public License as published by the
14 * Free Software Foundation; either version 2 of the License, or (at your
15 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
27 #include <sys/types.h>
29 typedef enum status_e
{
41 typedef enum ike_sa_role_e
{
46 typedef struct timeval timeval_t
;
48 typedef struct timespec timespec_t
;
51 * Representates a IKE_SA spi
53 typedef struct spi_s spi_t
;
60 * General purpose pointer/length abstraction
62 typedef struct chunk_s chunk_t
;
69 * General purpose boolean type