summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-12-02 10:23:03 +0000
committerLaurent Bercot <ska@appnovation.com>2023-12-02 10:23:03 +0000
commit2d78c35314f0310561cabefea8564123ccbb2622 (patch)
tree450ad222f89f6a0a92efd5492973701cf3ac3beb /src/include
parentc3fa4bca2f0d71b296b990593a33584a8fe396e1 (diff)
downloads6-dns-2d78c35314f0310561cabefea8564123ccbb2622.tar.xz
Add nodecode functions for get_domain and parse_question
Also make sure get_domain always returns lowercase. Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/s6-dns/s6dns-message.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/s6-dns/s6dns-message.h b/src/include/s6-dns/s6dns-message.h
index eb9c378..04d0f79 100644
--- a/src/include/s6-dns/s6dns-message.h
+++ b/src/include/s6-dns/s6dns-message.h
@@ -188,6 +188,7 @@ extern unsigned int s6dns_message_parse_next (s6dns_message_counts_t *, s6dns_me
/* For when you want to write a cache */
+extern int s6dns_message_parse_question_nodecode (s6dns_message_counts_t *, s6dns_domain_t *, uint16_t *, char const *, unsigned int, unsigned int *) ;
extern int s6dns_message_parse_question (s6dns_message_counts_t *, s6dns_domain_t *, uint16_t *, char const *, unsigned int, unsigned int *) ;
#endif