1# mpm_winnt.pl
2# Defines editors for the windows NT module in apache 2.0
3# The actual functions for most of these are still in core.pl
4
5sub mpm_winnt_directives
6{
7local $rv;
8$rv = [ [ 'CoreDumpDirectory', 0, 9, 'global', 2.0 ],
9	[ 'BindAddress Listen Port', 1, 1, 'global', 2.0, 10 ],
10	[ 'ListenBacklog', 0, 1, 'global', 2.0 ],
11	[ 'MaxRequestsPerChild', 0, 0, 'global', 2.0 ],
12	[ 'PidFile', 0, 9, 'global', 2.0 ],
13	[ 'SendBufferSize', 0, 1, 'global', 2.0 ],
14	[ 'ThreadsPerChild', 0, 0, 'global', 2.0 ] ];
15return &make_directives($rv, $_[0], "mpm_winnt");
16}
17
18sub edit_ThreadsPerChild
19{
20return (1,
21	$text{'worker_threads'},
22	&opt_input($_[0]->{'value'},"ThreadsPerChild",$text{'default'}, 4));
23}
24sub save_ThreadsPerChild
25{
26return &parse_opt("ThreadsPerChild", '^\d+$',
27		  $text{'worker_ethreads'});
28}
29
30