Module microvmi::capi[][src]

Modules

Functions

This API allows a C program to initialize the logging system in libmicrovmi. This simply calls env_logger::init() Usually, it’s the library consumer who should add this Rust crate dependency, however, with a C program, we provide this workaround where we provide an API to do just that.

return the concrete DriverType for the given Microvmi driver

Entrypoint for libmicrovmi Initializes a specific driver, or all drivers compiled and returns the first one that succeeded

Free a CString allocated by Rust (for ex. using rust_string_to_c)