diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/s6-dns/hosts.h | 16 | ||||
-rw-r--r-- | src/include/s6-dns/s6dns.h | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/include/s6-dns/hosts.h b/src/include/s6-dns/hosts.h new file mode 100644 index 0000000..9c2baaf --- /dev/null +++ b/src/include/s6-dns/hosts.h @@ -0,0 +1,16 @@ +/* ISC license. */ + +#ifndef S6DNS_HOSTS_H +#define S6DNS_HOSTS_H + +#include <skalibs/cdb.h> +#include <skalibs/genalloc.h> + +extern cdb s6dns_hosts_here ; + +extern int s6dns_hosts_init (cdb *) ; +#define s6dns_hosts_free(c) cdb_free(c) + +extern int s6dns_hosts_compile (int, int) ; + +#endif diff --git a/src/include/s6-dns/s6dns.h b/src/include/s6-dns/s6dns.h index 448f14d..de8c085 100644 --- a/src/include/s6-dns/s6dns.h +++ b/src/include/s6-dns/s6dns.h @@ -11,6 +11,7 @@ #include <s6-dns/s6dns-rci.h> #include <s6-dns/s6dns-resolve.h> #include <s6-dns/s6dns-fmt.h> +#include <s6-dns/hosts.h> extern int s6dns_init (void) ; extern void s6dns_finish (void) ; |