X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=src%2Finclude%2Fcore%2Fstore.h;h=4038fe4da91c0fc0c70a68b4ba833e3cba67da5c;hp=0cee91362998d55c4f329c031572d5096e68400c;hb=894ed7e3743e1cd4913454b2bc086ff5d18c04b4;hpb=3c55d0157e1c87d2eec3aec14a8d6a881ae541c2 diff --git a/src/include/core/store.h b/src/include/core/store.h index 0cee913..4038fe4 100644 --- a/src/include/core/store.h +++ b/src/include/core/store.h @@ -121,6 +121,7 @@ typedef struct { const char * const *backends; size_t backends_num; } sdb_store_host_t; +#define SDB_STORE_HOST_INIT { NULL, 0, 0, NULL, 0 } /* * sdb_store_service_t represents the meta-data of a stored service object. @@ -134,6 +135,7 @@ typedef struct { const char * const *backends; size_t backends_num; } sdb_store_service_t; +#define SDB_STORE_SERVICE_INIT { NULL, NULL, 0, 0, NULL, 0 } /* * sdb_metric_store_t specifies how to access a metric's data. @@ -159,6 +161,7 @@ typedef struct { const char * const *backends; size_t backends_num; } sdb_store_metric_t; +#define SDB_STORE_METRIC_INIT { NULL, NULL, { NULL, NULL }, 0, 0, NULL, 0 } /* * sdb_store_attribute_t represents a stored attribute. @@ -175,6 +178,7 @@ typedef struct { const char * const *backends; size_t backends_num; } sdb_store_attribute_t; +#define SDB_STORE_ATTRIBUTE_INIT { NULL, 0, NULL, NULL, SDB_DATA_INIT, 0, 0, NULL, 0 } /* * Expressions represent arithmetic expressions based on stored objects and