Module tor_util::ffi [] [src]

FFI functions, only to be called from C.

Equivalent C versions of these live in src/common/compat_rust.c

Functions

rust_str_free

Free the passed RustString (rust_str_t in C), to be used in place of tor_free().

rust_str_get

Lends an immutable, NUL-terminated C String.

rust_welcome_string

Returns a short string to announce Rust support during startup.