projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved output generation for xport out of rrd_tool.c -- martin sperl
[rrdtool.git]
/
src
/
rrd.h
diff --git
a/src/rrd.h
b/src/rrd.h
index
fa02952
..
dc99669
100644
(file)
--- a/
src/rrd.h
+++ b/
src/rrd.h
@@
-58,7
+58,9
@@
extern "C" {
#include <unistd.h> /* for off_t */
#else
#ifdef _MSC_VER
#include <unistd.h> /* for off_t */
#else
#ifdef _MSC_VER
+#ifndef PERLPATCHLEVEL
typedef int mode_t;
typedef int mode_t;
+#endif
#define strtoll _strtoi64
#endif
typedef size_t ssize_t;
#define strtoll _strtoi64
#endif
typedef size_t ssize_t;
@@
-226,6
+228,14
@@
extern "C" {
const char *filename,
unsigned long pdp_step,
time_t last_up,
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(
int argc,
const char **argv);
rrd_info_t *rrd_info_r(
@@
-276,7
+286,8
@@
extern "C" {
typedef enum {
ABSOLUTE_TIME,
RELATIVE_TO_START_TIME,
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
} rrd_timetype_t;
#define TIME_OK NULL