aboutsummaryrefslogtreecommitdiffstats
path: root/ldns/str2host.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2017-02-03 13:01:00 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2017-02-03 13:01:00 +0000
commitc6342fe2e90510d8d2296423f2ca92818a7b3d18 (patch)
tree0cc9064980c804a7bf5cc6d96c9249950c7e56a9 /ldns/str2host.h
parent65be028f32ed37dce84f6328d4a7172132c8c224 (diff)
downloadsrc-vendor/ldns.tar.gz
src-vendor/ldns.zip
Notes
Notes: svn path=/vendor/ldns/dist/; revision=313156 svn path=/vendor/ldns/1.7.0/; revision=313157; tag=vendor/ldns/1.7.0
Diffstat (limited to 'ldns/str2host.h')
-rw-r--r--ldns/str2host.h26
1 files changed, 25 insertions, 1 deletions
diff --git a/ldns/str2host.h b/ldns/str2host.h
index 341aa2481958..d639970546ad 100644
--- a/ldns/str2host.h
+++ b/ldns/str2host.h
@@ -165,7 +165,7 @@ ldns_status ldns_str2rdf_class(ldns_rdf **rd, const char *str);
ldns_status ldns_str2rdf_cert_alg(ldns_rdf **rd, const char *str);
/**
- * convert and algorithm value into wireformat
+ * convert an algorithm value into wireformat
* \param[in] rd the rdf where to put the data
* \param[in] str the string to be converted
* \return ldns_status
@@ -173,6 +173,30 @@ ldns_status ldns_str2rdf_cert_alg(ldns_rdf **rd, const char *str);
ldns_status ldns_str2rdf_alg(ldns_rdf **rd, const char *str);
/**
+ * convert a tlsa certificate usage value into wireformat
+ * \param[in] rd the rdf where to put the data
+ * \param[in] str the string to be converted
+ * \return ldns_status
+ */
+ldns_status ldns_str2rdf_certificate_usage(ldns_rdf **rd, const char *str);
+
+/**
+ * convert a tlsa selector value into wireformat
+ * \param[in] rd the rdf where to put the data
+ * \param[in] str the string to be converted
+ * \return ldns_status
+ */
+ldns_status ldns_str2rdf_selector(ldns_rdf **rd, const char *str);
+
+/**
+ * convert a tlsa matching type value into wireformat
+ * \param[in] rd the rdf where to put the data
+ * \param[in] str the string to be converted
+ * \return ldns_status
+ */
+ldns_status ldns_str2rdf_matching_type(ldns_rdf **rd, const char *str);
+
+/**
* convert a string with a unknown RR into wireformat
* \param[in] rd the rdf where to put the data
* \param[in] str the string to be converted