projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix one segfault while trying to restore an invalid xml file. -- tobi
[rrdtool.git]
/
src
/
rrd_tool.h
diff --git
a/src/rrd_tool.h
b/src/rrd_tool.h
index
e888c1f
..
70aa326
100644
(file)
--- a/
src/rrd_tool.h
+++ b/
src/rrd_tool.h
@@
-1,5
+1,5
@@
/*****************************************************************************
/*****************************************************************************
- * RRDtool 1.2.
23
Copyright by Tobi Oetiker, 1997-2007
+ * RRDtool 1.2.
99907080300
Copyright by Tobi Oetiker, 1997-2007
*****************************************************************************
* rrd_tool.h Common Header File
*****************************************************************************/
*****************************************************************************
* rrd_tool.h Common Header File
*****************************************************************************/
@@
-137,6
+137,9
@@
extern "C" {
const char *const file_name,
rrd_t *rrd,
unsigned rdwr);
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(
int rrd_close(
rrd_file_t *rrd_file);
ssize_t rrd_read(
@@
-160,9
+163,11
@@
extern "C" {
char **buffer,
int skipfirst);
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);
enum cf_en cf_conv(
const char *string);