summaryrefslogtreecommitdiff
path: root/ctdb/include
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2017-06-23 16:11:53 +1000
committerMartin Schwenke <martins@samba.org>2017-06-26 15:47:24 +0200
commit45ac7b357ae69abeafdfc0f92a8fddc87f65f264 (patch)
tree0d4f83ebf60b30c7ed4edd7d306a98ed5095f303 /ctdb/include
parent1b0cd3c280fe3c4d4bd9f75e801780fb332a7afe (diff)
downloadsamba-45ac7b357ae69abeafdfc0f92a8fddc87f65f264.tar.gz
ctdb-client: Add a function to get db open flags
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_client.h b/ctdb/include/ctdb_client.h
index 94b9be4d804..d4fd77142ec 100644
--- a/ctdb/include/ctdb_client.h
+++ b/ctdb/include/ctdb_client.h
@@ -270,6 +270,9 @@ int ctdb_statistics_reset(struct ctdb_context *ctdb, uint32_t destnode);
/*
attach to a ctdb database
*/
+int ctdb_ctrl_db_open_flags(struct ctdb_context *ctdb, uint32_t db_id,
+ int *tdb_flags);
+
struct ctdb_db_context *ctdb_attach(struct ctdb_context *ctdb,
struct timeval timeout,
const char *name,