X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd.h;h=53838c04a3abb975717264aa637a02e323cceb36;hb=f6728e9f118acf468a33972792e3a851785bcb8a;hp=91bf660b4936679c36459653a921c7b61a62fe31;hpb=c29c7a38247934755ae9a68abb1bcf8cc7872d24;p=rrdtool.git diff --git a/src/rrd.h b/src/rrd.h index 91bf660..53838c0 100644 --- a/src/rrd.h +++ b/src/rrd.h @@ -57,6 +57,10 @@ extern "C" { #ifndef WIN32 #include /* for off_t */ #else +#ifdef _MSC_VER + typedef int mode_t; + #define strtoll _strtoi64 +#endif typedef size_t ssize_t; typedef long off_t; #endif @@ -222,6 +226,14 @@ extern "C" { 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( @@ -272,7 +284,8 @@ extern "C" { 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