implemented IKE_SA initiation in manager
This commit is contained in:
+12
-2
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user