X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_format_graphite.h;h=398defbeabab0b31c8de7916df1ba2b9e86eca8c;hb=42ca41a0798e3a2b742f7da3bacc03fbaf6175fa;hp=a7a05bbbadfea7f006801b6649beb7ed56656f85;hpb=defd9a4014a34640b1228bbcb96e6aa99e8bbb37;p=collectd.git diff --git a/src/utils_format_graphite.h b/src/utils_format_graphite.h index a7a05bbb..398defbe 100644 --- a/src/utils_format_graphite.h +++ b/src/utils_format_graphite.h @@ -25,10 +25,14 @@ #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, - _Bool store_rates); + unsigned int flags); #endif /* UTILS_FORMAT_GRAPHITE_H */