summaryrefslogtreecommitdiff
path: root/ref/migrate
diff options
context:
space:
mode:
authorgdamore <gdamore@users.noreply.github.com>2025-10-18 00:13:35 +0000
committergdamore <gdamore@users.noreply.github.com>2025-10-18 00:13:35 +0000
commit294a01aa69296a7402b0dbafc38b88040f9c5450 (patch)
tree5f7d354a0e689a35c5612c3fc663e6f8537058ef /ref/migrate
parent397662cce4a8d22943aee6d1e886456af7d47c1d (diff)
downloadnng-294a01aa69296a7402b0dbafc38b88040f9c5450.tar.gz
nng-294a01aa69296a7402b0dbafc38b88040f9c5450.tar.bz2
nng-294a01aa69296a7402b0dbafc38b88040f9c5450.zip
deploy: 31a9a4a216da05c512c50ae7cb259ca500f0c8c8
Diffstat (limited to 'ref/migrate')
-rw-r--r--ref/migrate/nanomsg.html4
-rw-r--r--ref/migrate/nng1.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/ref/migrate/nanomsg.html b/ref/migrate/nanomsg.html
index eabe1549..62cf684d 100644
--- a/ref/migrate/nanomsg.html
+++ b/ref/migrate/nanomsg.html
@@ -317,8 +317,8 @@ NNG approach to messages. Likewise there is no <code>struct nn_cmsghdr</code> eq
<tr><td><code>NN_IPV4ONLY</code></td><td>None</td><td>Use URL such as <code>tcp4://</code> to obtain this functionality.</td></tr>
<tr><td><code>NN_SOCKET_NAME</code></td><td>None</td><td>Removed from NNG.</td></tr>
<tr><td><code>NN_MAXTTL</code></td><td><a href="../api/sock.html#NNG_OPT_MAXTTL"><code>NNG_OPT_MAXTTL</code></a></td><td></td></tr>
-<tr><td><code>NN_SUB_SUBSCRIBE</code></td><td><a href="../TODO.html"><code>nng_sub0_socket_subscribe</code></a></td><td>No longer an option, use a function call.</td></tr>
-<tr><td><code>NN_SUB_UNSUBSCRIBE</code></td><td><a href="../TODO.html"><code>nng_sub0_socket_unsubscribe</code></a></td><td>No longer an option, use a function call.</td></tr>
+<tr><td><code>NN_SUB_SUBSCRIBE</code></td><td><a href="../proto/sub.html#socket-operations"><code>nng_sub0_socket_subscribe</code></a></td><td>No longer an option, use a function call.</td></tr>
+<tr><td><code>NN_SUB_UNSUBSCRIBE</code></td><td><a href="../proto/sub.html#socket-operations"><code>nng_sub0_socket_unsubscribe</code></a></td><td>No longer an option, use a function call.</td></tr>
</tbody></table>
</div>
<h2 id="error-codes"><a class="header" href="#error-codes">Error Codes</a></h2>
diff --git a/ref/migrate/nng1.html b/ref/migrate/nng1.html
index 54fece2f..58dd6b29 100644
--- a/ref/migrate/nng1.html
+++ b/ref/migrate/nng1.html
@@ -489,8 +489,8 @@ matching the actual wire protocol values, instead of <code>int</code>.</p>
Applications should keep track of this information separately.</p>
<h2 id="subscriptions"><a class="header" href="#subscriptions">Subscriptions</a></h2>
<p>The <code>NNG_OPT_SUB_SUBSCRIBE</code> and <code>NNG_OPT_SUB_UNSUBSCRIBE</code> options have been replaced by
-the following functions: <a href="../TODO.html"><code>nng_sub0_socket_subscribe</code></a>, <a href="../TODO.html"><code>nng_sub0_socket_unsubscribe</code></a>,
-<a href="../TODO.html"><code>nng_sub0_ctx_subscribe</code></a> and <a href="../TODO.html"><code>nng_sub0_ctx_unsubscribe</code></a>. These functions, like the options
+the following functions: <a href="../proto/sub.html#socket-operations"><code>nng_sub0_socket_subscribe</code></a>, <a href="../proto/sub.html#socket-operations"><code>nng_sub0_socket_unsubscribe</code></a>,
+<a href="../proto/sub.html#context-operations"><code>nng_sub0_ctx_subscribe</code></a> and <a href="../proto/sub.html#context-operations"><code>nng_sub0_ctx_unsubscribe</code></a>. These functions, like the options
they replace, are only applicable to SUB sockets.</p>
<h2 id="statistics-use-constified-pointers"><a class="header" href="#statistics-use-constified-pointers">Statistics Use Constified Pointers</a></h2>
<p>A number of the <a href="../api/stats.html">statistics</a> functions take, or return, <code>const nng_stat *</code> instead