Code

frontend: Guarantee that no async messages are sent before startup finished.
[sysdb.git] / src / frontend / connection-private.h
index ef445d36bbbeb636bcf0a26d1355c0975b316ddb..a874751299ea0818635c4e542705a6fea6bb8983 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))