diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-05-01 15:33:00 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-05-01 15:33:00 +0200 |
commit | 3512dd8de571c8183a7e7476db30a928573d8442 (patch) | |
tree | a6e8e13bc598a4762c96312800451ddf0a8306e6 /openvpn/include/openvpn-plugin.h | |
parent | f26bdab76d0632aa0f1489c58e9ccc28bf1c74ba (diff) |
Support strange certificate + passsword authentication types
Diffstat (limited to 'openvpn/include/openvpn-plugin.h')
-rw-r--r-- | openvpn/include/openvpn-plugin.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/openvpn/include/openvpn-plugin.h b/openvpn/include/openvpn-plugin.h index f82f61fa..1c80eec3 100644 --- a/openvpn/include/openvpn-plugin.h +++ b/openvpn/include/openvpn-plugin.h @@ -43,6 +43,10 @@ typedef X509 openvpn_x509_cert_t; #endif #endif +#ifdef __cplusplus +extern "C" { +#endif + /* * Plug-in types. These types correspond to the set of script callbacks * supported by OpenVPN. @@ -724,4 +728,8 @@ OPENVPN_PLUGIN_DEF openvpn_plugin_handle_t OPENVPN_PLUGIN_FUNC(openvpn_plugin_op OPENVPN_PLUGIN_DEF int OPENVPN_PLUGIN_FUNC(openvpn_plugin_func_v1) (openvpn_plugin_handle_t handle, const int type, const char *argv[], const char *envp[]); +#ifdef __cplusplus +} +#endif + #endif /* OPENVPN_PLUGIN_H_ */ |