Expand description
Contains functions for parsing C formatted data from OpenVPN.
Enums§
- Parse
Error - Error type returned by the ffi parsing functions if the input data is invalid in some way.
Functions§
- env⚠
- Parses a null-terminated array of C strings with “=” delimiters into a key-value map.
- env_
utf8 - Convenience method for plugins to convert the environments given to them into Rust String based environments.
- string_
array ⚠ - Parses a null-terminated C string array into a Vec
for safe usage. - string_
array_ utf8 - Convenience method for plugins to convert the C string arrays they are given into real Rust strings.