s3-prefork: add a few more utility functions
authorSimo Sorce <idra@samba.org>
Tue, 16 Aug 2011 15:09:20 +0000 (11:09 -0400)
committerSimo Sorce <idra@samba.org>
Sun, 21 Aug 2011 13:05:05 +0000 (09:05 -0400)
commit308e4e0126b7841e23a6135f884ba761eaacb58a
tree0b68a8025e24231736324274a445c7ad5bfb44ff
parentdf6f320aa47026bbf589a3276a0708ea3f93504b
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>
source3/lib/server_prefork_util.c
source3/lib/server_prefork_util.h