Struct plugin_meta
Defined in File plugin.h
Struct Documentation
-
struct plugin_meta
A plugin exposes some kind of lookup-table, probably in the form of a data structure with symbols pointing to some function or another. The data structure here is to be defined by the user, hence the void pointer field below.
We only define the meta-data for plugins: each plugin shall expose a symbol “liberate_plugin_meta” which points to a function returning a pointer to a structure as defined below.
Public Members
-
plugin_type type
The type of this plugin.
-
plugin_version version
The version of this plugin.
-
void *data
The symbol table or other data.
-
void *plugin_handle
A handle to the plugin itself.
-
plugin_type type