#include "msg.h"
#include "hash.h"
-#define DNS_IDTABLE_SIZE 0x2000
-#define DNS_STATTABLE_SIZE 0x10
-
#define DNS_HOST_IPV4 ((char)'4')
#define DNS_HOST_IPV6 ((char)'6')
#define DNS_REVERSE_IPV4 ((char)'R')
};
/* These serve as a form of sparse array */
-static struct Dictionary *query_dict;
-static struct Dictionary *stat_dict;
+static rb_dictionary *query_dict;
+static rb_dictionary *stat_dict;
rb_dlink_list nameservers;
{
struct dnsstatreq *req;
uint32_t qid;
- int st, i;
+ int st;
long lqid = strtol(callid, NULL, 16);
if(lqid > UINT32_MAX)
reload_nameservers(void)
{
check_authd();
- rb_helper_write(authd_helper, "H D");
+ rb_helper_write(authd_helper, "R D");
(void)get_nameservers(stats_results_callback, NULL);
}