summaryrefslogtreecommitdiff
path: root/ref/api
diff options
context:
space:
mode:
authorgdamore <gdamore@users.noreply.github.com>2025-01-05 01:01:58 +0000
committergdamore <gdamore@users.noreply.github.com>2025-01-05 01:01:58 +0000
commit5caf315bf0edf8005defa97534bdd89afc448e9f (patch)
treedb0852b43a54a7ef4f1b9a451879034d5fd565b8 /ref/api
parent966021ce8d95b83355f38db00bf8c5201c901447 (diff)
downloadnng-5caf315bf0edf8005defa97534bdd89afc448e9f.tar.gz
nng-5caf315bf0edf8005defa97534bdd89afc448e9f.tar.bz2
nng-5caf315bf0edf8005defa97534bdd89afc448e9f.zip
deploy: a40b421d39a64c285a4ac23304538690aaa90739
Diffstat (limited to 'ref/api')
-rw-r--r--ref/api/id_map.html5
1 files changed, 1 insertions, 4 deletions
diff --git a/ref/api/id_map.html b/ref/api/id_map.html
index 00063467..d180b156 100644
--- a/ref/api/id_map.html
+++ b/ref/api/id_map.html
@@ -226,10 +226,7 @@ This feature is also exposed for application use, as a “supplemental” featur
<p>When using these functions, it is necessary to add the <code>#include &lt;nng/supplemental/util/idhash.h&gt;</code>
include file to list of includes.</p>
<h2 id="id-map-structure"><a class="header" href="#id-map-structure">ID Map Structure</a></h2>
-<pre><code class="language-c">#include &lt;nng/nng.h&gt;
-#include &lt;nng/supplemental/util/idhash.h&gt;
-
-typedef struct nng_id_map_s nng_id_map;
+<pre><code class="language-c">typedef struct nng_id_map_s nng_id_map;
</code></pre>
<p>The ID map structure, <a name="a001"></a><code>nng_id_map</code> provides a table of identifiers mapping
to user-supplied pointers (which must not be <code>NULL</code>). The identifiers can be