aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/control/controller.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2011-05-02 15:28:33 +0200
committerMartin Willi <martin@revosec.ch>2011-05-16 15:24:13 +0200
commit69c3eca0e9681905c4e89695475d82a22bd6bafa (patch)
treed8417f6676a2b3bce87539ca160f2686883e3b21 /src/libcharon/control/controller.h
parent3f064037054a278065f8dd75429457d63da2eb07 (diff)
downloadstrongswan-69c3eca0e9681905c4e89695475d82a22bd6bafa.tar.bz2
strongswan-69c3eca0e9681905c4e89695475d82a22bd6bafa.tar.xz
Added a non-blocking, skipping variant of IKE_SA enumerator
Diffstat (limited to 'src/libcharon/control/controller.h')
-rw-r--r--src/libcharon/control/controller.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcharon/control/controller.h b/src/libcharon/control/controller.h
index 31b69c78c..cf0f0a18b 100644
--- a/src/libcharon/control/controller.h
+++ b/src/libcharon/control/controller.h
@@ -67,9 +67,10 @@ struct controller_t {
* The enumerator blocks the IKE_SA manager until it gets destroyed. Do
* not call another interface/manager method while the iterator is alive.
*
+ * @param wait TRUE to wait for checked out SAs, FALSE to skip
* @return enumerator, locks IKE_SA manager until destroyed
*/
- enumerator_t* (*create_ike_sa_enumerator)(controller_t *this);
+ enumerator_t* (*create_ike_sa_enumerator)(controller_t *this, bool wait);
/**
* Initiate a CHILD_SA, and if required, an IKE_SA.