Added an IKE_SA manager method to enumerate IKE_SA IDs filtered by identities

This commit is contained in:
Martin Willi
2012-03-20 17:31:33 +01:00
parent beab4a90ae
commit cb1a145ce2
2 changed files with 59 additions and 34 deletions
+12
View File
@@ -169,6 +169,18 @@ struct ike_sa_manager_t {
*/
enumerator_t *(*create_enumerator) (ike_sa_manager_t* this, bool wait);
/**
* Create an enumerator over ike_sa_id_t*, matching peer identities.
*
* @param me local peer identity to match
* @param other remote peer identity to match
* @param family address family to match, 0 for any
* @return enumerator over ike_sa_id_t*
*/
enumerator_t* (*create_id_enumerator)(ike_sa_manager_t *this,
identification_t *me, identification_t *other,
int family);
/**
* Checkin the SA after usage.
*