diff options
author | Martin Willi <martin@strongswan.org> | 2008-08-22 10:44:51 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2008-08-22 10:44:51 +0000 |
commit | 822901061beb899947f22288c2dc7eb5a13eeb87 (patch) | |
tree | b3f8e84bba26bd24a8c4d3ba26ad4bf4fc03ec01 /src/charon/sa/ike_sa.h | |
parent | 7c112a12c06c0320ee3945cd593c2beafe6b56dc (diff) | |
download | strongswan-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.h | 16 |
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 |