/*****************************************************************************
- * RRDtool 1.4.3 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.8.0 Copyright by Tobi Oetiker, 1997-2022
*****************************************************************************
* rrd_format.h RRD Database Format header
*****************************************************************************/
/*
* _RRD_TOOL_H
- * We're building RRDTool itself.
+ * We're building RRDtool itself.
*
* RRD_EXPORT_DEPRECATED
* User is requesting internal function which need this struct. They have
#define RRD_COOKIE "RRD"
/* #define RRD_VERSION "0002" */
/* changed because microsecond precision requires another field */
-#define RRD_VERSION "0004"
#define RRD_VERSION3 "0003"
+#define RRD_VERSION4 "0004"
+#define RRD_VERSION5 "0005"
#define FLOAT_COOKIE ((double)8.642135E130)
typedef union unival {
* The RRD Database Structure
* ---------------------------
*
- * In oder to properly describe the database structure lets define a few
+ * In order to properly describe the database structure lets define a few
* new words:
*
* ds - Data Source (ds) providing input to the database. A Data Source (ds)
* can be a traffic counter, a temperature, the number of users logged
* into a system. The rrd database format can handle the input of
- * several Data Sources (ds) in a singe database.
+ * several Data Sources (ds) in a single database.
*
* dst - Data Source Type (dst). The Data Source Type (dst) defines the rules
* applied to Build Primary Data Points from the input provided by the
DST_ABSOLUTE,
DST_GAUGE,
DST_DERIVE,
- DST_CDEF
+ DST_CDEF,
+ DST_DCOUNTER,
+ DST_DDERIVE
};
enum ds_param_en { DS_mrhb_cnt = 0, /* minimum required heartbeat. A
* DS updates may only occur at ever increasing points in time
* When any DS update arrives after a cdp update time, the *previous*
- update cycle gets executed. All pdps are transfered to cdps and the
+ update cycle gets executed. All pdps are transferred to cdps and the
cdps feed the rras where necessary. Only then the new DS value
is loaded into the PDP. */
* prediction algorithm. */
CDP_hw_last_intercept,
/* Last iteration intercept coefficient for the Holt-Winters
- * prediction algorihtm. */
+ * prediction algorithm. */
CDP_hw_slope,
/* Current slope coefficient for the Holt-Winters
* prediction algorithm. */
CDP_hw_last_slope,
- /* Last iteration slope coeffient. */
+ /* Last iteration slope coefficient. */
CDP_null_count,
/* Number of sequential Unknown (DNAN) values + 1 preceding
* the current prediction.
* prediction algorithm. This is stored in CDP prep to avoid
* redundant seek operations. */
CDP_hw_last_seasonal = CDP_hw_last_intercept,
- /* Last iteration seasonal coeffient. */
+ /* Last iteration seasonal coefficient. */
CDP_seasonal_deviation = CDP_hw_intercept,
CDP_last_seasonal_deviation = CDP_hw_last_intercept,
CDP_init_seasonal = CDP_null_count