From 2ddbd39ac4488f89f9c589bede1e296ca39b7ba4 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 21 Dec 2020 19:54:46 +0000 Subject: Works better when you declare it --- src/include/s6-dns/s6dns-message.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/include') diff --git a/src/include/s6-dns/s6dns-message.h b/src/include/s6-dns/s6dns-message.h index e57a992..614bf1a 100644 --- a/src/include/s6-dns/s6dns-message.h +++ b/src/include/s6-dns/s6dns-message.h @@ -4,8 +4,10 @@ #define S6DNS_MESSAGE_H #include + #include #include + #include @@ -182,4 +184,9 @@ extern unsigned int s6dns_message_parse_skipqd (s6dns_message_counts_t *, char c extern int s6dns_message_parse_getrr (s6dns_message_rr_t_ref, char const *, unsigned int, unsigned int *) ; extern unsigned int s6dns_message_parse_next (s6dns_message_counts_t *, s6dns_message_rr_t const *, char const *, unsigned int, unsigned int *) ; + + /* For when you want to write a cache */ + +extern int s6dns_message_parse_question (s6dns_domain_t *, uint16_t *, char const *, unsigned int, unsigned int *) ; + #endif -- cgit v1.2.3