Moved CHILD_SA initiate task creation to protocol specific task manager
[strongswan.git] / src / libcharon / sa / task_manager.h
index 6a388e4..d4a8eeb 100644 (file)
@@ -130,6 +130,17 @@ struct task_manager_t {
        void (*queue_ike)(task_manager_t *this);
 
        /**
+        * Queue CHILD_SA establishing tasks.
+        *
+        * @param cfg                   CHILD_SA config to establish
+        * @param reqid                 reqid to use for CHILD_SA
+        * @param tsi                   initiator traffic selector, if packet-triggered
+        * @param tsr                   responder traffic selector, if packet-triggered
+        */
+       void (*queue_child)(task_manager_t *this, child_cfg_t *cfg, u_int32_t reqid,
+                                               traffic_selector_t *tsi, traffic_selector_t *tsr);
+
+       /**
         * Queue liveness checking tasks.
         */
        void (*queue_dpd)(task_manager_t *this);