summaryrefslogtreecommitdiff
path: root/ctdb/include
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2016-11-30 12:15:11 +1100
committerMartin Schwenke <martins@samba.org>2016-12-05 08:09:23 +0100
commitc43856342f3780ef5cf748606bc3179ffcd5873f (patch)
tree3b028a77352798b0a0132fd680afc53d6bec084e /ctdb/include
parentecf3f56138b903ac37dc6d2ff18bb7a64f8337fe (diff)
downloadsamba-c43856342f3780ef5cf748606bc3179ffcd5873f.tar.gz
ctdb-daemon: Add ctdb_vfork_exec()
This will replace ctdb_vfork_with_logging(). Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index 022c10a4e70..e3085d0e6ee 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -606,6 +606,9 @@ int switch_from_server_to_client(struct ctdb_context *ctdb);
void ctdb_track_child(struct ctdb_context *ctdb, pid_t pid);
pid_t ctdb_fork(struct ctdb_context *ctdb);
+pid_t ctdb_vfork_exec(TALLOC_CTX *mem_ctx, struct ctdb_context *ctdb,
+ const char *helper, int helper_argc,
+ const char **helper_argv);
struct tevent_signal *ctdb_init_sigchld(struct ctdb_context *ctdb);