summaryrefslogtreecommitdiff
path: root/sldns/wire2str.h
diff options
context:
space:
mode:
Diffstat (limited to 'sldns/wire2str.h')
-rw-r--r--sldns/wire2str.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/sldns/wire2str.h b/sldns/wire2str.h
index a7c58b85a5fb..772268b249c9 100644
--- a/sldns/wire2str.h
+++ b/sldns/wire2str.h
@@ -920,6 +920,19 @@ int sldns_wire2str_eui64_scan(uint8_t** data, size_t* data_len, char** str,
size_t* str_len);
/**
+ * Scan wireformat UNQUOTED field to string, with user buffers.
+ * It shifts the arguments to move along (see sldns_wire2str_pkt_scan).
+ * @param data: wireformat data.
+ * @param data_len: length of data buffer.
+ * @param str: string buffer.
+ * @param str_len: length of string buffer.
+ * @return number of characters (except null) needed to print.
+ * Can return -1 on failure.
+ */
+int sldns_wire2str_unquoted_scan(uint8_t** data, size_t* data_len, char** str,
+ size_t* str_len);
+
+/**
* Scan wireformat TAG field to string, with user buffers.
* It shifts the arguments to move along (see sldns_wire2str_pkt_scan).
* @param data: wireformat data.