Added missing task manager factory declaration
authorMartin Willi <martin@revosec.ch>
Fri, 18 Nov 2011 08:50:22 +0000 (09:50 +0100)
committerMartin Willi <martin@revosec.ch>
Tue, 20 Mar 2012 16:30:43 +0000 (17:30 +0100)
src/libcharon/sa/task_manager.h

index b6cf540..42a04fb 100644 (file)
@@ -194,4 +194,12 @@ struct task_manager_t {
        void (*destroy) (task_manager_t *this);
 };
 
+/**
+ * Create a task manager instance for the correct IKE version.
+ *
+ * @param ike_sa                       IKE_SA to create a task manager for
+ * @return                                     task manager implementation for IKE version
+ */
+task_manager_t *task_manager_create(ike_sa_t *ike_sa);
+
 #endif /** TASK_MANAGER_H_ @}*/