
Go to the source code of this file.
Functions | |
| void | alloc_buffer (uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) |
| int | main () |
| void | on_connect (uv_connect_t *req, int status) |
| void | on_read (uv_stream_t *client, ssize_t nread, const uv_buf_t *buf) |
| void | on_resolved (uv_getaddrinfo_t *resolver, int status, struct addrinfo *res) |
Variables | |
| uv_loop_t * | loop |
| void alloc_buffer | ( | uv_handle_t * | handle, |
| size_t | suggested_size, | ||
| uv_buf_t * | buf | ||
| ) |
Definition at line 8 of file libuv/docs/code/dns/main.c.
| int main | ( | ) |
Definition at line 62 of file libuv/docs/code/dns/main.c.
| void on_connect | ( | uv_connect_t * | req, |
| int | status | ||
| ) |
Definition at line 32 of file libuv/docs/code/dns/main.c.
| void on_read | ( | uv_stream_t * | client, |
| ssize_t | nread, | ||
| const uv_buf_t * | buf | ||
| ) |
Definition at line 13 of file libuv/docs/code/dns/main.c.
| void on_resolved | ( | uv_getaddrinfo_t * | resolver, |
| int | status, | ||
| struct addrinfo * | res | ||
| ) |
Definition at line 43 of file libuv/docs/code/dns/main.c.
| uv_loop_t* loop |
Definition at line 6 of file libuv/docs/code/dns/main.c.