diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-07-03 18:57:42 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-07-03 18:57:42 +0000 |
commit | 5dc54a39e47148803d950d2facb42500e08f4769 (patch) | |
tree | 7875d1088c002ae64b7fc962ba013e948515f1c1 /src/include | |
parent | a02a1c5608a47211b3e672c8834a8e8a2f917ce6 (diff) | |
download | s6-dns-5dc54a39e47148803d950d2facb42500e08f4769.tar.xz |
Add s6-dns-hosts-compile, prepare for 2.3.6.0
Signed-off-by: Laurent Bercot <ska@appnovation.com>
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) ; |