Code

Merge remote-tracking branch 'github/pr/387'
[collectd.git] / src / utils_format_graphite.h
index a7a05bbbadfea7f006801b6649beb7ed56656f85..398defbeabab0b31c8de7916df1ba2b9e86eca8c 100644 (file)
 #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 */