summaryrefslogtreecommitdiff
path: root/ctdb/include/ctdb_protocol.h
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2015-10-29 17:46:05 +1100
committerMartin Schwenke <martins@samba.org>2015-11-04 00:47:15 +0100
commit645cd43200f16403baec61ec4829770ce50ed70f (patch)
tree5568b9133bd06739b190e48a091c2158b8331739 /ctdb/include/ctdb_protocol.h
parent563f51828367499cca0dad986f78a996a9b11e0b (diff)
downloadsamba-645cd43200f16403baec61ec4829770ce50ed70f.tar.gz
ctdb-daemon: Rename struct ctdb_dbid_map to ctdb_dbid_map_old
Match struct ctdb_dbid as per protocol/protocol.h Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/include/ctdb_protocol.h')
-rw-r--r--ctdb/include/ctdb_protocol.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h
index c9f0a9d86a1..6505873d5d8 100644
--- a/ctdb/include/ctdb_protocol.h
+++ b/ctdb/include/ctdb_protocol.h
@@ -767,15 +767,18 @@ struct ctdb_notify_data_old {
/* table that contains a list of all dbids on a node
*/
-struct ctdb_dbid_map {
- uint32_t num;
- struct ctdb_dbid {
- uint32_t dbid;
+
+struct ctdb_dbid {
+ uint32_t db_id;
#define CTDB_DB_FLAGS_PERSISTENT 0x01
#define CTDB_DB_FLAGS_READONLY 0x02
#define CTDB_DB_FLAGS_STICKY 0x04
- uint8_t flags;
- } dbs[1];
+ uint8_t flags;
+};
+
+struct ctdb_dbid_map_old {
+ uint32_t num;
+ struct ctdb_dbid dbs[1];
};
#define CTDB_RECOVERY_NORMAL 0