X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Fplugin.h;h=3c301586c4b6340ad3e639d7589d916d128e7c1b;hb=d0e2590eec07925abdc656cadca205738e3471ed;hp=871eccdc5694dbcbc6dff16c8db61e42f0ab27d4;hpb=829683c47113c0f6305c9089424170ff706d047c;p=collectd.git diff --git a/src/daemon/plugin.h b/src/daemon/plugin.h index 871eccdc..3c301586 100644 --- a/src/daemon/plugin.h +++ b/src/daemon/plugin.h @@ -31,9 +31,10 @@ #include "collectd.h" #include "configfile.h" -#include "meta_data.h" +#include "utils/metadata/meta_data.h" #include "utils_time.h" +#include #include #define DS_TYPE_COUNTER 0 @@ -232,6 +233,7 @@ void plugin_set_dir(const char *dir); * this case. */ int plugin_load(const char *name, bool global); +bool plugin_is_loaded(char const *name); int plugin_init_all(void); void plugin_read_all(void); @@ -244,7 +246,7 @@ int plugin_shutdown_all(void); * * DESCRIPTION * Calls the write function of the given plugin with the provided data set and - * value list. It differs from `plugin_dispatch_value' in that it does not + * value list. It differs from `plugin_dispatch_values' in that it does not * update the cache, does not do threshold checking, call the chain subsystem * and so on. It looks up the requested plugin and invokes the function, end * of story.