From: Amitay Isaacs Date: Wed, 14 Jun 2017 06:22:52 +0000 (+1000) Subject: ctdb-protocol: Add new control to get database open flags X-Git-Tag: tdb-1.3.14~174 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af2b06af75f7202423588d004771892a9ab2cd68;p=thirdparty%2Fsamba.git ctdb-protocol: Add new control to get database open flags Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- diff --git a/ctdb/protocol/protocol.h b/ctdb/protocol/protocol.h index 60e20b4a7c0..7e9973870b1 100644 --- a/ctdb/protocol/protocol.h +++ b/ctdb/protocol/protocol.h @@ -367,6 +367,7 @@ enum ctdb_controls {CTDB_CONTROL_PROCESS_EXISTS = 0, CTDB_CONTROL_DB_PULL = 146, CTDB_CONTROL_DB_PUSH_START = 147, CTDB_CONTROL_DB_PUSH_CONFIRM = 148, + CTDB_CONTROL_DB_OPEN_FLAGS = 149, }; #define CTDB_MONITORING_ENABLED 0 @@ -911,6 +912,7 @@ struct ctdb_reply_control_data { struct ctdb_db_statistics *dbstats; enum ctdb_runstate runstate; uint32_t num_records; + int tdb_flags; } data; };