apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/include apr_network_io.h
Date Tue, 09 Dec 2003 10:47:40 GMT
trawick     2003/12/09 02:47:40

  Modified:    include  Tag: APR_0_9_BRANCH apr_network_io.h
  Log:
  mark apr_sockaddr_port_get, apr_sockaddr_port_set, and apr_sockaddr_ip_set
  as deprecated
  
  Submitted by:	Stas Bekman
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.141.2.2 +3 -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.141.2.1
  retrieving revision 1.141.2.2
  diff -u -r1.141.2.1 -r1.141.2.2
  --- apr_network_io.h	16 Oct 2003 22:13:02 -0000	1.141.2.1
  +++ apr_network_io.h	9 Dec 2003 10:47:40 -0000	1.141.2.2
  @@ -743,6 +743,7 @@
    * Set the port in an APR socket address.
    * @param sockaddr The socket address to set.
    * @param port The port to be stored in the socket address.
  + * @deprecated @see apr_sockaddr_info_get
    */
   APR_DECLARE(apr_status_t) apr_sockaddr_port_set(apr_sockaddr_t *sockaddr,
                                                   apr_port_t port);
  @@ -751,6 +752,7 @@
    * Return the port in an APR socket address.
    * @param port The port from the socket address.
    * @param sockaddr The socket address to reference.
  + * @deprecated Access port field directly.
    */
   APR_DECLARE(apr_status_t) apr_sockaddr_port_get(apr_port_t *port,
                                                   apr_sockaddr_t *sockaddr);
  @@ -760,6 +762,7 @@
    * @param sockaddr The socket address to use 
    * @param addr The IP address to attach to the socket.
    *             Use APR_ANYADDR to use any IP addr on the machine.
  + * @deprecated @see apr_sockaddr_info_get
    */
   APR_DECLARE(apr_status_t) apr_sockaddr_ip_set(apr_sockaddr_t *sockaddr,
                                                 const char *addr);
  
  
  

Mime
View raw message