diff options
author | Amitay Isaacs <amitay@gmail.com> | 2017-08-23 12:09:22 +1000 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2017-08-28 11:04:16 +0200 |
commit | b78763510343147262a45dbf684bec6ee66d3062 (patch) | |
tree | b5e3a22ded7466a090890e0ccda8dcf755c98505 /ctdb/include | |
parent | da1aad0590fa005d3f166cc1f472d56790b16053 (diff) | |
download | samba-b78763510343147262a45dbf684bec6ee66d3062.tar.gz |
ctdb-client: Optionally return database id from ctdb_ctrl_createdb()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12978
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit 9987fe7209c3bd44ea0015d98d0f92b65ec70700)
Diffstat (limited to 'ctdb/include')
-rw-r--r-- | ctdb/include/ctdb_client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_client.h b/ctdb/include/ctdb_client.h index 8f270ddaa4e..2a19991bc5c 100644 --- a/ctdb/include/ctdb_client.h +++ b/ctdb/include/ctdb_client.h @@ -254,7 +254,7 @@ int ctdb_ctrl_getdbseqnum(struct ctdb_context *ctdb, struct timeval timeout, int ctdb_ctrl_createdb(struct ctdb_context *ctdb, struct timeval timeout, uint32_t destnode, TALLOC_CTX *mem_ctx, - const char *name, uint8_t db_flags); + const char *name, uint8_t db_flags, uint32_t *db_id); int ctdb_ctrl_get_debuglevel(struct ctdb_context *ctdb, uint32_t destnode, int32_t *level); |