X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_format_graphite.h;h=398defbeabab0b31c8de7916df1ba2b9e86eca8c;hb=0ba2f3a1a1db4ed7ce6f990b22b9605e19fc7ab9;hp=a7a05bbbadfea7f006801b6649beb7ed56656f85;hpb=b22ffd9cb1938b4931d7628420a9f0b50461333f;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 */