aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/sa/tasks/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/sa/tasks/task.h')
-rw-r--r--src/libcharon/sa/tasks/task.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libcharon/sa/tasks/task.h b/src/libcharon/sa/tasks/task.h
index ad41bae7f..eebfb7a57 100644
--- a/src/libcharon/sa/tasks/task.h
+++ b/src/libcharon/sa/tasks/task.h
@@ -151,6 +151,11 @@ struct task_t {
* Destroys a task_t object.
*/
void (*destroy) (task_t *this);
+
+ /**
+ * Swaps the initiator flag in a task (if applicable, NULL OK)
+ */
+ void (*swap_initiator) (task_t *this);
};
#endif /** TASK_H_ @}*/