X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_format_json.h;h=a3eda30413b87b7a364640ef44623d2e3c2f4a72;hb=3d74a63ae43c1786eb9b966e2209c24c5643dae8;hp=f1fbb6e72766d7895446f322644ecedb4c70e617;hpb=649eff4e6f96ba72d693c1442acaa62abdf965e0;p=collectd.git diff --git a/src/utils_format_json.h b/src/utils_format_json.h index f1fbb6e7..a3eda304 100644 --- a/src/utils_format_json.h +++ b/src/utils_format_json.h @@ -28,6 +28,7 @@ #define UTILS_FORMAT_JSON_H 1 #include "collectd.h" + #include "plugin.h" #ifndef JSON_GAUGE_FORMAT @@ -41,5 +42,7 @@ int format_json_value_list (char *buffer, const data_set_t *ds, const value_list_t *vl, int store_rates); int format_json_finalize (char *buffer, size_t *ret_buffer_fill, size_t *ret_buffer_free); +int format_json_notification (char *buffer, size_t buffer_size, + notification_t const *n); #endif /* UTILS_FORMAT_JSON_H */