]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Reordered functions to ensure warning-free Windows build
authorAdriaan de Jong <dejong@fox-it.com>
Mon, 31 Oct 2011 15:29:17 +0000 (16:29 +0100)
committerDavid Sommerseth <davids@redhat.com>
Mon, 21 Nov 2011 10:51:39 +0000 (11:51 +0100)
Signed-off-by: Adriaan de Jong <dejong@fox-it.com>
Acked-by: Samuli Seppänen <samuli@openvpn.net>
Signed-off-by: David Sommerseth <davids@redhat.com>
plugin.h

index 7aacb477abe4c92b408493ab0c3a95b35b5a2a38..948ab88d55614c5731084b34967a6dcf57ddd2ec 100644 (file)
--- a/plugin.h
+++ b/plugin.h
@@ -122,6 +122,16 @@ void plugin_list_open (struct plugin_list *pl,
 
 struct plugin_list *plugin_list_inherit (const struct plugin_list *src);
 
+int plugin_call_ssl (const struct plugin_list *pl,
+                const int type,
+                const struct argv *av,
+                struct plugin_return *pr,
+                struct env_set *es
+#ifdef USE_SSL
+                , int current_cert_depth,
+                x509_cert_t *current_cert
+#endif
+               );
 
 static inline int
 plugin_call(const struct plugin_list *pl,
@@ -137,17 +147,6 @@ plugin_call(const struct plugin_list *pl,
       );
 }
 
-int plugin_call_ssl (const struct plugin_list *pl,
-                const int type,
-                const struct argv *av,
-                struct plugin_return *pr,
-                struct env_set *es
-#ifdef USE_SSL
-                , int current_cert_depth,
-                x509_cert_t *current_cert
-#endif
-               );
-
 void plugin_list_close (struct plugin_list *pl);
 bool plugin_defined (const struct plugin_list *pl, const int type);