diff options
author | Martin Willi <martin@revosec.ch> | 2010-06-07 11:37:55 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-06-07 11:37:55 +0200 |
commit | ea340ee8400826c0204eb88dc452248bde227c52 (patch) | |
tree | 4cf2f9fd554bed9ef6ba8f0ced238c7457edf4bb /src/libcharon/sa/ike_sa.h | |
parent | 8bced61b766a0a73f1ee0a093127142b565db88e (diff) | |
download | strongswan-ea340ee8400826c0204eb88dc452248bde227c52.tar.bz2 strongswan-ea340ee8400826c0204eb88dc452248bde227c52.tar.xz |
Wrap task enumerator in ike_sa
Diffstat (limited to 'src/libcharon/sa/ike_sa.h')
-rw-r--r-- | src/libcharon/sa/ike_sa.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/libcharon/sa/ike_sa.h b/src/libcharon/sa/ike_sa.h index c61502edf..372405efc 100644 --- a/src/libcharon/sa/ike_sa.h +++ b/src/libcharon/sa/ike_sa.h @@ -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> @@ -888,6 +888,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. * * When rekeying is completed, all CHILD_SAs, the virtual IP and all |