f00 plugin host ABI.
ABI contract (v1)
Dynamic plugins are shared libraries (.so / .dylib / .dll) that export:
| Symbol | Signature | Purpose |
|---|---|---|
f00_plugin_abi_version |
extern "C" fn() -> u32 |
Must return [ABI_VERSION] |
f00_plugin_name |
extern "C" fn() -> *const c_char |
NUL-terminated UTF-8 name |
f00_plugin_on_entries_json |
optional extern "C" fn(*const u8, usize, *mut u8, *mut usize) -> i32 |
Transform JSON entry array |
Host discovery paths (first match wins per file):
$F00_PLUGIN_DIR(colon/semicolon separated)~/.f00/plugins~/.config/f00/plugins(Unix) /%APPDATA%\f00\plugins(Windows)
Enable with Cargo feature plugins on f00-cli.