From 2d78c35314f0310561cabefea8564123ccbb2622 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 2 Dec 2023 10:23:03 +0000 Subject: Add nodecode functions for get_domain and parse_question Also make sure get_domain always returns lowercase. Signed-off-by: Laurent Bercot --- src/include/s6-dns/s6dns-message.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') 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 -- cgit v1.2.3