index 6af3c8e5fb8c08e59002308e45fe4e4d9ea665be..eea43164fed967c4b4e2bdec92e426c10d56e3d0 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 */
+ char **backends;
+ size_t backends_num;
sdb_store_obj_t *parent;
};
#define STORE_OBJ(obj) ((sdb_store_obj_t *)(obj))
* conditionals
*/
-/* compares a store object using the specified conditional */
-typedef int (*cmp_cb)(sdb_store_obj_t *, sdb_store_cond_t *);
+/* compares a host using the specified conditional */
+typedef int (*cmp_cb)(sdb_host_t *, sdb_store_cond_t *);
struct sdb_store_cond {
sdb_object_t super;