diff --git a/src/graph_def.h b/src/graph_def.h
index 456602b6004fb2f9331fe081fc0ce0c0da02cfeb..ed9a24c11b28ed800466fbf94a23b8d009cdff2f 100644 (file)
--- a/src/graph_def.h
+++ b/src/graph_def.h
+/**
+ * collection4 - graph_def.h
+ * Copyright (C) 2010 Florian octo Forster
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301 USA
+ *
+ * Authors:
+ * Florian octo Forster <ff at octo.it>
+ **/
+
#ifndef GRAPH_DEF_H
#define GRAPH_DEF_H 1
+#include <yajl/yajl_gen.h>
+
#include "graph_types.h"
#include "utils_array.h"
#include "oconfig.h"
int def_get_rrdargs (graph_def_t *def, graph_ident_t *ident,
rrd_args_t *args);
+int def_to_json (const graph_def_t *def, yajl_gen handler);
+
/* vim: set sw=2 sts=2 et fdm=marker : */
#endif