Make authoritative stuff a compile-time option.

This commit is contained in:
Simon Kelley
2012-12-18 18:30:30 +00:00
parent f8abe0c566
commit 4820dce97a
5 changed files with 28 additions and 2 deletions

View File

@@ -910,7 +910,9 @@ int extract_name(struct dns_header *header, size_t plen, unsigned char **pp,
int in_arpa_name_2_addr(char *namein, struct all_addr *addrp);
/* auth.c */
#ifdef HAVE_AUTH
size_t answer_auth(struct dns_header *header, char *limit, size_t qlen, time_t now, union mysockaddr *peer_addr);
#endif
/* util.c */
void rand_init(void);