httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Reid" <dr...@jetnet.co.uk>
Subject Re: [PATCH] apr_sockaddr_t & friends
Date Tue, 14 Nov 2000 14:23:15 GMT
So as I was up at 4:30am this morning I may not be totally with it, but


/**
 * Return an apr_sockaddr_t from an apr_socket_t
 * @param sa The returned apr_sockaddr_t.
 * @param which Which interface do we wnat the apr_sockaddr_t for?
 * @param sock The socket to use
 */
apr_status_t apr_get_address(apr_sockaddr_t **sa, apr_interface_e which,
apr_socket_t *sock);

/**
 * Get the character network address of the IP address contained in the
apr_sockaddr_t.
 * @param addr The pointer to the returned string.
 * @param sa The apr_sockaddr_t structure to use...
 * @param p The apr_pool_t to use for memory allocations.
 */
apr_status_t apr_get_nas(char **addr, apr_sockaddr_t *sa, apr_pool_t *p);

> I'm not sure what you mean...

I think that makes two of us.  Can you outline more of your API in detail?

> I've got the FreeBSD ones building now and will post them in a few
> minutes...

Cool.

david



Mime
View raw message