- added clone functionality

This commit is contained in:
Jan Hutter
2005-11-08 09:10:15 +00:00
parent 53f7a5f840
commit 2598643ad8
2 changed files with 28 additions and 6 deletions
+11 -2
View File
@@ -68,11 +68,20 @@ struct ike_sa_id_s {
* @brief Check if two ike_sa_ids are equal
*
* @param this ike_sa_id object
* @param this other ike_sa_id object to check if equal
* @param other ike_sa_id object to check if equal
* @param are_equal is set to TRUE, if given ike_sa_ids are equal, FALSE otherwise
* @return SUCCESSFUL if succeeded, FAILED otherwise
*/
status_t (*equals) (ike_sa_id_t *this,ike_sa_id_t *other, bool *are_equal);
status_t (*equals) (ike_sa_id_t *this,ike_sa_id_t *other, bool *are_equal);
/**
* @brief Clones a given ike_sa_id-Object
*
* @param this ike_sa_id object
* @param other ike_sa_id object which will be created
* @return SUCCESSFUL if succeeded, FAILED otherwise
*/
status_t (*clone) (ike_sa_id_t *this,ike_sa_id_t **clone_of_this);
/**
* @brief Destroys a ike_sa_id object