Skip to main content

Module plugin

Module plugin 

Source
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_version are 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§

SharedPlugin
Shared ownership handle used to register a plugin as a custom function.
UdfAbiVersionFn
Optional ABI version probe exported by a UDF dynamic library.
UdfCreateFn
Factory function type exported by a UDF dynamic library.
UdfDestroyFn
Destructor function type exported by a UDF dynamic library.