Add address feature

This commit is contained in:
Nick Peng
2018-06-26 00:09:11 +08:00
parent 7e60b9bc72
commit 06bc0b1642
10 changed files with 1343 additions and 73 deletions

View File

@@ -2,6 +2,7 @@
#define _DNS_CONF
#include "list.h"
#include "art.h"
#include "dns.h"
#define DNS_MAX_SERVERS 32
@@ -41,8 +42,10 @@ extern int dns_conf_verbose;
extern int dns_conf_loglevel;
extern char dns_conf_logfile[DNS_MAX_PATH];
extern int dns_conf_lognum;
extern struct list_head dns_conf_address_list;
extern art_tree dns_conf_address;
int load_conf(const char *file);
void load_exit(void);
#endif // !_DNS_CONF