Go to the source code of this file.
Functions | |
| int | ast_search_dns (void *context, const char *dname, int class, int type, int(*callback)(void *context, char *answer, int len, char *fullanswer)) |
| Perform DNS lookup (used by enum and SRV lookups). | |
Definition in file dns.h.
| int ast_search_dns | ( | void * | context, | |
| const char * | dname, | |||
| int | class, | |||
| int | type, | |||
| int(*)(void *context, char *answer, int len, char *fullanswer) | callback | |||
| ) |
Perform DNS lookup (used by enum and SRV lookups).
| context | ||
| dname | Domain name to lookup (host, SRV domain, TXT record name) | |
| class | Record Class (see "man res_search") | |
| type | Record type (see "man res_search") | |
| callback | Callback function for handling DNS result |
1.5.1