From f01c8453d56f810031ded37ed9e37e71e7474089 Mon Sep 17 00:00:00 2001
From: Laurent Bercot Functions
@@ -167,6 +168,13 @@ Reads a SOA RR and stores it into *p. Returns 1 on success or 0 on fail
Reads a SRV RR and stores it into *p. Returns 1 on success or 0 on failure.
+ int s6dns_message_get_caa (s6dns_message_rr_caa_t *p, char const *packet, unsigned int packetlen, unsigned int *pos, uint16_t rdlength)
+Reads a CAA RR and stores it into *p. Returns 1 on success or 0 on failure.
+rdlength is the length of the RDATA field of the record; this value is
+needed to properly parse a CAA record.
+
@@ -233,6 +241,14 @@ Parses SRV RRs located in the answer section of the packet. The containing s6dns_message_rr_srv_t structures.
+
+ s6dns_message_func_t s6dns_message_parse_answer_caa
+Parses CAA RRs located in the answer section of the packet. The
+data argument is interpreted as a pointer to a
+genalloc
+containing s6dns_message_rr_caa_t structures.
+
-- cgit v1.3.1