httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject svn commit: r106988 - /httpd/httpd/trunk/include/ap_listen.h /httpd/httpd/trunk/server/listen.c
Date Tue, 30 Nov 2004 06:29:57 GMT
Author: jerenkrantz
Date: Mon Nov 29 22:29:56 2004
New Revision: 106988

URL: http://svn.apache.org/viewcvs?view=rev&rev=106988
Log:
Declare the ap_set_listen* functions with AP_DECLARE_NONSTD for Win32 support.

(I think this is what is needed for Win32, but I'm not quite sure.)

Modified:
   httpd/httpd/trunk/include/ap_listen.h
   httpd/httpd/trunk/server/listen.c

Modified: httpd/httpd/trunk/include/ap_listen.h
Url: http://svn.apache.org/viewcvs/httpd/httpd/trunk/include/ap_listen.h?view=diff&rev=106988&p1=httpd/httpd/trunk/include/ap_listen.h&r1=106987&p2=httpd/httpd/trunk/include/ap_listen.h&r2=106988
==============================================================================
--- httpd/httpd/trunk/include/ap_listen.h	(original)
+++ httpd/httpd/trunk/include/ap_listen.h	Mon Nov 29 22:29:56 2004
@@ -97,9 +97,9 @@
  * LISTEN_COMMANDS in their command_rec table so that these functions are
  * called.
  */ 
-AP_DECLARE(const char *) ap_set_listenbacklog(cmd_parms *cmd, void *dummy, const char *arg);
-AP_DECLARE(const char *) ap_set_listener(cmd_parms *cmd, void *dummy, const char *ips);
-AP_DECLARE(const char *) ap_set_send_buffer_size(cmd_parms *cmd, void *dummy,
+AP_DECLARE_NONSTD(const char *) ap_set_listenbacklog(cmd_parms *cmd, void *dummy, const char
*arg);
+AP_DECLARE_NONSTD(const char *) ap_set_listener(cmd_parms *cmd, void *dummy, const char *ips);
+AP_DECLARE_NONSTD(const char *) ap_set_send_buffer_size(cmd_parms *cmd, void *dummy,
 				    const char *arg);
 
 #define LISTEN_COMMANDS	\

Modified: httpd/httpd/trunk/server/listen.c
Url: http://svn.apache.org/viewcvs/httpd/httpd/trunk/server/listen.c?view=diff&rev=106988&p1=httpd/httpd/trunk/server/listen.c&r1=106987&p2=httpd/httpd/trunk/server/listen.c&r2=106988
==============================================================================
--- httpd/httpd/trunk/server/listen.c	(original)
+++ httpd/httpd/trunk/server/listen.c	Mon Nov 29 22:29:56 2004
@@ -442,7 +442,8 @@
 }
 
 
-AP_DECLARE(const char *) ap_set_listener(cmd_parms *cmd, void *dummy, const char *ips)
+AP_DECLARE_NONSTD(const char *) ap_set_listener(cmd_parms *cmd, void *dummy,
+                                                const char *ips)
 {
     char *host, *scope_id;
     apr_port_t port;
@@ -474,7 +475,9 @@
     return alloc_listener(cmd->server->process, host, port);
 }
 
-AP_DECLARE(const char *) ap_set_listenbacklog(cmd_parms *cmd, void *dummy, const char *arg)
+AP_DECLARE_NONSTD(const char *) ap_set_listenbacklog(cmd_parms *cmd,
+                                                     void *dummy,
+                                                     const char *arg)
 {
     int b;
     const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
@@ -492,8 +495,9 @@
     return NULL;
 }
 
-AP_DECLARE(const char *) ap_set_send_buffer_size(cmd_parms *cmd, void *dummy,
-                                    const char *arg)
+AP_DECLARE_NONSTD(const char *) ap_set_send_buffer_size(cmd_parms *cmd,
+                                                        void *dummy,
+                                                        const char *arg)
 {
     int s = atoi(arg);
     const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);

Mime
View raw message