Big bunch of improvements for the caching daemon.
[rrdtool.git] / src / rrd_tool.h
index 63359b6..985f817 100644 (file)
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * RRDtool 1.3.0  Copyright by Tobi Oetiker, 1997-2008
+ * RRDtool 1.3.2  Copyright by Tobi Oetiker, 1997-2008
  *****************************************************************************
  * rrd_tool.h   Common Header File
  *****************************************************************************/
@@ -50,7 +50,13 @@ extern    "C" {
 #endif
 
 /* local include files -- need to be after the system ones */
+#ifdef HAVE_GETOPT_LONG
+#define _GNU_SOURCE
+#include <getopt.h>
+#else
 #include "rrd_getopt.h"
+#endif
+
 #include "rrd_format.h"
 
 #ifndef max
@@ -82,7 +88,6 @@ extern    "C" {
             time_t *start,
             time_t *end,
             unsigned long *step,
-            int use_rrdcached,
             unsigned long *ds_cnt,
             char ***ds_namv,
             rrd_value_t **data);
@@ -104,6 +109,8 @@ extern    "C" {
     char *a,
     char *b);
 
+int rrdc_flush_if_daemon (const char *opt_daemon, const char *filename);
+
 #endif
 
 #ifdef  __cplusplus