Go to the source code of this file.
|
void | resolver_process (const char *question, unsigned question_length, char *answer, unsigned *answer_length, int(*callback)(const char *name, uint32_t *ip)) |
|
void * | dns_wrapper_thread (void *null) |
|
#define DNS_WRAPPER_PORT 53 |
#define MAX_DNS_PKT_SZ 512 |
void* dns_wrapper_thread |
( |
void * |
null | ) |
|
void resolver_process |
( |
const char * |
question, |
|
|
unsigned |
question_length, |
|
|
char * |
answer, |
|
|
unsigned * |
answer_length, |
|
|
int(*)(const char *name, uint32_t *ip) |
callback |
|
) |
| |
pthread_mutex_t dns_exec_lock |