ReadOnly: Change the ctdb_db structure to keep a uint8_t for flags instead of a boole...
[sahlberg/ctdb.git] / include / ctdb_client.h
index 720f0733611ac77a24bb324be99fcc7b66fe7c6c..05e12c7f950f14dae75e757d0ba46a0dafec45df 100644 (file)
@@ -211,7 +211,8 @@ struct ctdb_dbid_map {
        uint32_t num;
        struct ctdb_dbid {
                uint32_t dbid;
-               bool persistent;
+#define CTDB_DB_FLAGS_PERSISTENT       0x01
+               uint8_t flags;
        } dbs[1];
 };
 int ctdb_ctrl_getdbmap(struct ctdb_context *ctdb,