summaryrefslogtreecommitdiff
path: root/doc
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
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')
-rw-r--r--doc/index.html2
-rw-r--r--doc/libs6dns/s6dns-engine.html11
-rw-r--r--doc/upgrade.html3
3 files changed, 14 insertions, 2 deletions
diff --git a/doc/index.html b/doc/index.html
index 0c61a88..8ce5d8c 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -72,7 +72,7 @@ requirement if you link against the shared version of the skalibs library. </li>
<h3> Download </h3>
<ul>
- <li> The current released version of s6-dns is <a href="s6-dns-2.3.7.3.tar.gz">2.3.7.3</a>. </li>
+ <li> The current released version of s6-dns is <a href="s6-dns-2.3.8.0.tar.gz">2.3.8.0</a>. </li>
<li> Alternatively, you can checkout a copy of the
<a href="//git.skarnet.org/cgi-bin/cgit.cgi/s6-dns/">s6-dns
git repository</a>:
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>
diff --git a/doc/upgrade.html b/doc/upgrade.html
index c2c9280..960129f 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -18,11 +18,12 @@
<h1> What has changed in s6-dns </h1>
-<h2> in 2.3.7.3 </h2>
+<h2> in 2.3.8.0 </h2>
<ul>
<li> <a href="//skarnet.org/software/skalibs/">skalibs</a>
dependency bumped to 2.14.3.0. </li>
+ <li> New function: <tt>s6dns_engine_query()</tt>
</ul>
<h2> in 2.3.7.2 </h2>