00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _ASTERISK_DNSMGR_H
00024 #define _ASTERISK_DNSMGR_H
00025
00026 #if defined(__cplusplus) || defined(c_plusplus)
00027 extern "C" {
00028 #endif
00029
00030 #include <netinet/in.h>
00031
00032 struct ast_dnsmgr_entry;
00033
00034 struct ast_dnsmgr_entry *ast_dnsmgr_get(const char *name, struct in_addr *result);
00035
00036 void ast_dnsmgr_release(struct ast_dnsmgr_entry *entry);
00037
00038 int ast_dnsmgr_lookup(const char *name, struct in_addr *result, struct ast_dnsmgr_entry **dnsmgr);
00039
00040 #if defined(__cplusplus) || defined(c_plusplus)
00041 }
00042 #endif
00043
00044 #endif