"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/apr_network_io.h" between
apr-1.6.5.tar.bz2 and apr-1.7.0.tar.bz2

About: APR (Apache Portable Runtime) project offers software libraries that provide a predictable and consistent interface to underlying platform-specific implementations (APR core library).

apr_network_io.h  (apr-1.6.5.tar.bz2):apr_network_io.h  (apr-1.7.0.tar.bz2)
skipping to change at line 444 skipping to change at line 444
/** /**
* Copy apr_sockaddr_t src to dst on pool p. * Copy apr_sockaddr_t src to dst on pool p.
* @param dst The destination apr_sockaddr_t. * @param dst The destination apr_sockaddr_t.
* @param src The source apr_sockaddr_t. * @param src The source apr_sockaddr_t.
* @param p The pool for the apr_sockaddr_t and associated storage. * @param p The pool for the apr_sockaddr_t and associated storage.
*/ */
APR_DECLARE(apr_status_t) apr_sockaddr_info_copy(apr_sockaddr_t **dst, APR_DECLARE(apr_status_t) apr_sockaddr_info_copy(apr_sockaddr_t **dst,
const apr_sockaddr_t *src, const apr_sockaddr_t *src,
apr_pool_t *p); apr_pool_t *p);
/* Set the zone of an IPv6 link-local address object.
* @param sa Socket address object
* @param zone_id Zone ID (textual "eth0" or numeric "3").
* @return Returns APR_EBADIP for non-IPv6 socket or an IPv6 address
* which isn't link-local.
*/
APR_DECLARE(apr_status_t) apr_sockaddr_zone_set(apr_sockaddr_t *sa,
const char *zone_id);
/* Retrieve the zone of an IPv6 link-local address object.
* @param sa Socket address object
* @param name If non-NULL, set to the textual representation of the zone id
* @param id If non-NULL, set to the integer zone id
* @param p Pool from which *name is allocated if used.
* @return Returns APR_EBADIP for non-IPv6 socket or socket without any zone id
* set, or other error if the interface could not be mapped to a name.
* @remark Both name and id may be NULL, neither are modified if
* non-NULL in error cases.
*/
APR_DECLARE(apr_status_t) apr_sockaddr_zone_get(const apr_sockaddr_t *sa,
const char **name,
apr_uint32_t *id,
apr_pool_t *p);
/** /**
* Look up the host name from an apr_sockaddr_t. * Look up the host name from an apr_sockaddr_t.
* @param hostname The hostname. * @param hostname The hostname.
* @param sa The apr_sockaddr_t. * @param sa The apr_sockaddr_t.
* @param flags Special processing flags. * @param flags Special processing flags.
* @remark Results can vary significantly between platforms * @remark Results can vary significantly between platforms
* when processing wildcard socket addresses. * when processing wildcard socket addresses.
*/ */
APR_DECLARE(apr_status_t) apr_getnameinfo(char **hostname, APR_DECLARE(apr_status_t) apr_getnameinfo(char **hostname,
apr_sockaddr_t *sa, apr_sockaddr_t *sa,
 End of changes. 1 change blocks. 
0 lines changed or deleted 24 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)