#include "rrd_rpncalc.h"
#include "rrd_client.h"
-#ifdef HAVE_LOCALE_H
#include <locale.h>
-#endif
#if !(defined(NETWARE) || defined(WIN32))
extern char *tzname[2];
size_t len,
void *user);
+int rrd_dump_opt_r(
+ const char *filename,
+ char *outname,
+ int opt_noheader);
int rrd_dump_cb_r(
const char *filename,
return (-1);
}
-#ifdef HAVE_SETLOCALE
old_locale = setlocale(LC_NUMERIC, "C");
-#endif
+
if (opt_header == 1) {
CB_PUTS("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n");
rrd_free(&rrd);
-#ifdef HAVE_SETLOCALE
setlocale(LC_NUMERIC, old_locale);
-#endif
return rrd_close(rrd_file);