Move make_local_answer() to domain-match.c

This commit is contained in:
Simon Kelley
2021-06-10 21:40:52 +01:00
parent ff523d0c67
commit 4a6550d69a
3 changed files with 53 additions and 51 deletions

View File

@@ -1726,6 +1726,8 @@ void build_server_array(void);
int lookup_domain(char *qdomain, int flags, int *lowout, int *highout);
int filter_servers(int seed, int flags, int *lowout, int *highout);
int is_local_answer(time_t now, int first, char *name);
size_t make_local_answer(int flags, int gotname, size_t size, struct dns_header *header,
char *name, int first, int last);
#ifdef HAVE_DNSSEC
int dnssec_server(struct server *server, char *keyname, int *firstp, int *lastp);
#endif