X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_format.h;h=0d8a9dc3751c099d09e9039bfc9fc430340a5ae0;hb=7383625ce0413ce5dbcc0ced4ee4873c6df37735;hp=c4c8690f171e8c7d477dfa068fba190482b24c2d;hpb=51fcea2cbf9721f012f2f0d43c604a3aaf684ee8;p=rrdtool.git diff --git a/src/rrd_format.h b/src/rrd_format.h index c4c8690..0d8a9dc 100644 --- a/src/rrd_format.h +++ b/src/rrd_format.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_format.h RRD Database Format header *****************************************************************************/ @@ -21,7 +21,8 @@ #define RRD_COOKIE "RRD" /* #define RRD_VERSION "0002" */ /* changed because microsecond precision requires another field */ -#define RRD_VERSION "0003" +#define RRD_VERSION "0004" +#define RRD_VERSION3 "0003" #define FLOAT_COOKIE 8.642135E130 #include "rrd_nan_inf.h" @@ -165,7 +166,6 @@ enum cf_en { CF_AVERAGE = 0, /* data consolidation functions */ 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. */ @@ -180,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. * */ - 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