X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Futils_format_graphite.h;h=60576dacb913d363947e40f1111d7cd701c33e13;hb=f8d0e8e1ab1bf901f43398b8549c302b85979b40;hp=a3c4d85c9f4f2368e3b2bb3df165977315ad06f7;hpb=5eb71045f1d3b72b17e922a86b5014f68345b5b3;p=collectd.git diff --git a/src/utils_format_graphite.h b/src/utils_format_graphite.h index a3c4d85c..60576dac 100644 --- a/src/utils_format_graphite.h +++ b/src/utils_format_graphite.h @@ -23,11 +23,17 @@ #define UTILS_FORMAT_GRAPHITE_H 1 #include "collectd.h" + #include "plugin.h" +#define GRAPHITE_STORE_RATES 0x01 +#define GRAPHITE_SEPARATE_INSTANCES 0x02 +#define GRAPHITE_ALWAYS_APPEND_DS 0x04 + int format_graphite (char *buffer, size_t buffer_size, const data_set_t *ds, const value_list_t *vl, const char *prefix, - const char *postfix, const char escape_char); + const char *postfix, const char escape_char, + unsigned int flags); #endif /* UTILS_FORMAT_GRAPHITE_H */