Wrap task enumerator in ike_sa

This commit is contained in:
Martin Willi
2010-06-07 11:37:55 +02:00
parent 8bced61b76
commit ea340ee840
2 changed files with 16 additions and 1 deletions
+9 -1
View File
@@ -37,7 +37,7 @@ typedef struct ike_sa_t ike_sa_t;
#include <encoding/payloads/configuration_attribute.h>
#include <sa/ike_sa_id.h>
#include <sa/child_sa.h>
#include <sa/tasks/task.h>
#include <sa/task_manager.h>
#include <sa/keymat.h>
#include <config/peer_cfg.h>
#include <config/ike_cfg.h>
@@ -887,6 +887,14 @@ struct ike_sa_t {
*/
void (*set_kmaddress) (ike_sa_t *this, host_t *local, host_t *remote);
/**
* Create enumerator over a task queue of this IKE_SA.
*
* @param queue type to enumerate
* @return enumerator over task_t
*/
enumerator_t* (*create_task_enumerator)(ike_sa_t *this, task_queue_t queue);
/**
* Inherit all attributes of other to this after rekeying.
*