Code

added dump and restore ... Mike Schilli <b2b@perlmeister.com>
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 25 May 2004 21:06:59 +0000 (21:06 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 25 May 2004 21:06:59 +0000 (21:06 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@271 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/bindings/perl-shared/RRDs.xs

index bf108e375a1f7dcd3d12cb7eda52655e05cc8443..28a6bde1a200c1b73f5aab8e630311675ae01cad 100644 (file)
@@ -382,3 +382,27 @@ rrd_updatev(...)
     OUTPUT:
           RETVAL
 
+int
+rrd_dump(...)
+       PROTOTYPE: @
+       PREINIT:
+        int i;
+       char **argv;
+       CODE:
+               rrdcode(rrd_dump);
+                       RETVAL = 1;
+       OUTPUT:
+               RETVAL
+
+int
+rrd_restore(...)
+       PROTOTYPE: @
+       PREINIT:
+        int i;
+       char **argv;
+       CODE:
+               rrdcode(rrd_restore);
+                       RETVAL = 1;
+       OUTPUT:
+               RETVAL
+