summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b703e31)
raw | patch | inline | side by side (parent: b703e31)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 25 Mar 2008 22:58:08 +0000 (22:58 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 25 Mar 2008 22:58:08 +0000 (22:58 +0000) |
src/rrd_restore.c | patch | blob | history |
diff --git a/src/rrd_restore.c b/src/rrd_restore.c
index fa8493adf893b45ca91040fb18138fe8e7583004..d6b0d5aec108eeb0fa318656b6bdea4b4c24f890 100644 (file)
--- a/src/rrd_restore.c
+++ b/src/rrd_restore.c
* This file: Copyright 2008 Florian octo Forster
* Distributed under the GPL
*****************************************************************************
- * rrd_thread_safe.c Contains routines used when thread safety is required
+ * rrd_restore.c Contains logic to parse XML input and create an RRD file
*****************************************************************************
* $Id$
*************************************************************************** */
-* *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;
-either version 2 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 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 * *Authors:
- *Florian octo Forster < octo at verplant.org > **/
+
+/*
+ * 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; either version 2 of the License, or (t 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 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
+ *
+ * Authors:
+ * Florian octo Forster <octo at verplant.org>
+ **/
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "rrd_tool.h"
#include "rrd_rpncalc.h"
#define ARRAY_LENGTH(a) (sizeof (a) / sizeof ((a)[0]))
- static int opt_range_check = 0;
- static int opt_force_overwrite = 0;
+static int opt_range_check = 0;
+static int opt_force_overwrite = 0;
/*
* Auxiliary functions
*/
- static int get_string_from_node(
+static int get_string_from_node(
xmlDoc * doc,
xmlNode * node,
char *buffer,