aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/sa/tasks/task.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2011-12-12 15:16:15 +0100
committerMartin Willi <martin@revosec.ch>2012-03-20 17:31:18 +0100
commit590ca1d482e2817558e8e4029e203d1cef749eb7 (patch)
treed3ecaec5942dd4ff0d108e744b36e6f8cb182568 /src/libcharon/sa/tasks/task.h
parent0f61964ed75ded8c40dce8413943f343146bc840 (diff)
downloadstrongswan-590ca1d482e2817558e8e4029e203d1cef749eb7.tar.bz2
strongswan-590ca1d482e2817558e8e4029e203d1cef749eb7.tar.xz
Allow IKEv1 tasks to return ALREADY_DONE to flush all active or passive tasks
Diffstat (limited to 'src/libcharon/sa/tasks/task.h')
-rw-r--r--src/libcharon/sa/tasks/task.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcharon/sa/tasks/task.h b/src/libcharon/sa/tasks/task.h
index d368a6810..7c725944e 100644
--- a/src/libcharon/sa/tasks/task.h
+++ b/src/libcharon/sa/tasks/task.h
@@ -121,6 +121,7 @@ struct task_t {
* - FAILED if a critical error occurred
* - DESTROY_ME if IKE_SA has been properly deleted
* - NEED_MORE if another call to build/process needed
+ * - ALREADY_DONE to cancel all active or passive tasks
* - SUCCESS if task completed
*/
status_t (*build) (task_t *this, message_t *message);
@@ -133,6 +134,7 @@ struct task_t {
* - FAILED if a critical error occurred
* - DESTROY_ME if IKE_SA has been properly deleted
* - NEED_MORE if another call to build/process needed
+ * - ALREADY_DONE to cancel all active or passive tasks
* - SUCCESS if task completed
*/
status_t (*process) (task_t *this, message_t *message);