$darkmode
|
Elektra 0.11.0
|
Interna of plugin functionality. More...

Functions | |
| Plugin * | elektraPluginOpen (const char *name, KeySet *modules, KeySet *config, Key *errorKey) |
| Opens a plugin. More... | |
| size_t | elektraPluginGetFunction (Plugin *plugin, const char *name) |
| Retrieves a function exported by a plugin. More... | |
| const char * | elektraPluginPhaseName (ElektraKdbPhase phase) |
| Gets a string with the name of the given constant for a plugin phase. More... | |
Interna of plugin functionality.
| size_t elektraPluginGetFunction | ( | Plugin * | plugin, |
| const char * | name | ||
| ) |
Retrieves a function exported by a plugin.
| plugin | Plugin handle |
| name | Function name. Must be a valid key name suffix. May not contain the sequence '..' |
| Plugin* elektraPluginOpen | ( | const char * | name, |
| KeySet * | modules, | ||
| KeySet * | config, | ||
| Key * | errorKey | ||
| ) |
Opens a plugin.
The config will be used as is. So be sure to transfer ownership of the config to it, with e.g. ksDup(). elektraPluginClose() will delete the config.
| const char* elektraPluginPhaseName | ( | ElektraKdbPhase | phase | ) |
Gets a string with the name of the given constant for a plugin phase.
| phase | The ElektraKdbPhase value for which a string representation should be returned |
| ??? | if an unknown value for the phase was given |