Move blockdata to it's own file.

This commit is contained in:
Simon Kelley
2014-01-08 17:31:16 +00:00
parent c47e3ba446
commit 98c098bfc7
5 changed files with 104 additions and 85 deletions

View File

@@ -987,6 +987,8 @@ void dump_cache(time_t now);
char *cache_get_name(struct crec *crecp);
char *cache_get_cname_target(struct crec *crecp);
struct crec *cache_enumerate(int init);
/* blockdata.c */
#ifdef HAVE_DNSSEC
struct blockdata *blockdata_alloc(char *data, size_t len);
size_t blockdata_walk(struct blockdata **key, unsigned char **p, size_t cnt);