Wrap task managers flush_queue() in IKE_SA

This commit is contained in:
Martin Willi
2012-05-21 14:05:01 +02:00
parent a5c799602f
commit cbc1a20ffe
2 changed files with 14 additions and 0 deletions
+7
View File
@@ -968,6 +968,13 @@ struct ike_sa_t {
*/
enumerator_t* (*create_task_enumerator)(ike_sa_t *this, task_queue_t queue);
/**
* Flush a task queue, cancelling all tasks in it.
*
* @param queue queue type to flush
*/
void (*flush_queue)(ike_sa_t *this, task_queue_t queue);
/**
* Queue a task for initiaton to the task manager.
*