apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Preethi Natarajan <natar...@cis.udel.edu>
Subject Re: [PATCH] Re: APR with SCTP streams.
Date Tue, 22 Nov 2005 15:52:23 GMT
On Wed, 16 Nov 2005, Colm MacCarthaigh wrote:

> I'm still not sure how much sense apr_parse_addr_port_protocol() makes
> though, it doesn't look like something that belongs in APR. I'll test

Colm, apr_parse_addr_protocol() = apr_parse_addr_port() + abitlity to 
parse for transport protocol. I could have added the extra functionality 
inside apr_parse_addr_port() itself. Instead, I created a new function 
becoz I needed a different function signature to accommodate the protocol 
and did not want to modify all existing calls (not sure how many) to 
apr_parse_addr_port() due to the new signature.

As I see it, _prootocol() alone should suffice since it is backward 
compatible with the old Listen syntax. We can retain the old name to this 
new function, but this will involve adding an extra argument to the 
existing calls to apr_parse_addr_port().

Any suggestions?
Preethi

Mime
View raw message