aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter/confread.h
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-05-15 16:37:02 +0200
committerTobias Brunner <tobias@strongswan.org>2012-06-11 17:33:32 +0200
commitee3026a1e270d73042b245ed5de1c8dcb24cf698 (patch)
tree120d56b1c5fccf0b0742ec9ae53fce85faadd2c9 /src/starter/confread.h
parent5b09310e67a0bb1d9f1aaf07fdc80b297aef4791 (diff)
downloadstrongswan-ee3026a1e270d73042b245ed5de1c8dcb24cf698.tar.bz2
strongswan-ee3026a1e270d73042b245ed5de1c8dcb24cf698.tar.xz
starter: Remove all ties to pluto/libfreeswan.
Moved some types/constants in the process.
Diffstat (limited to 'src/starter/confread.h')
-rw-r--r--src/starter/confread.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/starter/confread.h b/src/starter/confread.h
index 5064f6cd8..9763bf7b8 100644
--- a/src/starter/confread.h
+++ b/src/starter/confread.h
@@ -16,8 +16,6 @@
#ifndef _IPSEC_CONFREAD_H_
#define _IPSEC_CONFREAD_H_
-#include <freeswan.h>
-#include "../pluto/constants.h"
#include <kernel/kernel_ipsec.h>
#include "ipsec-parser.h"
@@ -56,6 +54,22 @@ typedef enum {
} strict_t;
typedef enum {
+ CERT_ALWAYS_SEND,
+ CERT_SEND_IF_ASKED,
+ CERT_NEVER_SEND,
+ CERT_YES_SEND, /* synonym for CERT_ALWAYS_SEND */
+ CERT_NO_SEND, /* synonym for CERT_NEVER_SEND */
+} certpolicy_t;
+
+typedef enum {
+ DPD_ACTION_NONE,
+ DPD_ACTION_CLEAR,
+ DPD_ACTION_HOLD,
+ DPD_ACTION_RESTART,
+ DPD_ACTION_UNKNOW,
+} dpd_action_t;
+
+typedef enum {
/* IPsec options */
SA_OPTION_AUTHENTICATE = 1 << 0, /* use AH instead of ESP? */
SA_OPTION_COMPRESS = 1 << 1, /* use IPComp */