- refactored ike_sa_manager_t class

This commit is contained in:
Jan Hutter
2005-11-16 07:45:05 +00:00
parent 083254bb69
commit f0ddd8ae26
2 changed files with 190 additions and 60 deletions
+5 -3
View File
@@ -55,14 +55,16 @@ struct ike_sa_manager_s {
* @param ike_sa_manager the manager object
* @param ike_sa_id[in/out] the SA identifier, will be updated
* @param ike_sa[out] checked out SA
* @returns SUCCESS if checkout successful
* NOT_FOUND when no such SA is available
* @returns
* - SUCCESS if checkout successful
* - NOT_FOUND when no such SA is available
* - OUT_OF_RES
*/
status_t (*checkout) (ike_sa_manager_t* ike_sa_manager, ike_sa_id_t *sa_id, ike_sa_t **ike_sa);
/**
* @brief Checkin the SA after usage
*
* @warning the pointer MUST NOT be used after checkin! The SA must be checked
* @warning the SA pointer MUST NOT be used after checkin! The SA must be checked
* out again!
*
* @param ike_sa_manager the manager object