projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added pointer to florian forsters dtd to the rrd dumpt
[rrdtool.git]
/
src
/
rrd_dump.c
diff --git
a/src/rrd_dump.c
b/src/rrd_dump.c
index
7a904f3
..
f84adbc
100644
(file)
--- a/
src/rrd_dump.c
+++ b/
src/rrd_dump.c
@@
-98,6
+98,8
@@
int rrd_dump_r(
out_file = stdout;
}
out_file = stdout;
}
+ fputs("<?xml version="1.0" encoding=\"utf-8\"?>", out_file);
+ fputs("<!DOCTYPE rrd SYSTEM \"http://oss.oetiker.ch/rrdtool/rrdtool.dtd\">", out_file);
fputs("<!-- Round Robin Database Dump -->", out_file);
fputs("<rrd>", out_file);
if (atoi(rrd.stat_head->version) <= 3) {
fputs("<!-- Round Robin Database Dump -->", out_file);
fputs("<rrd>", out_file);
if (atoi(rrd.stat_head->version) <= 3) {