From 91ba8aec13f42c83190c5cecf4ec7e0e80d91dcc Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 17 Aug 2011 15:21:12 -0400 Subject: s3-prefork: Add parent->client messaging Signed-off-by: Andreas Schneider Signed-off-by: Simo Sorce --- source3/lib/server_prefork.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source3/lib/server_prefork.h') diff --git a/source3/lib/server_prefork.h b/source3/lib/server_prefork.h index d240641a39..17491536ff 100644 --- a/source3/lib/server_prefork.h +++ b/source3/lib/server_prefork.h @@ -225,6 +225,16 @@ void prefork_reset_allowed_clients(struct prefork_pool *pfp); */ void prefork_send_signal_to_all(struct prefork_pool *pfp, int signal_num); +/** +* @brief Send a message to all children that the server changed something +* in the pool and they may want to take action. +* +* @param msg_ctx The messaging context. +* @param pfp The pool. +*/ +void prefork_warn_active_children(struct messaging_context *msg_ctx, + struct prefork_pool *pfp); + /** * @brief Sets the SIGCHLD callback * -- cgit