aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/config/peer_cfg.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2012-10-16 14:21:17 +0200
committerMartin Willi <martin@revosec.ch>2012-10-24 10:17:36 +0200
commitcf62d073f17591fb632dd878983fed7ccf6540b4 (patch)
tree3832811c2ab984c6cc0e15dc5aaef900144d5798 /src/libcharon/config/peer_cfg.h
parent23ca39010e20b1a76850639f2d2aa8a85df9bc32 (diff)
downloadstrongswan-cf62d073f17591fb632dd878983fed7ccf6540b4.tar.bz2
strongswan-cf62d073f17591fb632dd878983fed7ccf6540b4.tar.xz
Move ike_version_t definition from peer_cfg_t to ike_cfg_t
Diffstat (limited to 'src/libcharon/config/peer_cfg.h')
-rw-r--r--src/libcharon/config/peer_cfg.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/libcharon/config/peer_cfg.h b/src/libcharon/config/peer_cfg.h
index 97089e1b0..c4dc63f01 100644
--- a/src/libcharon/config/peer_cfg.h
+++ b/src/libcharon/config/peer_cfg.h
@@ -23,7 +23,6 @@
#ifndef PEER_CFG_H_
#define PEER_CFG_H_
-typedef enum ike_version_t ike_version_t;
typedef enum cert_policy_t cert_policy_t;
typedef enum unique_policy_t unique_policy_t;
typedef struct peer_cfg_t peer_cfg_t;
@@ -38,23 +37,6 @@ typedef struct peer_cfg_t peer_cfg_t;
#include <credentials/auth_cfg.h>
/**
- * IKE version.
- */
-enum ike_version_t {
- /** any version */
- IKE_ANY = 0,
- /** IKE version 1 */
- IKEV1 = 1,
- /** IKE version 2 */
- IKEV2 = 2,
-};
-
-/**
- * enum strings fro ike_version_t
- */
-extern enum_name_t *ike_version_names;
-
-/**
* Certificate sending policy. This is also used for certificate
* requests when using this definition for the other peer. If
* it is CERT_NEVER_SEND, a certreq is omitted, otherwise its