summaryrefslogtreecommitdiff
path: root/ctdb/common/common.h
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2017-03-02 16:36:55 +1100
committerMartin Schwenke <martins@samba.org>2017-06-29 10:34:27 +0200
commit4e60637b31d90509b8a1a6f5ca0b70e2dbe2eac0 (patch)
tree19f7f1850ae5e575efa009e77fe57998ab24ebb4 /ctdb/common/common.h
parentcb7e5e76905a900c8ad4488ba49ade90c2abe93d (diff)
downloadsamba-4e60637b31d90509b8a1a6f5ca0b70e2dbe2eac0.tar.gz
ctdb-daemon: Add accessors for CTDB_DB_FLAGS_REPLICATED flag
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/common/common.h')
-rw-r--r--ctdb/common/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/common/common.h b/ctdb/common/common.h
index 8aeec82b6fc..1b276ca2139 100644
--- a/ctdb/common/common.h
+++ b/ctdb/common/common.h
@@ -45,6 +45,7 @@ struct ctdb_db_context *ctdb_db_handle(struct ctdb_context *ctdb,
const char *name);
bool ctdb_db_persistent(struct ctdb_db_context *ctdb_db);
+bool ctdb_db_replicated(struct ctdb_db_context *ctdb_db);
bool ctdb_db_volatile(struct ctdb_db_context *ctdb_db);
bool ctdb_db_readonly(struct ctdb_db_context *ctdb_db);