apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: apr/include apr.h.in apr_network_io.h
Date Tue, 03 Apr 2001 01:09:55 GMT
rbb         01/04/02 18:09:55

  Modified:    .        configure.in
               include  apr.h.in apr_network_io.h
  Log:
  Fix the compile on platforms without accept filters.
  
  Revision  Changes    Path
  1.271     +1 -0      apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.270
  retrieving revision 1.271
  diff -u -d -b -w -u -r1.270 -r1.271
  --- configure.in	2001/04/03 00:41:04	1.270
  +++ configure.in	2001/04/03 01:09:44	1.271
  @@ -981,6 +981,7 @@
   
   AC_SUBST(apr_tcp_nopush_flag)
   AC_SUBST(have_corkable_tcp)
  +AC_SUBST(accept_filter)
   
   echo $ac_n "${nl}Checking for IPv6 Networking support...${nl}"
   dnl # Start of checking for IPv6 support...
  
  
  
  1.77      +1 -0      apr/include/apr.h.in
  
  Index: apr.h.in
  ===================================================================
  RCS file: /home/cvs/apr/include/apr.h.in,v
  retrieving revision 1.76
  retrieving revision 1.77
  diff -u -d -b -w -u -r1.76 -r1.77
  --- apr.h.in	2001/04/02 19:00:31	1.76
  +++ apr.h.in	2001/04/03 01:09:49	1.77
  @@ -117,6 +117,7 @@
   #define APR_HAS_XLATE             @iconv@
   #define APR_HAS_OTHER_CHILD       @oc@
   #define APR_HAS_DSO               @aprdso@
  +#define APR_HAS_SO_ACCEPT_FILTER  @accept_filter@
   #define APR_HAS_UNICODE_FS        0
   #define APR_HAS_USER              1
   #define APR_HAS_LARGE_FILES       0
  
  
  
  1.101     +12 -0     apr/include/apr_network_io.h
  
  Index: apr_network_io.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_network_io.h,v
  retrieving revision 1.100
  retrieving revision 1.101
  diff -u -d -b -w -u -r1.100 -r1.101
  --- apr_network_io.h	2001/03/15 18:27:54	1.100
  +++ apr_network_io.h	2001/04/03 01:09:51	1.101
  @@ -787,6 +787,18 @@
    */
   APR_DECLARE(int) apr_ipsubnet_test(apr_ipsubnet_t *ipsub, apr_sockaddr_t *sa);
   
  +#ifdef APR_OS_ACCEPT_FILTER
  +/**
  + * Set an OS level accept filter.
  + * @param sock The socket to put the accept filter on.
  + * @param name The accept filter
  + * @param args Any extra args to the accept filter.  Passing NULL here removes
  + *             the accept filter. 
  + */
  +apr_status_t apr_socket_accept_filter(apr_socket_t *sock, char name[16],
  +                                      char args[256 - 16]);
  +#endif
  +
   #ifdef __cplusplus
   }
   #endif
  
  
  

Mime
View raw message