ike-sa-manager: Remove IKE_SA checkout by CHILD_SA reqid

This commit is contained in:
Martin Willi
2015-02-20 13:34:51 +01:00
parent 246dcf8691
commit db80d0d2da
5 changed files with 16 additions and 40 deletions
+3 -7
View File
@@ -129,19 +129,15 @@ struct ike_sa_manager_t {
/**
* Check out an IKE_SA a unique ID.
*
* Every IKE_SA and every CHILD_SA is uniquely identified by an ID.
* These checkout function uses, depending
* on the child parameter, the unique ID of the IKE_SA or the reqid
* of one of a IKE_SAs CHILD_SA.
* Every IKE_SA is uniquely identified by a numerical ID. This checkout
* function uses the unique ID of the IKE_SA to check it out.
*
* @param id unique ID of the object
* @param child TRUE to use CHILD, FALSE to use IKE_SA
* @return
* - checked out IKE_SA, if found
* - NULL, if not found
*/
ike_sa_t* (*checkout_by_id) (ike_sa_manager_t* this, u_int32_t id,
bool child);
ike_sa_t* (*checkout_by_id) (ike_sa_manager_t* this, u_int32_t id);
/**
* Check out an IKE_SA by the policy/connection name.