[EMAIL PROTECTED] 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:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to