diff --git a/src/rrd.h b/src/rrd.h
index 331339dbdfb2f7cfc6bc5f81b4ecd79ae53bf126..dc996695678714e29835102288012936e9fec4e5 100644 (file)
--- a/src/rrd.h
+++ b/src/rrd.h
#include <unistd.h> /* for off_t */
#else
#ifdef _MSC_VER
+#ifndef PERLPATCHLEVEL
typedef int mode_t;
+#endif
#define strtoll _strtoi64
#endif
typedef size_t ssize_t;
int rrd_create(
int,
char **);
- void rrd_create_set_no_overwrite(
- int);
rrd_info_t *rrd_info(
int,
char **);
const char *filename,
unsigned long pdp_step,
time_t last_up,
+ /* int no_overwrite, */
+ int argc,
+ const char **argv);
+ int rrd_create_r2(
+ const char *filename,
+ unsigned long pdp_step,
+ time_t last_up,
+ int no_overwrite,
int argc,
const char **argv);
rrd_info_t *rrd_info_r(
typedef enum {
ABSOLUTE_TIME,
RELATIVE_TO_START_TIME,
- RELATIVE_TO_END_TIME
+ RELATIVE_TO_END_TIME,
+ RELATIVE_TO_EPOCH
} rrd_timetype_t;
#define TIME_OK NULL