X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=src%2Finclude%2Fcore%2Fplugin.h;fp=src%2Finclude%2Fcore%2Fplugin.h;h=51d59051e5768ee5e73cb848b216876fadf1238c;hp=69c18b41d0ff2cd38d432852d2b1854fee9b8ff8;hb=5ef6f70a8eae3e4ee1a839e10b2d2037382463e0;hpb=98211ed75b3ce19225cb6d6628b0abfa669823ac diff --git a/src/include/core/plugin.h b/src/include/core/plugin.h index 69c18b4..51d5905 100644 --- a/src/include/core/plugin.h +++ b/src/include/core/plugin.h @@ -116,7 +116,7 @@ typedef int (*sdb_plugin_log_cb)(int prio, const char *msg, * - a negative value else */ int -sdb_plugin_register_config(const char *name, sdb_plugin_config_cb callback); +sdb_plugin_register_config(sdb_plugin_config_cb callback); /* * sdb_plugin_register_init: @@ -225,7 +225,7 @@ sdb_plugin_register_log(const char *name, sdb_plugin_log_cb callback, * every plugin care about it. * * If non-NULL, sdb_plugin_set_ctx stores the previous context in the location - * pointed to be 'old'. + * pointed to by 'old'. */ sdb_plugin_ctx_t sdb_plugin_get_ctx(void); @@ -234,8 +234,8 @@ sdb_plugin_set_ctx(sdb_plugin_ctx_t ctx, sdb_plugin_ctx_t *old); /* * sdb_plugin_configure: - * Configure the plugin called 'name' (according to the registered config - * callback) using the config tree 'ci'. + * Configure the plugin called 'name' using the config tree 'ci'. The plugin + * name is the same as the one used when loading the plugin. * * Returns: * - 0 on success