summaryrefslogtreecommitdiff
path: root/doc/libs6dns/s6dns-engine.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-08-05 13:13:45 +0000
committerLaurent Bercot <ska@appnovation.com>2024-08-05 13:13:45 +0000
commite25c41578e710aed96939e5c7e503fc1db5dab3a (patch)
tree881c72e134920538d153575ca8ccdf1b61ec664a /doc/libs6dns/s6dns-engine.html
parent56f0665c3f60d5728b1b2b6f4ec991a500443e31 (diff)
downloads6-dns-e25c41578e710aed96939e5c7e503fc1db5dab3a.tar.xz
Prepare for 2.3.8.0; add s6dns_engine_query
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc/libs6dns/s6dns-engine.html')
-rw-r--r--doc/libs6dns/s6dns-engine.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/libs6dns/s6dns-engine.html b/doc/libs6dns/s6dns-engine.html
index 5a24194..4449fbe 100644
--- a/doc/libs6dns/s6dns-engine.html
+++ b/doc/libs6dns/s6dns-engine.html
@@ -252,5 +252,16 @@ if <tt>s6dns_engine_event()</tt> returned 1.
You should recycle or free <em>dt</em> after reading the response packet.
</p>
+<p>
+<code> void s6dns_engine_query (s6dns_engine_t const *dt, char **name, uint16_t *len, uint16_t *qtype) </code>
+</p>
+
+<p>
+ Recalls the query encoded in <em>*dt</em>: stores a pointer to the encoded name in
+<em>*name</em>, its length in <em>*len</em> and the query type in <em>*qtype</em>.
+You can call this function
+even if <em>dt</em> has been recycled - but, of course, not if it has been freed.
+</p>
+
</body>
</html>