X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=src%2Finclude%2Fcore%2Fplugin.h;h=69c18b41d0ff2cd38d432852d2b1854fee9b8ff8;hp=e5e222fe6c7ca286512e3a7d5c0ba3721ad8a1a6;hb=32d934c91fc7d08f9d4ba0426366aeb202d7a468;hpb=e6fca772f02564a63847bb2103ad754f1a42ffae diff --git a/src/include/core/plugin.h b/src/include/core/plugin.h index e5e222f..69c18b4 100644 --- a/src/include/core/plugin.h +++ b/src/include/core/plugin.h @@ -64,10 +64,12 @@ typedef struct { * sdb_plugin_load: * Load (any type of) plugin by loading the shared object file and calling the * sdb_module_init function. If specified, 'plugin_ctx' fine-tunes the - * behavior of the plugin. + * behavior of the plugin. If specified, the plugin will be looked up in + * 'basedir', else it defaults to the package libdir. */ int -sdb_plugin_load(const char *name, const sdb_plugin_ctx_t *plugin_ctx); +sdb_plugin_load(const char *basedir, const char *name, + const sdb_plugin_ctx_t *plugin_ctx); /* * sdb_plugin_set_info: