#endif
);
-static inline int
-plugin_call(const struct plugin_list *pl,
- const int type,
- const struct argv *av,
- struct plugin_return *pr,
- struct env_set *es)
-{
- return plugin_call_ssl(pl, type, av, pr, es
-#ifdef USE_SSL
- , -1, NULL
-#endif
- );
-}
-
void plugin_list_close (struct plugin_list *pl);
bool plugin_defined (const struct plugin_list *pl, const int type);
}
#else
-
struct plugin_list { int dummy; };
struct plugin_return { int dummy; };
}
static inline int
-plugin_call (const struct plugin_list *pl,
+plugin_call_ssl (const struct plugin_list *pl,
const int type,
const struct argv *av,
struct plugin_return *pr,
#endif /* ENABLE_PLUGIN */
+static inline int
+plugin_call(const struct plugin_list *pl,
+ const int type,
+ const struct argv *av,
+ struct plugin_return *pr,
+ struct env_set *es)
+{
+ return plugin_call_ssl(pl, type, av, pr, es
+#ifdef USE_SSL
+ , -1, NULL
+#endif
+ );
+}
+
#endif /* OPENVPN_PLUGIN_H */