Skip to main content

Crate libgvproxy_sys

Crate libgvproxy_sys 

Source
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§

LogCallbackFn
Logging callback function type