X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fplugin.h;h=25c745cbbccede74eb1398da38653d129566b248;hb=89783745dc59079eab34e0c52de6e5e972f50eb2;hp=428c4f09319c5818c7ad89985a2561d12dd5cc4e;hpb=f46cf590f7e0a25fe5f826b762766f39e1f3a1f6;p=collectd.git diff --git a/src/plugin.h b/src/plugin.h index 428c4f09..25c745cb 100644 --- a/src/plugin.h +++ b/src/plugin.h @@ -100,9 +100,13 @@ typedef struct data_set_s data_set_t; typedef struct notification_s { int severity; - char message[NOTIF_MAX_MSG_LEN]; time_t time; + char message[NOTIF_MAX_MSG_LEN]; char host[DATA_MAX_NAME_LEN]; + char plugin[DATA_MAX_NAME_LEN]; + char plugin_instance[DATA_MAX_NAME_LEN]; + char type[DATA_MAX_NAME_LEN]; + char type_instance[DATA_MAX_NAME_LEN]; } notification_t; /* @@ -144,7 +148,7 @@ void plugin_set_dir (const char *dir); int plugin_load (const char *name); void plugin_init_all (void); -void plugin_read_all (const int *loop); +void plugin_read_all (void); void plugin_shutdown_all (void); /*