X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_tool.h;h=7d8368a6a45ebdbba57be8eca32ad109aa97c3d2;hb=bbee4e31db966702d6fa3d7f4907b14aa1cb5aba;hp=f58cd784264fecb93c391aa70a0667beefb9aa08;hpb=caa9411848390bf066b02588c4525731bee190c5;p=rrdtool.git diff --git a/src/rrd_tool.h b/src/rrd_tool.h index f58cd78..7d8368a 100644 --- a/src/rrd_tool.h +++ b/src/rrd_tool.h @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.3.2 Copyright by Tobi Oetiker, 1997-2008 + * RRDtool 1.4.3 Copyright by Tobi Oetiker, 1997-2010 ***************************************************************************** * rrd_tool.h Common Header File *****************************************************************************/ @@ -94,7 +94,7 @@ extern "C" { #ifdef HAVE_LIBDBI -int rrd_fetch_fn_libdbi(char *filename, enum cf_en cf_idx, +int rrd_fetch_fn_libdbi(const char *filename, enum cf_en cf_idx, time_t *start,time_t *end, unsigned long *step, unsigned long *ds_cnt, @@ -107,6 +107,7 @@ int rrd_fetch_fn_libdbi(char *filename, enum cf_en cf_idx, #define RRD_CREAT (1<<2) #define RRD_READAHEAD (1<<3) #define RRD_COPY (1<<4) +#define RRD_EXCL (1<<5) enum cf_en cf_conv( const char *string); @@ -115,10 +116,14 @@ int rrd_fetch_fn_libdbi(char *filename, enum cf_en cf_idx, long ds_match( rrd_t *rrd, char *ds_nam); + off_t rrd_get_header_size( + rrd_t *rrd); double rrd_diff( char *a, char *b); + const char *cf_to_string (enum cf_en cf); + #endif /* _RRD_TOOL_H */ #ifdef __cplusplus