Skip to main content

Module plugin_abi

Module plugin_abi 

Source
Expand description

C-ABI stable protocol for native plugins.

Plugins compiled as separate cdylibs expose a set of #[no_mangle] extern "C" functions. The host loads them via libloading and calls them with JSON-serialized requests/responses, avoiding any Rust ABI compatibility requirements.

Plugin authors never use this module directly — the crate::export_plugin! macro generates the entry points, and the host’s native plugin loader consumes them.

Structs§

CompareRequest
ExtractRequest
PluginDescription
Top-level plugin description returned by _binoc_plugin_describe.
RenderRequest
ReopenRequest
TransformRequest

Enums§

CompareResponse
ExtractResponse
RenderResponse
ReopenResponse
TransformResponse
Serializable version of TransformResult for the C ABI.