Code

Let the network protocol and SysQL support last_update for metric stores.
[sysdb.git] / src / include / utils / proto.h
index 56715630524594a71e524932def3f1a01a9f7670..a9ea1e321d4368fb61ae87fda233056e561b7cf2 100644 (file)
@@ -61,8 +61,9 @@ typedef struct {
        const char *name;
        const char *store_type; /* optional */
        const char *store_id;   /* optional */
+       sdb_time_t store_last_update; /* optional */
 } sdb_proto_metric_t;
-#define SDB_PROTO_METRIC_INIT { 0, NULL, NULL, NULL, NULL }
+#define SDB_PROTO_METRIC_INIT { 0, NULL, NULL, NULL, NULL, 0 }
 
 typedef struct {
        sdb_time_t last_update;