/* ISC license. */ #include #include #include "s6dns-message-internal.h" int s6dns_message_get_domain (s6dns_domain_t *d, char const *packet, unsigned int packetlen, unsigned int *pos) { return s6dns_message_get_domain_internal(d->s, 255, packet, packetlen, pos) && s6dns_domain_decode(d) ; }