diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-01-17 17:38:16 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-01-30 10:07:26 +0100 |
| commit | 2cb2c446e45bf4afaa80ee57cb76957c6436f873 (patch) | |
| tree | 78a827b6e2480a524f3ecf59b6bd8113dff8e227 /talpid_openvpn_plugin/src/lib.rs | |
| parent | deff9f3fc4d4627b07e25bb43eb9a70a0129acaa (diff) | |
| download | mullvadvpn-2cb2c446e45bf4afaa80ee57cb76957c6436f873.tar.xz mullvadvpn-2cb2c446e45bf4afaa80ee57cb76957c6436f873.zip | |
Add initial FFI declarations for an OpenVPN plugin
Diffstat (limited to 'talpid_openvpn_plugin/src/lib.rs')
| -rw-r--r-- | talpid_openvpn_plugin/src/lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/talpid_openvpn_plugin/src/lib.rs b/talpid_openvpn_plugin/src/lib.rs index 656405efb7..a917ead7a5 100644 --- a/talpid_openvpn_plugin/src/lib.rs +++ b/talpid_openvpn_plugin/src/lib.rs @@ -1,2 +1,8 @@ #[macro_use] extern crate lazy_static; + +mod ffi; + +/// Publicly export the functions making up the public interface of the plugin. These are the C FFI +/// functions called by OpenVPN. +pub use ffi::{openvpn_plugin_open_v3, openvpn_plugin_close_v1, openvpn_plugin_func_v3}; |
