X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=src%2Finclude%2Fcore%2Fstore.h;h=3f20429b9f3e37eccdf40c2938c111ad163203b1;hp=e432cab428130252e517b72b0855fc210468c5c7;hb=bb7b99fec92dc9ea1c7ce70e050f4d97fec47ded;hpb=5f7e0ee1cf668eaaec097d8f2fa0753b0c089946 diff --git a/src/include/core/store.h b/src/include/core/store.h index e432cab..3f20429 100644 --- a/src/include/core/store.h +++ b/src/include/core/store.h @@ -134,14 +134,17 @@ typedef struct { typedef struct { const char *hostname; const char *name; - sdb_metric_store_t store; + + /* All data stores providing this metric. */ + const sdb_metric_store_t *stores; + size_t stores_num; sdb_time_t last_update; sdb_time_t interval; const char * const *backends; size_t backends_num; } sdb_store_metric_t; -#define SDB_STORE_METRIC_INIT { NULL, NULL, { NULL, NULL, 0 }, 0, 0, NULL, 0 } +#define SDB_STORE_METRIC_INIT { NULL, NULL, NULL, 0, 0, 0, NULL, 0 } /* * sdb_store_attribute_t represents a stored attribute.