X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd.h;h=53838c04a3abb975717264aa637a02e323cceb36;hp=331339dbdfb2f7cfc6bc5f81b4ecd79ae53bf126;hb=7af26ea5c6f5e094e7c02dc47ceb0f87f5f2af48;hpb=e5b05bec82bbff5db8add4e58dd6f0fcf2670291 diff --git a/src/rrd.h b/src/rrd.h index 331339d..53838c0 100644 --- a/src/rrd.h +++ b/src/rrd.h @@ -143,8 +143,6 @@ extern "C" { int rrd_create( int, char **); - void rrd_create_set_no_overwrite( - int); rrd_info_t *rrd_info( int, char **); @@ -228,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( @@ -278,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