$darkmode
Elektra 0.9.14
|
Access plugin handle. More...
Functions | |
Plugin * | elektraPluginExport (const char *pluginName,...) |
Allows one to Export Methods for a Plugin. More... | |
KeySet * | elektraPluginGetConfig (Plugin *handle) |
Returns the configuration of that plugin. More... | |
void | elektraPluginSetData (Plugin *plugin, void *data) |
Store a pointer to plugin specific data. More... | |
void * | elektraPluginGetData (Plugin *plugin) |
Get a pointer to the plugin specific data stored before. More... | |
KeySet * | elektraPluginGetGlobalKeySet (Plugin *plugin) |
Get a pointer to the global keyset. More... | |
ElektraKdbPhase | elektraPluginGetPhase (Plugin *plugin) |
Returns the current phase of the current KDB operation. More... | |
Plugin * | elektraPluginFromMountpoint (Plugin *plugin, const char *ref) |
Retrieves the handle for another plugin in the same mountpoint based on a reference. More... | |
Access plugin handle.
Plugin* elektraPluginFromMountpoint | ( | Plugin * | plugin, |
const char * | ref | ||
) |
Retrieves the handle for another plugin in the same mountpoint based on a reference.
The plugins of a mountpoint are defined via system:/elektra/mountpoint/<mp>/pluigns/<ref>
keys in the declaration of the mountpoint. To use this function, you must provide the <ref>
part as ref
.
plugin | active plugin handle |
ref | reference to another plugin |
ref
NULL | if plugin , or ref are NULL , or no plugin was found for ref |
ElektraKdbPhase elektraPluginGetPhase | ( | Plugin * | plugin | ) |