new consolidation functions must be added last or this will break binary compatibility
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 22 Jul 2007 15:51:39 +0000 (15:51 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 22 Jul 2007 15:51:39 +0000 (15:51 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1169 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_format.h

index d95ea4a..711778f 100644 (file)
@@ -166,7 +166,6 @@ enum cf_en { CF_AVERAGE = 0,    /* data consolidation functions */
     CF_MAXIMUM,
     CF_LAST,
     CF_HWPREDICT,
     CF_MAXIMUM,
     CF_LAST,
     CF_HWPREDICT,
-    CF_MHWPREDICT,
     /* An array of predictions using the seasonal 
      * Holt-Winters algorithm. Requires an RRA of type
      * CF_SEASONAL for this data source. */
     /* An array of predictions using the seasonal 
      * Holt-Winters algorithm. Requires an RRA of type
      * CF_SEASONAL for this data source. */
@@ -181,7 +180,10 @@ enum cf_en { CF_AVERAGE = 0,    /* data consolidation functions */
     /* An array of smoothed seasonal deviations. Requires
      * an RRA of type CF_HWPREDICT for this data source.
      * */
     /* An array of smoothed seasonal deviations. Requires
      * an RRA of type CF_HWPREDICT for this data source.
      * */
-    CF_FAILURES
+    CF_FAILURES,
+    /* HWPREDICT that follows a moving baseline */
+    CF_MHWPREDICT
+    /* new entries must come last !!! */
 };
 
                        /* A binary array of failure indicators: 1 indicates
 };
 
                        /* A binary array of failure indicators: 1 indicates