X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fplugin.h;h=dd65b5982c6eb6ca80e5f8b63d947a00a05ca132;hb=77311aed583ac4566d76f1ce3a1dc9deae2e59dc;hp=56f927be4f083854ac32bbcb275a254f89225c61;hpb=45bd61ea2b32000fcfeafebf89527d99a6446be9;p=collectd.git diff --git a/src/plugin.h b/src/plugin.h index 56f927be..dd65b598 100644 --- a/src/plugin.h +++ b/src/plugin.h @@ -325,6 +325,8 @@ int plugin_dispatch_notification (const notification_t *notif); void plugin_log (int level, const char *format, ...) __attribute__ ((format(printf,2,3))); + +/* These functions return the parsed severity or less than zero on failure. */ int parse_log_severity (const char *severity); int parse_notif_severity (const char *severity);