ike-sa: Expose task_manager_t::remove_task()

This commit is contained in:
Tobias Brunner
2018-12-07 10:32:12 +01:00
parent 4505e3c0df
commit b71604011a
2 changed files with 17 additions and 0 deletions
+10
View File
@@ -1124,6 +1124,16 @@ struct ike_sa_t {
*/
enumerator_t* (*create_task_enumerator)(ike_sa_t *this, task_queue_t queue);
/**
* Remove the task the given enumerator points to.
*
* @note This should be used with caution, in partciular, for tasks in the
* active and passive queues.
*
* @param enumerator enumerator created with the method above
*/
void (*remove_task)(ike_sa_t *this, enumerator_t *enumerator);
/**
* Flush a task queue, cancelling all tasks in it.
*