perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: cvs commit: modperl-2.0/xs/tables/current/ModPerl
Date Mon, 08 Dec 2003 19:51:47 GMT wrote:
> geoff       2003/12/08 11:31:53
>   Modified:    xs/APR/SockAddr APR__SockAddr.h
>                xs/maps
>                xs/tables/current/Apache
>                xs/tables/current/ModPerl
>   Log:
>   more APR deprecation: apr_sockaddr_port_get and apr_sockaddr_port_set

Hmm, how come there are deprecated? This is from apr/include/apr_network_io.h 

  * 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.
APR_DECLARE(apr_status_t) apr_sockaddr_port_set(apr_sockaddr_t *sockaddr,
                                                 apr_port_t port);

  * Return the port in an APR socket address.
  * @param port The port from the socket address.
  * @param sockaddr The socket address to reference.
APR_DECLARE(apr_status_t) apr_sockaddr_port_get(apr_port_t *port,
                                                 apr_sockaddr_t *sockaddr);

AFAIK, httpd-2.0 uses that branch. Or had they switched that?

In any case, shouldn't these function be replaced with new equivalents rather 
than being removed?

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message