Expand description
Low-level FFI bindings to libgvproxy
This crate provides raw, unsafe bindings to the gvproxy-bridge C library. For a safe, idiomatic Rust API, use the higher-level wrapper in the boxlite crate.
Functions§
- gvproxy_
create ⚠ - Create a new gvproxy instance with port mappings
- gvproxy_
destroy ⚠ - Destroy a gvproxy instance and free resources
- gvproxy_
free_ ⚠string - Free a string allocated by libgvproxy
- gvproxy_
get_ ⚠stats - Get network statistics for a gvproxy instance
- gvproxy_
get_ ⚠version - Get the libgvproxy version string
- gvproxy_
set_ ⚠log_ callback - Set the log callback function for routing gvproxy logs to Rust
Type Aliases§
- LogCallback
Fn - Logging callback function type