* introduce a new rrd_create_r2 call to fix the no-overwrite api mess
[rrdtool.git] / src / rrd_tool.h
index 86c4aa8..de35e46 100644 (file)
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * RRDtool 1.4.2  Copyright by Tobi Oetiker, 1997-2009
+ * RRDtool 1.4.3  Copyright by Tobi Oetiker, 1997-2010
  *****************************************************************************
  * rrd_tool.h   Common Header File
  *****************************************************************************/
@@ -82,7 +82,8 @@ extern    "C" {
 
     int       rrd_create_fn(
     const char *file_name,
-    rrd_t *rrd);
+    rrd_t *rrd,
+    int no_overwrite);
     int rrd_fetch_fn (const char *filename,
             enum cf_en cf_idx,
             time_t *start,
@@ -122,6 +123,8 @@ int rrd_fetch_fn_libdbi(const char *filename, enum cf_en cf_idx,
     char *a,
     char *b);
 
+    const char *cf_to_string (enum cf_en cf);
+
 #endif /* _RRD_TOOL_H */
 
 #ifdef  __cplusplus