summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2320afb)
raw | patch | inline | side by side (parent: 2320afb)
author | Florian Forster <octo@collectd.org> | |
Thu, 23 Aug 2012 07:03:35 +0000 (09:03 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 23 Aug 2012 07:46:34 +0000 (09:46 +0200) |
Add Florian Forster to the list of copyright holders and authors of
utils_format_graphite.c, since its based on his code.
utils_format_graphite.c, since its based on his code.
AUTHORS | patch | blob | history | |
src/utils_format_graphite.c | patch | blob | history |
index 90560e347acef55d1dc50bac405725b65a6e41fa..78dbad146745dc81edeb800909297eebd3735028 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
- netapp plugin.
- python plugin.
+Thomas Meson <zllak at hycik.org>
+ - Graphite support for the AMQP plugin.
+
Tomasz Pala <gotar at pld-linux.org>
- conntrack plugin.
index b0ebc1ebf05e2f99fc36c8ada8e678b3aed5d16b..49a59c506959fa4938d3cdc60fb6b1fe281fb9b7 100644 (file)
/**
* 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')