aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/sa/ike_sa.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-08-22 10:44:51 +0000
committerMartin Willi <martin@strongswan.org>2008-08-22 10:44:51 +0000
commit822901061beb899947f22288c2dc7eb5a13eeb87 (patch)
treeb3f8e84bba26bd24a8c4d3ba26ad4bf4fc03ec01 /src/charon/sa/ike_sa.h
parent7c112a12c06c0320ee3945cd593c2beafe6b56dc (diff)
downloadstrongswan-822901061beb899947f22288c2dc7eb5a13eeb87.tar.bz2
strongswan-822901061beb899947f22288c2dc7eb5a13eeb87.tar.xz
ported parts of two-sim branch
eap_identity parameter to exchange in eap_identity some auth_info/peer_cfg refactorings fixed some bugs, introduced new ones
Diffstat (limited to 'src/charon/sa/ike_sa.h')
-rw-r--r--src/charon/sa/ike_sa.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/charon/sa/ike_sa.h b/src/charon/sa/ike_sa.h
index be50fe935..e45d18cea 100644
--- a/src/charon/sa/ike_sa.h
+++ b/src/charon/sa/ike_sa.h
@@ -330,6 +330,22 @@ struct ike_sa_t {
void (*set_other_id) (ike_sa_t *this, identification_t *other);
/**
+ * Get the peers EAP identity.
+ *
+ * The EAP identity is exchanged in a EAP-Identity exchange.
+ *
+ * @return identification, NULL if none set
+ */
+ identification_t* (*get_eap_identity) (ike_sa_t *this);
+
+ /**
+ * Set the peer's EAP identity.
+ *
+ * @param id identification
+ */
+ void (*set_eap_identity) (ike_sa_t *this, identification_t *id);
+
+ /**
* Get the config used to setup this IKE_SA.
*
* @return ike_config