aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/librdns/packet.h10
-rw-r--r--contrib/librdns/rdns.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/contrib/librdns/packet.h b/contrib/librdns/packet.h
index f4c09b900..6d22de4e0 100644
--- a/contrib/librdns/packet.h
+++ b/contrib/librdns/packet.h
@@ -44,16 +44,6 @@ void rdns_make_dns_header (struct rdns_request *req, unsigned int qcount);
/**
- * Format DNS name of the packet
- * @param req request
- * @param name name string
- * @param namelen length of name
- */
-bool rdns_format_dns_name (struct rdns_resolver *resolver,
- const char *name, size_t namelen,
- char **out, size_t *outlen);
-
-/**
* Add a resource record to the DNS packet
* @param req request
* @param name requested name
diff --git a/contrib/librdns/rdns.h b/contrib/librdns/rdns.h
index 56630536c..d7615667e 100644
--- a/contrib/librdns/rdns.h
+++ b/contrib/librdns/rdns.h
@@ -382,6 +382,16 @@ const struct rdns_request_name* rdns_request_get_name (struct rdns_request *req,
*/
char * rdns_generate_ptr_from_str (const char *str);
+/**
+ * Format DNS name of the packet punycoding if needed
+ * @param req request
+ * @param name name string
+ * @param namelen length of name
+ */
+bool rdns_format_dns_name (struct rdns_resolver *resolver,
+ const char *name, size_t namelen,
+ char **out, size_t *outlen);
+
/*
* Private functions used by async libraries as callbacks
*/