Module ffi

Module ffi 

Source
Expand description

FFI types and functions used by the plugin to convert between the types OpenVPN pass and expect back and the Rust types the plugin will be exposed to.

Not intended for manual use. Is publicly exported since code generated by the openvpn_plugin macro must access these types and functions.

Modules§

parse
Contains functions for parsing C formatted data from OpenVPN.

Structs§

openvpn_plugin_args_func_in
Struct sent to openvpn_plugin_func_v3 containing input values.
openvpn_plugin_args_func_return
Struct used for returning values from openvpn_plugin_func_v3 to OpenVPN.
openvpn_plugin_args_open_in
Struct sent to openvpn_plugin_open_v3 containing input values.
openvpn_plugin_args_open_return
Struct used for returning values from openvpn_plugin_open_v3 to OpenVPN.

Constants§

OPENVPN_PLUGIN_FUNC_DEFERRED
OPENVPN_PLUGIN_FUNC_ERROR
OPENVPN_PLUGIN_FUNC_SUCCESS