diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-12-02 12:51:37 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-12-16 08:08:32 +0100 |
commit | 0e436b46c6051fed5a4d854f993bb635919700f1 (patch) | |
tree | d5275e1b773e7df6b8d95dd1d1065bb4ec5ccce4 /ctdb/include | |
parent | f1f0af2b670fba2a02802266183d3b0136cbf72b (diff) | |
download | samba-0e436b46c6051fed5a4d854f993bb635919700f1.tar.gz samba-0e436b46c6051fed5a4d854f993bb635919700f1.tar.xz samba-0e436b46c6051fed5a4d854f993bb635919700f1.zip |
client: add ctdb_ctrl_getdbhealth()
metze
(This used to be ctdb commit 5abe44d0113839d3a45c9a31d30856aa70c2ea1f)
Diffstat (limited to 'ctdb/include')
-rw-r--r-- | ctdb/include/ctdb.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ctdb/include/ctdb.h b/ctdb/include/ctdb.h index 39d45481e3..a48721e426 100644 --- a/ctdb/include/ctdb.h +++ b/ctdb/include/ctdb.h @@ -385,6 +385,11 @@ int ctdb_ctrl_copydb(struct ctdb_context *ctdb, int ctdb_ctrl_getdbpath(struct ctdb_context *ctdb, struct timeval timeout, uint32_t destnode, uint32_t dbid, TALLOC_CTX *mem_ctx, const char **path); int ctdb_ctrl_getdbname(struct ctdb_context *ctdb, struct timeval timeout, uint32_t destnode, uint32_t dbid, TALLOC_CTX *mem_ctx, const char **name); +int ctdb_ctrl_getdbhealth(struct ctdb_context *ctdb, + struct timeval timeout, + uint32_t destnode, + uint32_t dbid, TALLOC_CTX *mem_ctx, + const char **reason); int ctdb_ctrl_createdb(struct ctdb_context *ctdb, struct timeval timeout, uint32_t destnode, TALLOC_CTX *mem_ctx, const char *name, bool persistent); int ctdb_ctrl_process_exists(struct ctdb_context *ctdb, uint32_t destnode, pid_t pid); |