summaryrefslogtreecommitdiff
path: root/source3/lib/server_prefork.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2011-08-17 15:21:12 -0400
committerSimo Sorce <idra@samba.org>2011-08-21 09:05:06 -0400
commit91ba8aec13f42c83190c5cecf4ec7e0e80d91dcc (patch)
treebda18b735ad2ee2fcbdf0592096084d45e38db8c /source3/lib/server_prefork.h
parent98d2bf052e214580a3ca3146b10688c9e1c7bc78 (diff)
downloadsamba-91ba8aec13f42c83190c5cecf4ec7e0e80d91dcc.tar.gz
samba-91ba8aec13f42c83190c5cecf4ec7e0e80d91dcc.tar.bz2
samba-91ba8aec13f42c83190c5cecf4ec7e0e80d91dcc.zip
s3-prefork: Add parent->client messaging
Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'source3/lib/server_prefork.h')
-rw-r--r--source3/lib/server_prefork.h10
1 files changed, 10 insertions, 0 deletions
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
@@ -226,6 +226,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
*
* @param pfp The pool handler.