summaryrefslogtreecommitdiffstats
path: root/ctdb/include
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2014-03-31 15:44:53 +1100
committerMartin Schwenke <martins@samba.org>2014-04-14 03:52:39 +0200
commitce18b3b00ba2db83daa71bf73e843732f05b8f6e (patch)
tree1328f1a7d805ea061f42e9367a104f2595ac6c15 /ctdb/include
parent1c72842217245fe99ddb6d26c29ae3f522db09c6 (diff)
downloadsamba-ce18b3b00ba2db83daa71bf73e843732f05b8f6e.tar.gz
samba-ce18b3b00ba2db83daa71bf73e843732f05b8f6e.tar.xz
samba-ce18b3b00ba2db83daa71bf73e843732f05b8f6e.zip
ctdb-client: Add client code to detach a database
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_client.h b/ctdb/include/ctdb_client.h
index d3084273ea..1370ce9750 100644
--- a/ctdb/include/ctdb_client.h
+++ b/ctdb/include/ctdb_client.h
@@ -97,6 +97,7 @@ struct ctdb_db_context *ctdb_attach(struct ctdb_context *ctdb,
bool persistent,
uint32_t tdb_flags);
+int ctdb_detach(struct ctdb_context *ctdb, uint32_t db_id);
/*
find an attached ctdb_db handle given a name