index abd94c22f1d40dba2e097870abfb5d47b343e9f8..a5bf0267b7e41bd598135ee28048f697ec3d93f7 100644 (file)
--- a/src/core/store-private.h
+++ b/src/core/store-private.h
/* common meta information */
sdb_time_t last_update;
+ sdb_time_t interval; /* moving average */
sdb_store_base_t *parent;
};
#define STORE_BASE(obj) ((sdb_store_base_t *)(obj))
/* shortcuts for accessing the sdb_store_obj_t attributes
* of inheriting objects */
#define _last_update super.last_update
+#define _interval super.interval
#ifdef __cplusplus
} /* extern "C" */