Move ike_version_t definition from peer_cfg_t to ike_cfg_t

This commit is contained in:
Martin Willi
2012-10-24 10:17:36 +02:00
parent 23ca39010e
commit cf62d073f1
4 changed files with 24 additions and 24 deletions
-18
View File
@@ -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;
@@ -37,23 +36,6 @@ typedef struct peer_cfg_t peer_cfg_t;
#include <config/child_cfg.h>
#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