bus->listen() and the controller wrappers accept a timeout to wait for callbacks
[strongswan.git] / src / conftest / actions.c
index 1844d0c..7532e95 100644 (file)
@@ -65,7 +65,7 @@ static job_requeue_t initiate(char *config)
        {
                DBG1(DBG_CFG, "initiating IKE_SA for CHILD_SA config '%s'", config);
                charon->controller->initiate(charon->controller, peer_cfg, child_cfg,
-                                                                        NULL, NULL);
+                                                                        NULL, NULL, 0);
        }
        else
        {
@@ -207,7 +207,7 @@ static job_requeue_t close_ike(char *config)
        if (id)
        {
                DBG1(DBG_CFG, "closing IKE_SA '%s'", config);
-               charon->controller->terminate_ike(charon->controller, id, NULL, NULL);
+               charon->controller->terminate_ike(charon->controller, id, NULL, NULL, 0);
        }
        else
        {
@@ -246,7 +246,8 @@ static job_requeue_t close_child(char *config)
        if (id)
        {
                DBG1(DBG_CFG, "closing CHILD_SA '%s'", config);
-               charon->controller->terminate_child(charon->controller, id, NULL, NULL);
+               charon->controller->terminate_child(charon->controller, id,
+                                                                                       NULL, NULL, 0);
        }
        else
        {