1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-29 15:42:04 +03:00

s3-prefork: add a few more utility functions

Add a few util functions children side so that daemons do not have
to care about properly setting num_clients and state. Let a common
helper do it so that they are all consistent.

Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Simo Sorce <idra@samba.org>
This commit is contained in:
Simo Sorce
2011-08-16 11:09:20 -04:00
parent df6f320aa4
commit 308e4e0126
2 changed files with 26 additions and 0 deletions

View File

@ -46,4 +46,7 @@ void pfh_manage_pool(struct tevent_context *ev_ctx,
struct pf_daemon_config *cfg,
struct prefork_pool *pool);
void pfh_client_terminated(struct pf_worker_data *pf);
bool pfh_child_allowed_to_accept(struct pf_worker_data *pf);
#endif /* _SERVER_PREFORK_UTIL_H_ */