Expand description
UDF plugin interface.
A dynamically loaded library must export udf_create / udf_destroy
and may optionally export udf_abi_version for compatibility checks.
Constants§
- UDF_
ABI_ VERSION - ABI version implemented by the host. Plugins reporting a different
version through
udf_abi_versionare rejected at load time. - UDF_
ABI_ VERSION_ SYMBOL - Symbol name of the optional ABI version probe.
- UDF_
CREATE_ SYMBOL - Symbol name of the plugin factory function.
- UDF_
DESTROY_ SYMBOL - Symbol name of the plugin destructor function.
Traits§
- UdfPlugin
- Plugin interface implemented by user defined functions.
Functions§
- check_
arity - Validate the argument count against the plugin-declared range.
Type Aliases§
- Shared
Plugin - Shared ownership handle used to register a plugin as a custom function.
- UdfAbi
Version Fn - Optional ABI version probe exported by a UDF dynamic library.
- UdfCreate
Fn - Factory function type exported by a UDF dynamic library.
- UdfDestroy
Fn - Destructor function type exported by a UDF dynamic library.