implemented IKE_SA initiation in manager

This commit is contained in:
Martin Willi
2007-11-13 11:58:28 +00:00
parent 30a68d715b
commit e8287a405e
16 changed files with 275 additions and 105 deletions
+12 -2
View File
@@ -59,9 +59,19 @@ struct gateway_t {
* @brief Terminate an IKE or a CHILD SA.
*
* @param ike TRUE for IKE-, FALSE for a CHILD-SA
* @return TRUE if successful
* @param id ID of the SA to terminate
* @return enumerator over control response XML children
*/
bool (*terminate)(gateway_t *this, bool ike, u_int32_t id);
enumerator_t* (*terminate)(gateway_t *this, bool ike, u_int32_t id);
/**
* @brief Initiate an IKE or a CHILD SA.
*
* @param ike TRUE for IKE-, FALSE for CHILD-SA
* @param name name of the peer/child config
* @return enumerator over control response XML children
*/
enumerator_t* (*initiate)(gateway_t *this, bool ike, char *name);
/**
* @brief Destroy a gateway instance.