plugin-loader: Optionally use load option in each plugin section to load plugins
[strongswan.git] / src / manager / gateway.h
index 54aade7..5792ebf 100644 (file)
@@ -21,8 +21,8 @@
 #ifndef GATEWAY_H_
 #define GATEWAY_H_
 
-#include <utils/host.h>
-#include <utils/enumerator.h>
+#include <networking/host.h>
+#include <collections/enumerator.h>
 
 typedef struct gateway_t gateway_t;
 
@@ -35,9 +35,10 @@ struct gateway_t {
         * Send an XML request to the gateway.
         *
         * @param xml           xml request string
+        * @param ...           printf style argument list for xml request string
         * @return                      allocated xml response string
         */
-       char* (*request)(gateway_t *this, char *xml);
+       char* (*request)(gateway_t *this, char *xml, ...);
 
        /**
         * Query the list of IKE_SAs and all its children.