26 TDECORE_EXPORT
void kde_freeaddrinfo(
struct kde_addrinfo *ai)
31 TDECORE_EXPORT
int kde_getaddrinfo(
const char *name,
const char *service,
32 const struct addrinfo* hint,
33 struct kde_addrinfo** result)
36 int err = EAI_SERVICE;
40 TDECORE_EXPORT
char *gai_strerror(
int errorcode)
44 int getnameinfo(
const struct sockaddr *sa,
46 char *host,
size_t hostlen,
47 char *serv,
size_t servlen,
54 TDECORE_EXPORT
const char* inet_ntop(
int af,
const void *cp,
char *buf,
size_t len)
60 TDECORE_EXPORT
int inet_pton(
int af,
const char *cp,
void *buf)