#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <resolv.h>
#include <unistd.h>
#include <asterisk/logger.h>
#include <asterisk/channel.h>
#include <asterisk/dns.h>
Include dependency graph for dns.c:
Go to the source code of this file.
Data Structures | |
struct | dns_HEADER |
struct | dn_answer |
Defines | |
#define | MAX_SIZE 4096 |
Functions | |
AST_MUTEX_DEFINE_STATIC (res_lock) | |
int | ast_search_dns (void *context, const char *dname, int class, int type, int(*callback)(void *context, u_char *answer, int len, u_char *fullanswer)) |
Variables | |
dn_answer | __packed__ |
|
Definition at line 23 of file dns.c. Referenced by ast_search_dns(). |
|
|
|
Definition at line 163 of file dns.c. References ast_log(), ast_mutex_lock, ast_mutex_unlock, LOG_DEBUG, LOG_WARNING, MAX_SIZE, and type. Referenced by ast_get_enum(), ast_get_srv(), and ast_get_txt().
|
|
|