libusual  0.1
Data Structures | Defines | Functions
usual/netdb.h File Reference

DNS lookup. More...

Data Structures

struct  gaicb
 Request data for getaddrinfo_a(). More...

Defines

#define GAI_WAIT
 Async execution.
#define GAI_NOWAIT
 Synchronous execution.

Functions

int getaddrinfo_a (int mode, struct gaicb *list[], int nitems, struct sigevent *sevp)
 Compat: Async DNS lookup.

Detailed Description

DNS lookup.


Define Documentation

#define GAI_WAIT

Async execution.

#define GAI_NOWAIT

Synchronous execution.


Function Documentation

int getaddrinfo_a ( int  mode,
struct gaicb list[],
int  nitems,
struct sigevent *  sevp 
)

Compat: Async DNS lookup.