diff options
author | Amitay Isaacs <amitay@gmail.com> | 2014-03-31 15:44:21 +1100 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2014-04-14 03:52:39 +0200 |
commit | 1c72842217245fe99ddb6d26c29ae3f522db09c6 (patch) | |
tree | 27e21101c297e4f2a3d6a0872f71c4cd1b9846f6 /ctdb/include/ctdb_private.h | |
parent | e0cddcd5c44a22a36a156079f8546d3b8e7ee0c1 (diff) | |
download | samba-1c72842217245fe99ddb6d26c29ae3f522db09c6.tar.gz samba-1c72842217245fe99ddb6d26c29ae3f522db09c6.tar.xz samba-1c72842217245fe99ddb6d26c29ae3f522db09c6.zip |
ctdb-daemon: Add control CTDB_CONTROL_DB_DETACH
This detaches specified database from all the nodes.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/include/ctdb_private.h')
-rw-r--r-- | ctdb/include/ctdb_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 2206f4edfd9..81759786dd1 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -900,6 +900,8 @@ int32_t ctdb_control_db_attach(struct ctdb_context *ctdb, TDB_DATA indata, bool persistent, uint32_t client_id, struct ctdb_req_control *c, bool *async_reply); +int32_t ctdb_control_db_detach(struct ctdb_context *ctdb, TDB_DATA indata, + uint32_t client_id); int ctdb_daemon_set_call(struct ctdb_context *ctdb, uint32_t db_id, ctdb_fn_t fn, int id); |