/**
* collectd - src/utils_format_graphite.c
* Copyright (C) 2012 Thomas Meson
+ * Copyright (C) 2012 Florian octo Forster
*
* 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
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
- * Author:
+ * Authors:
* Thomas Meson <zllak at hycik.org>
+ * Florian octo Forster <octo at collectd.org>
**/
#include "collectd.h"
return (0);
}
-static void copy_escape_part (char *dst, const char *src, size_t dst_len,
+static void gr_copy_escape_part (char *dst, const char *src, size_t dst_len,
char escape_char)
{
size_t i;
if (postfix == NULL)
postfix = "";
- copy_escape_part (n_host, vl->host,
+ gr_copy_escape_part (n_host, vl->host,
sizeof (n_host), escape_char);
- copy_escape_part (n_plugin, vl->plugin,
+ gr_copy_escape_part (n_plugin, vl->plugin,
sizeof (n_plugin), escape_char);
- copy_escape_part (n_plugin_instance, vl->plugin_instance,
+ gr_copy_escape_part (n_plugin_instance, vl->plugin_instance,
sizeof (n_plugin_instance), escape_char);
- copy_escape_part (n_type, vl->type,
+ gr_copy_escape_part (n_type, vl->type,
sizeof (n_type), escape_char);
- copy_escape_part (n_type_instance, vl->type_instance,
+ gr_copy_escape_part (n_type_instance, vl->type_instance,
sizeof (n_type_instance), escape_char);
if (n_plugin_instance[0] != '\0')