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=e5e222fe6c7ca286512e3a7d5c0ba3721ad8a1a6;hp=9701d603cbec0ce2a3026a84d06228627214ec5f;hb=a90a18a7947c8803f7049551bedc81a669a07834;hpb=924c3a5bf7700aad1d118212aecde20a3df0dbd0 diff --git a/src/include/core/plugin.h b/src/include/core/plugin.h index 9701d60..e5e222f 100644 --- a/src/include/core/plugin.h +++ b/src/include/core/plugin.h @@ -273,6 +273,16 @@ sdb_plugin_reconfigure_finish(void); int sdb_plugin_init_all(void); +/* + * sdb_plugin_shutdown_all: + * Shutdown all plugins using their registered "shutdown" function. + * + * Returns: + * The number of failed shutdowns. + */ +int +sdb_plugin_shutdown_all(void); + /* * sdb_plugin_collector_loop: * Loop until loop->do_loop is false, calling the next collector function on