su 1.12.11devel
|
Network address and service translation. More...
#include <sofia-sip/su_types.h>
Go to the source code of this file.
Typedefs | |
typedef struct addrinfo | su_addrinfo_t |
RFC 1576 address info structure. | |
Functions | |
int | su_getaddrinfo (char const *node, char const *service, su_addrinfo_t const *hints, su_addrinfo_t **res) |
Translate address and service. | |
void | su_freeaddrinfo (su_addrinfo_t *res) |
Free su_addrinfo_t structure allocated by su_getaddrinfo(). | |
char const * | su_gai_strerror (int errcode) |
Return string describing address translation error. | |
Network address and service translation.
int su_getaddrinfo | ( | char const * | node, |
char const * | service, | ||
su_addrinfo_t const * | hints, | ||
su_addrinfo_t ** | res | ||
) |
Translate address and service.
This is a getaddrinfo() supporting SCTP and other exotic protocols.