From 1c4fe3903333e9fa24c375c95cfc52a608f9b27b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 23 Oct 2011 21:38:54 +0200 Subject: 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. --- source3/include/ctdbd_conn.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include') 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); -- cgit