Code

frontend: Added support for LISTing services and metrics as well.
[sysdb.git] / src / frontend / connection-private.h
index ef445d36bbbeb636bcf0a26d1355c0975b316ddb..dd4bcced2b4c99fa63c781654218c1f68ff761d7 100644 (file)
@@ -73,6 +73,7 @@ struct sdb_conn {
 
        /* user information */
        char *username; /* NULL if the user has not been authenticated */
+       _Bool ready; /* indicates that startup finished successfully */
 };
 #define CONN(obj) ((sdb_conn_t *)(obj))
 
@@ -88,6 +89,7 @@ typedef struct {
 
 typedef struct {
        sdb_conn_node_t super;
+       int type;
        conn_matcher_t *filter;
 } conn_list_t;
 #define CONN_LIST(obj) ((conn_list_t *)(obj))