Code

- rrd_open() calculates file size for new files and calls mmap once for
[rrdtool-all.git] / program / src / rrd.h
index d87275e487ae76524d27086a917563d550b6ab2d..34ce78e8e4eb924b9e3018c4c74e4d10e1923efe 100644 (file)
@@ -84,6 +84,10 @@ extern    "C" {
         off_t     header_len;   /* length of the header of this rrd file */
         off_t     file_len; /* total size of the rrd file */
         off_t     pos;  /* current pos in file */
+#ifdef HAVE_MMAP
+        int       mm_prot;
+        int       mm_flags;
+#endif
     } rrd_file_t;
 
 /* rrd info interface */