X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=program%2Fsrc%2Frrd_format.h;h=711778f1a5ccdec84e0f382fd19dcbddde36e46d;hb=d67ffdaae445f8bb86043cfef2df09213e3fdf11;hp=c4c8690f171e8c7d477dfa068fba190482b24c2d;hpb=c4246f38b2e80c5accd07276cdc1aaf51e0b5c17;p=rrdtool-all.git diff --git a/program/src/rrd_format.h b/program/src/rrd_format.h index c4c8690f..711778f1 100644 --- a/program/src/rrd_format.h +++ b/program/src/rrd_format.h @@ -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