summaryrefslogtreecommitdiff
path: root/source3/include/ctdbd_conn.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-10-23 21:38:54 +0200
committerVolker Lendecke <vlendec@samba.org>2011-10-27 20:28:31 +0200
commit1c4fe3903333e9fa24c375c95cfc52a608f9b27b (patch)
treebfd58ae37908328ae7f2636d7c46a35265aef7f7 /source3/include/ctdbd_conn.h
parentc2edecf6bd3df1be7b94cbe7dc29f308b9b1d8e0 (diff)
downloadsamba-1c4fe3903333e9fa24c375c95cfc52a608f9b27b.tar.gz
samba-1c4fe3903333e9fa24c375c95cfc52a608f9b27b.tar.bz2
samba-1c4fe3903333e9fa24c375c95cfc52a608f9b27b.zip
s3-ctdb: Add ctdb_processes_exist
This sends out a number of process_exists controls in parallel and collects the replies as they come in.
Diffstat (limited to 'source3/include/ctdbd_conn.h')
-rw-r--r--source3/include/ctdbd_conn.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/ctdbd_conn.h b/source3/include/ctdbd_conn.h
index cf257bf115..1d52577fe8 100644
--- a/source3/include/ctdbd_conn.h
+++ b/source3/include/ctdbd_conn.h
@@ -43,6 +43,9 @@ NTSTATUS ctdbd_messaging_send(struct ctdbd_connection *conn,
bool ctdbd_process_exists(struct ctdbd_connection *conn, uint32 vnn,
pid_t pid);
+bool ctdb_processes_exist(struct ctdbd_connection *conn,
+ const struct server_id *pids, int num_pids,
+ bool *results);
char *ctdbd_dbpath(struct ctdbd_connection *conn,
TALLOC_CTX *mem_ctx, uint32_t db_id);