X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Frrd_tool.h;h=3cfe8450e5bf850ca184e39249e0498cb0a13f8f;hb=2593a69e9485cf67c9654a2667f85971275004fe;hp=e888c1f5c352d81c6991bec9f656dbcfde7ad011;hpb=657d850f957a2dd703e3aab2d7cde4b0f9711c15;p=rrdtool.git diff --git a/src/rrd_tool.h b/src/rrd_tool.h index e888c1f..3cfe845 100644 --- a/src/rrd_tool.h +++ b/src/rrd_tool.h @@ -137,6 +137,9 @@ extern "C" { const char *const file_name, rrd_t *rrd, unsigned rdwr); + void rrd_dontneed( + rrd_file_t *rrd_file, + rrd_t *rrd); int rrd_close( rrd_file_t *rrd_file); ssize_t rrd_read( @@ -160,9 +163,11 @@ extern "C" { char **buffer, int skipfirst); -#define RRD_READONLY 0 -#define RRD_READWRITE 1 -#define RRD_CREAT 2 +#define RRD_READONLY (1<<0) +#define RRD_READWRITE (1<<1) +#define RRD_CREAT (1<<2) +#define RRD_READAHEAD (1<<3) +#define RRD_COPY (1<<4) enum cf_en cf_conv( const char *string);