diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-12-21 19:54:46 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-12-21 19:54:46 +0000 |
commit | 2ddbd39ac4488f89f9c589bede1e296ca39b7ba4 (patch) | |
tree | 817c89be4241424482561234a8c72f89375e4008 | |
parent | 1fb7cdff0722039f6b103e9782ca8a25b8545b1b (diff) | |
download | s6-dns-2ddbd39ac4488f89f9c589bede1e296ca39b7ba4.tar.xz |
Works better when you declare it
-rw-r--r-- | src/include/s6-dns/s6dns-message.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 <stdint.h> + #include <skalibs/stralloc.h> #include <skalibs/genalloc.h> + #include <s6-dns/s6dns-domain.h> @@ -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 |