summaryrefslogtreecommitdiff
path: root/include/asterisk/dns_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/dns_core.h')
-rw-r--r--include/asterisk/dns_core.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asterisk/dns_core.h b/include/asterisk/dns_core.h
index 1f67bb803..fe67e340d 100644
--- a/include/asterisk/dns_core.h
+++ b/include/asterisk/dns_core.h
@@ -205,6 +205,15 @@ int ast_dns_record_get_ttl(const struct ast_dns_record *record);
const char *ast_dns_record_get_data(const struct ast_dns_record *record);
/*!
+ * \brief Retrieve the size of the raw DNS record
+ *
+ * \param record The DNS record
+ *
+ * \return the size of the raw DNS record
+ */
+size_t ast_dns_record_get_data_size(const struct ast_dns_record *record);
+
+/*!
* \brief Get the next DNS record
*
* \param record The current DNS record