perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: cvs commit: modperl-2.0/xs/tables/current/ModPerl FunctionTable.pm
Date Mon, 08 Dec 2003 19:51:47 GMT
geoff@apache.org wrote:
> geoff       2003/12/08 11:31:53
> 
>   Modified:    xs/APR/SockAddr APR__SockAddr.h
>                xs/maps  apr_functions.map
>                xs/tables/current/Apache FunctionTable.pm
>                xs/tables/current/ModPerl FunctionTable.pm
>   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 
APR_0_9_BRANCH

/**
  * 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
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message