apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apr/network_io/win32 sockets.c
Date Tue, 21 Nov 2000 00:30:44 GMT
trawick     00/11/20 16:30:44

  Modified:    .        CHANGES aprlib.def
               include  apr_network_io.h
               network_io/os2 sockets.c
               network_io/unix sockets.c
               network_io/win32 sockets.c
  Log:
  apr_create_tcp_socket() has been removed.  Use apr_create_socket()
  instead.
  
  Revision  Changes    Path
  1.2       +3 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CHANGES	2000/11/20 22:51:40	1.1
  +++ CHANGES	2000/11/21 00:30:42	1.2
  @@ -1,3 +1,6 @@
   Changes with APR a8
  +  *) apr_create_tcp_socket() has been removed.  Use apr_create_socket()
  +     instead.  [Jeff Trawick]
  +
     *) Source was moved from the apache-2.0 repository.  For all CHANGES
        prior to this time, please see the apache-2.0 repository
  
  
  
  1.45      +0 -1      apr/aprlib.def
  
  Index: aprlib.def
  ===================================================================
  RCS file: /home/cvs/apr/aprlib.def,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- aprlib.def	2000/11/18 20:52:27	1.44
  +++ aprlib.def	2000/11/21 00:30:42	1.45
  @@ -54,7 +54,6 @@
           apr_get_sockaddr
           apr_getaddrinfo
           apr_create_socket
  -	apr_create_tcp_socket
   	apr_shutdown
   	apr_close_socket
   	apr_bind
  
  
  
  1.77      +0 -7      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.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- apr_network_io.h	2000/11/19 14:24:17	1.76
  +++ apr_network_io.h	2000/11/21 00:30:43	1.77
  @@ -206,13 +206,6 @@
   /* function definitions */
   
   /**
  - * Create a socket for tcp communication.
  - * @param new_sock The new socket that has been setup. 
  - * @param cont The pool to use
  - */
  -apr_status_t apr_create_tcp_socket(apr_socket_t **new_sock, apr_pool_t *cont);
  -
  -/**
    * Create a socket.
    * @param new_sock The new socket that has been set up.
    * @param family The address family of the socket (e.g., APR_INET).
  
  
  
  1.34      +0 -5      apr/network_io/os2/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/os2/sockets.c,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- sockets.c	2000/11/19 14:24:17	1.33
  +++ sockets.c	2000/11/21 00:30:43	1.34
  @@ -165,11 +165,6 @@
       return APR_SUCCESS;
   } 
   
  -apr_status_t apr_create_tcp_socket(apr_socket_t **new, apr_pool_t *cont)
  -{
  -    return apr_create_socket(new, AF_INET, SOCK_STREAM, cont);
  -}
  -
   apr_status_t apr_shutdown(apr_socket_t *thesocket, apr_shutdown_how_e how)
   {
       if (shutdown(thesocket->socketdes, how) == 0) {
  
  
  
  1.64      +0 -5      apr/network_io/unix/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/unix/sockets.c,v
  retrieving revision 1.63
  retrieving revision 1.64
  diff -u -r1.63 -r1.64
  --- sockets.c	2000/11/19 14:24:17	1.63
  +++ sockets.c	2000/11/21 00:30:44	1.64
  @@ -151,11 +151,6 @@
       return APR_SUCCESS;
   } 
   
  -apr_status_t apr_create_tcp_socket(apr_socket_t **new, apr_pool_t *cont)
  -{
  -    return apr_create_socket(new, APR_INET, SOCK_STREAM, cont);
  -}
  -
   apr_status_t apr_shutdown(apr_socket_t *thesocket, apr_shutdown_how_e how)
   {
       return (shutdown(thesocket->socketdes, how) == -1) ? errno : APR_SUCCESS;
  
  
  
  1.44      +0 -5      apr/network_io/win32/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/win32/sockets.c,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- sockets.c	2000/11/19 14:24:18	1.43
  +++ sockets.c	2000/11/21 00:30:44	1.44
  @@ -159,11 +159,6 @@
       return APR_SUCCESS;
   } 
   
  -apr_status_t apr_create_tcp_socket(apr_socket_t **new, apr_pool_t *cont)
  -{
  -    return apr_create_socket(new, AF_INET, SOCK_STREAM, cont);
  -}
  -
   apr_status_t apr_shutdown(apr_socket_t *thesocket, apr_shutdown_how_e how)
   {
       int winhow;
  
  
  

Mime
View raw message