Structs§
- Extism
Cancel Handle - Extism
Function - Wraps host functions
- Extism
Val ExtismVal
holds the type and value of a function argument/return
Functions§
- extism_
context_ ⚠free - Free a context
- extism_
context_ ⚠new - Create a new context
- extism_
context_ ⚠reset - Remove all plugins from the registry
- extism_
current_ ⚠plugin_ memory - Returns a pointer to the memory of the currently running plugin NOTE: this should only be called from host functions.
- extism_
current_ ⚠plugin_ memory_ alloc - Allocate a memory block in the currently running plugin NOTE: this should only be called from host functions.
- extism_
current_ ⚠plugin_ memory_ free - Free an allocated memory block NOTE: this should only be called from host functions.
- extism_
current_ ⚠plugin_ memory_ length - Get the length of an allocated block NOTE: this should only be called from host functions.
- extism_
error ⚠ - Get the error associated with a
Context
orPlugin
, ifplugin
is-1
then the context error will be returned - extism_
function_ ⚠free - Free an
ExtismFunction
- extism_
function_ ⚠new - Create a new host function
- extism_
function_ ⚠set_ namespace - Set the namespace of an
ExtismFunction
- extism_
log_ ⚠file - Set log file and level
- extism_
plugin_ ⚠call - Call a function
- extism_
plugin_ ⚠cancel - Cancel a running plugin
- extism_
plugin_ ⚠cancel_ handle - Get plugin ID for cancellation
- extism_
plugin_ ⚠config - Update plugin config values, this will merge with the existing values
- extism_
plugin_ ⚠free - Remove a plugin from the registry and free associated memory
- extism_
plugin_ ⚠function_ exists - Returns true if
func_name
exists - extism_
plugin_ ⚠new - Create a new plugin with additional host functions
- extism_
plugin_ ⚠output_ data - Get a pointer to the output data
- extism_
plugin_ ⚠output_ length - Get the length of a plugin’s output data
- extism_
plugin_ ⚠update - Update a plugin, keeping the existing ID
- extism_
version ⚠ - Get the Extism version string
- get_
context_ error
Type Aliases§
- Extism
Function Type - Host function signature
Unions§
- ValUnion
- A union type for host function argument/return values