X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_format_graphite.h;h=398defbeabab0b31c8de7916df1ba2b9e86eca8c;hb=master;hp=de90c44cc49895bc35b1184c522406b765ebdb92;hpb=358bf39b09f69220fc8e1b6c2fe98e5e185e3364;p=collectd.git diff --git a/src/utils_format_graphite.h b/src/utils_format_graphite.h deleted file mode 100644 index de90c44c..00000000 --- a/src/utils_format_graphite.h +++ /dev/null @@ -1,40 +0,0 @@ -/** - * collectd - src/utils_format_graphite.h - * Copyright (C) 2012 Thomas Meson - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; only version 2 of the License is applicable. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - * - * Author: - * Thomas Meson - **/ - -#ifndef UTILS_FORMAT_GRAPHITE_H -#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 -#define GRAPHITE_DROP_DUPE_FIELDS 0x08 -#define GRAPHITE_PRESERVE_SEPARATOR 0x10 - -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, - unsigned int flags); - -#endif /* UTILS_FORMAT_GRAPHITE_H */