From f01c8453d56f810031ded37ed9e37e71e7474089 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 12 Apr 2018 00:32:03 +0000 Subject: Document the CAA functions --- doc/libs6dns/s6dns-message.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'doc/libs6dns/s6dns-message.html') diff --git a/doc/libs6dns/s6dns-message.html b/doc/libs6dns/s6dns-message.html index 675dac5..5eb0413 100644 --- a/doc/libs6dns/s6dns-message.html +++ b/doc/libs6dns/s6dns-message.html @@ -79,6 +79,7 @@ also provided. The list includes:
  • s6dns_message_rr_mx for MX RRs
  • s6dns_message_rr_soa for SOA RRs
  • s6dns_message_rr_srv for SRV RRs
  • +
  • s6dns_message_rr_caa for CAA RRs
  • 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. +

    +

    High-level RR-specific parsing functions

    @@ -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. +

    +

    High-level packet parsing

    -- cgit v1.3.1