summaryrefslogtreecommitdiff
path: root/doc/libs6dns/s6dns-fmt.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-04-12 00:32:03 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-04-12 00:32:03 +0000
commitf01c8453d56f810031ded37ed9e37e71e7474089 (patch)
tree7051fe3443dbe6d438733522b41ea418659efbec /doc/libs6dns/s6dns-fmt.html
parent665f12a744dea29a4e5437ecca918ed5d57b5744 (diff)
downloads6-dns-f01c8453d56f810031ded37ed9e37e71e7474089.tar.xz
Document the CAA functions
Diffstat (limited to 'doc/libs6dns/s6dns-fmt.html')
-rw-r--r--doc/libs6dns/s6dns-fmt.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/libs6dns/s6dns-fmt.html b/doc/libs6dns/s6dns-fmt.html
index 9534c76..247257a 100644
--- a/doc/libs6dns/s6dns-fmt.html
+++ b/doc/libs6dns/s6dns-fmt.html
@@ -89,5 +89,14 @@ the output would be more than <em>max</em> bytes, 0 ENAMETOOLONG is returned.
To avoid that, S6DNS_FMT_SRV is a suitable number of bytes to preallocate <em>s</em>.
</p>
+<p>
+<code> size_t s6dns_fmt_caa (char *s, size_t max, s6dns_message_rr_caa_t const *p) </code> <br />
+Writes into string <em>s</em> the CAA contained in *<em>p</em>: flags, then tag,
+then value, separated by spaces.
+Returns the number of bytes written, or 0 in case of failure. If
+the output would be more than <em>max</em> bytes, 0 ENAMETOOLONG is returned.
+To avoid that, S6DNS_FMT_CAA is a suitable number of bytes to preallocate <em>s</em>.
+</p>
+
</body>
</html>