Move setup_listeners to listen.c. This renames it to ap_setup_listeners,

and removes the duplicated code from all effected MPMs.  The only this
doesn't touch, is Windows.  That MPM was using a different setup_listeners.
If one of the Windows guys would like to modify the WinNT MPM to use the
same setup_lsiteners, that would be VERY cool.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85809 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan Bloom
2000-07-10 21:37:23 +00:00
parent 074e3c2fb4
commit c481bb225a
8 changed files with 27 additions and 104 deletions

View File

@ -72,7 +72,11 @@ struct ap_listen_rec {
extern ap_listen_rec *ap_listeners;
void ap_listen_pre_config(void);
#ifndef WIN32
int ap_setup_listeners(server_rec *s);
#else
int ap_listen_open(process_rec *process, unsigned port);
#endif
const char *ap_set_listenbacklog(cmd_parms *cmd, void *dummy, const char *arg);
const char *ap_set_listener(cmd_parms *cmd, void *dummy, const char *ips);
const char *ap_set_send_buffer_size(cmd_parms *cmd, void *dummy,