]> git.seodisparate.com - UDPConnection/commitdiff
deploy: f4ed1aa1362278d7cf6ab02909e0d7f9b945d567
authorStephen-Seo <Stephen-Seo@users.noreply.github.com>
Mon, 1 Jan 2024 03:29:22 +0000 (03:29 +0000)
committerStephen-Seo <Stephen-Seo@users.noreply.github.com>
Mon, 1 Jan 2024 03:29:22 +0000 (03:29 +0000)
UDPC_8h.html
UDPC_8h_source.html

index 421c4e8fd961955523bcf722b78670664ed25499..6a55e1af2a1b5a95daf4eef215779f1c516efede 100644 (file)
@@ -284,8 +284,9 @@ UDPC_EXPORT const char *&#160;</td><td class="memItemRight" valign="bottom"><b>U
 <tr class="memitem:a1549eee3edacbc23ca144eec72d274bb"><td class="memItemLeft" align="right" valign="top">UDPC_EXPORT const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="UDPC_8h.html#a1549eee3edacbc23ca144eec72d274bb">UDPC_atostr_unsafe_cid</a> (<a class="el" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> cid)</td></tr>
 <tr class="memdesc:a1549eee3edacbc23ca144eec72d274bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Similar to UPDC_atostr(), but the returned ptr must be free'd.  <a href="UDPC_8h.html#a1549eee3edacbc23ca144eec72d274bb">More...</a><br /></td></tr>
 <tr class="separator:a1549eee3edacbc23ca144eec72d274bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a5c6fe261f7d53e7ccae4c7233c42c76b"><td class="memItemLeft" align="right" valign="top">UDPC_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="UDPC_8h.html#a5c6fe261f7d53e7ccae4c7233c42c76b">UDPC_atostr_unsafe_free</a> (const char *addrBuf)</td></tr>
-<tr class="memdesc:a5c6fe261f7d53e7ccae4c7233c42c76b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Free an addr string created with <a class="el" href="UDPC_8h.html#a939b6c407297f6cf913f2983869f051f" title="Similar to UPDC_atostr(), but the returned ptr must be free&#39;d.">UDPC_atostr_unsafe()</a>.  <a href="UDPC_8h.html#a5c6fe261f7d53e7ccae4c7233c42c76b">More...</a><br /></td></tr>
+<tr class="memitem:a5c6fe261f7d53e7ccae4c7233c42c76b"><td class="memItemLeft" align="right" valign="top"><a id="a5c6fe261f7d53e7ccae4c7233c42c76b" name="a5c6fe261f7d53e7ccae4c7233c42c76b"></a>
+UDPC_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><b>UDPC_atostr_unsafe_free</b> (const char *addrBuf)</td></tr>
+<tr class="memdesc:a5c6fe261f7d53e7ccae4c7233c42c76b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Free an addr string created with <a class="el" href="UDPC_8h.html#a939b6c407297f6cf913f2983869f051f" title="Similar to UPDC_atostr(), but the returned ptr must be free&#39;d.">UDPC_atostr_unsafe()</a>. <br /></td></tr>
 <tr class="separator:a5c6fe261f7d53e7ccae4c7233c42c76b"><td class="memSeparator" colspan="2">&#160;</td></tr>
 <tr class="memitem:a2e47fb8779abe3a9db72a08bf494dc75"><td class="memItemLeft" align="right" valign="top">UDPC_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="UDPC_8h.html#a2e47fb8779abe3a9db72a08bf494dc75">UDPC_atostr_unsafe_free_ptr</a> (const char **addrBuf)</td></tr>
 <tr class="memdesc:a2e47fb8779abe3a9db72a08bf494dc75"><td class="mdescLeft">&#160;</td><td class="mdescRight">Free an addr string created with <a class="el" href="UDPC_8h.html#a939b6c407297f6cf913f2983869f051f" title="Similar to UPDC_atostr(), but the returned ptr must be free&#39;d.">UDPC_atostr_unsafe()</a> and zeroes the pointer.  <a href="UDPC_8h.html#a2e47fb8779abe3a9db72a08bf494dc75">More...</a><br /></td></tr>
@@ -373,6 +374,7 @@ Variables</h2></td></tr>
 </table>
 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
 <div class="textblock"><p >Public API for UDPConnection. </p>
+<p >Note that all functions are thread-safe unless mentioned otherwise in the function's documentation. </p>
 </div><h2 class="groupheader">Typedef Documentation</h2>
 <a id="a228cd7ddf56a4e76e216bc3b80e8bd4a" name="a228cd7ddf56a4e76e216bc3b80e8bd4a"></a>
 <h2 class="memtitle"><span class="permalink"><a href="#a228cd7ddf56a4e76e216bc3b80e8bd4a">&#9670;&#160;</a></span>UDPC_AuthPolicy</h2>
@@ -555,8 +557,7 @@ Variables</h2></td></tr>
 
 <p>Similar to UPDC_atostr(), but the returned ptr must be free'd. </p>
 <dl class="section warning"><dt>Warning</dt><dd>The returned pointer must be freed with free(), or <a class="el" href="UDPC_8h.html#a5c6fe261f7d53e7ccae4c7233c42c76b" title="Free an addr string created with UDPC_atostr_unsafe().">UDPC_atostr_unsafe_free()</a>, or <a class="el" href="UDPC_8h.html#a2e47fb8779abe3a9db72a08bf494dc75" title="Free an addr string created with UDPC_atostr_unsafe() and zeroes the pointer.">UDPC_atostr_unsafe_free_ptr()</a>.</dd></dl>
-<p>This function is thread-safe.</p>
-<p >UDPC internally uses <a class="el" href="UDPC_8h.html#a9e2401b133c0aae43c5d69304dabbdcc" title="Returns a pointer to a null-terminated address string derived from the given address.">UDPC_atostr()</a> for logging. This means that while UDPC is running, a string created with <a class="el" href="UDPC_8h.html#a9e2401b133c0aae43c5d69304dabbdcc" title="Returns a pointer to a null-terminated address string derived from the given address.">UDPC_atostr()</a> may be overwritten eventually by UDPC. To avoid this situation, <a class="el" href="UDPC_8h.html#a939b6c407297f6cf913f2983869f051f" title="Similar to UPDC_atostr(), but the returned ptr must be free&#39;d.">UDPC_atostr_unsafe()</a> or <a class="el" href="UDPC_8h.html#a1549eee3edacbc23ca144eec72d274bb" title="Similar to UPDC_atostr(), but the returned ptr must be free&#39;d.">UDPC_atostr_unsafe_cid()</a> may be used as the ptr returned by it will not be overwritten by UDPC as time passes.</p>
+<p>UDPC internally uses <a class="el" href="UDPC_8h.html#a9e2401b133c0aae43c5d69304dabbdcc" title="Returns a pointer to a null-terminated address string derived from the given address.">UDPC_atostr()</a> for logging. This means that while UDPC is running, a string created with <a class="el" href="UDPC_8h.html#a9e2401b133c0aae43c5d69304dabbdcc" title="Returns a pointer to a null-terminated address string derived from the given address.">UDPC_atostr()</a> may be overwritten eventually by UDPC. To avoid this situation, <a class="el" href="UDPC_8h.html#a939b6c407297f6cf913f2983869f051f" title="Similar to UPDC_atostr(), but the returned ptr must be free&#39;d.">UDPC_atostr_unsafe()</a> or <a class="el" href="UDPC_8h.html#a1549eee3edacbc23ca144eec72d274bb" title="Similar to UPDC_atostr(), but the returned ptr must be free&#39;d.">UDPC_atostr_unsafe_cid()</a> may be used as the ptr returned by it will not be overwritten by UDPC as time passes.</p>
 <p >It may be easier to use <a class="el" href="UDPC_8h.html#a1549eee3edacbc23ca144eec72d274bb" title="Similar to UPDC_atostr(), but the returned ptr must be free&#39;d.">UDPC_atostr_unsafe_cid()</a>. </p>
 
 </div>
@@ -579,29 +580,7 @@ Variables</h2></td></tr>
 
 <p>Similar to UPDC_atostr(), but the returned ptr must be free'd. </p>
 <dl class="section warning"><dt>Warning</dt><dd>The returned pointer must be freed with free(), or <a class="el" href="UDPC_8h.html#a5c6fe261f7d53e7ccae4c7233c42c76b" title="Free an addr string created with UDPC_atostr_unsafe().">UDPC_atostr_unsafe_free()</a>, or <a class="el" href="UDPC_8h.html#a2e47fb8779abe3a9db72a08bf494dc75" title="Free an addr string created with UDPC_atostr_unsafe() and zeroes the pointer.">UDPC_atostr_unsafe_free_ptr()</a>.</dd></dl>
-<p>This function is thread-safe.</p>
-<p >UDPC internally uses <a class="el" href="UDPC_8h.html#a9e2401b133c0aae43c5d69304dabbdcc" title="Returns a pointer to a null-terminated address string derived from the given address.">UDPC_atostr()</a> for logging. This means that while UDPC is running, a string created with <a class="el" href="UDPC_8h.html#a9e2401b133c0aae43c5d69304dabbdcc" title="Returns a pointer to a null-terminated address string derived from the given address.">UDPC_atostr()</a> may be overwritten eventually by UDPC. To avoid this situation, <a class="el" href="UDPC_8h.html#a939b6c407297f6cf913f2983869f051f" title="Similar to UPDC_atostr(), but the returned ptr must be free&#39;d.">UDPC_atostr_unsafe()</a> or <a class="el" href="UDPC_8h.html#a1549eee3edacbc23ca144eec72d274bb" title="Similar to UPDC_atostr(), but the returned ptr must be free&#39;d.">UDPC_atostr_unsafe_cid()</a> may be used as the ptr returned by it will not be overwritten by UDPC as time passes. </p>
-
-</div>
-</div>
-<a id="a5c6fe261f7d53e7ccae4c7233c42c76b" name="a5c6fe261f7d53e7ccae4c7233c42c76b"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a5c6fe261f7d53e7ccae4c7233c42c76b">&#9670;&#160;</a></span>UDPC_atostr_unsafe_free()</h2>
-
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">UDPC_EXPORT void UDPC_atostr_unsafe_free </td>
-          <td>(</td>
-          <td class="paramtype">const char *&#160;</td>
-          <td class="paramname"><em>addrBuf</em></td><td>)</td>
-          <td></td>
-        </tr>
-      </table>
-</div><div class="memdoc">
-
-<p>Free an addr string created with <a class="el" href="UDPC_8h.html#a939b6c407297f6cf913f2983869f051f" title="Similar to UPDC_atostr(), but the returned ptr must be free&#39;d.">UDPC_atostr_unsafe()</a>. </p>
-<p >This function is thread-safe. </p>
+<p>UDPC internally uses <a class="el" href="UDPC_8h.html#a9e2401b133c0aae43c5d69304dabbdcc" title="Returns a pointer to a null-terminated address string derived from the given address.">UDPC_atostr()</a> for logging. This means that while UDPC is running, a string created with <a class="el" href="UDPC_8h.html#a9e2401b133c0aae43c5d69304dabbdcc" title="Returns a pointer to a null-terminated address string derived from the given address.">UDPC_atostr()</a> may be overwritten eventually by UDPC. To avoid this situation, <a class="el" href="UDPC_8h.html#a939b6c407297f6cf913f2983869f051f" title="Similar to UPDC_atostr(), but the returned ptr must be free&#39;d.">UDPC_atostr_unsafe()</a> or <a class="el" href="UDPC_8h.html#a1549eee3edacbc23ca144eec72d274bb" title="Similar to UPDC_atostr(), but the returned ptr must be free&#39;d.">UDPC_atostr_unsafe_cid()</a> may be used as the ptr returned by it will not be overwritten by UDPC as time passes. </p>
 
 </div>
 </div>
@@ -622,14 +601,13 @@ Variables</h2></td></tr>
 </div><div class="memdoc">
 
 <p>Free an addr string created with <a class="el" href="UDPC_8h.html#a939b6c407297f6cf913f2983869f051f" title="Similar to UPDC_atostr(), but the returned ptr must be free&#39;d.">UDPC_atostr_unsafe()</a> and zeroes the pointer. </p>
-<p >This function is thread-safe.</p>
 <div class="fragment"><div class="line"><a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> aConnectionId = ...;</div>
 <div class="line"><span class="keyword">const</span> <span class="keywordtype">char</span> *addrString = <a class="code hl_function" href="UDPC_8h.html#a1549eee3edacbc23ca144eec72d274bb">UDPC_atostr_unsafe_cid</a>(aConnectionId);</div>
 <div class="line"><span class="comment">// Use addrString somewhere...</span></div>
 <div class="line"><a class="code hl_function" href="UDPC_8h.html#a2e47fb8779abe3a9db72a08bf494dc75">UDPC_atostr_unsafe_free_ptr</a>(&amp;addrString);</div>
 <div class="ttc" id="aUDPC_8h_html_a1549eee3edacbc23ca144eec72d274bb"><div class="ttname"><a href="UDPC_8h.html#a1549eee3edacbc23ca144eec72d274bb">UDPC_atostr_unsafe_cid</a></div><div class="ttdeci">UDPC_EXPORT const char * UDPC_atostr_unsafe_cid(UDPC_ConnectionId cid)</div><div class="ttdoc">Similar to UPDC_atostr(), but the returned ptr must be free'd.</div></div>
 <div class="ttc" id="aUDPC_8h_html_a2e47fb8779abe3a9db72a08bf494dc75"><div class="ttname"><a href="UDPC_8h.html#a2e47fb8779abe3a9db72a08bf494dc75">UDPC_atostr_unsafe_free_ptr</a></div><div class="ttdeci">UDPC_EXPORT void UDPC_atostr_unsafe_free_ptr(const char **addrBuf)</div><div class="ttdoc">Free an addr string created with UDPC_atostr_unsafe() and zeroes the pointer.</div></div>
-<div class="ttc" id="astructUDPC__ConnectionId_html"><div class="ttname"><a href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a></div><div class="ttdoc">Data identifying a peer via addr, port, and scope_id.</div><div class="ttdef"><b>Definition:</b> UDPC.h:153</div></div>
+<div class="ttc" id="astructUDPC__ConnectionId_html"><div class="ttname"><a href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a></div><div class="ttdoc">Data identifying a peer via addr, port, and scope_id.</div><div class="ttdef"><b>Definition:</b> UDPC.h:156</div></div>
 </div><!-- fragment --> 
 </div>
 </div>
@@ -1056,7 +1034,7 @@ Variables</h2></td></tr>
 <div class="line"><a class="code hl_function" href="UDPC_8h.html#ad77c746ea0401664e11bfd76c56e94f5">UDPC_free_PacketInfo_ptr</a>(&amp;pinfo); <span class="comment">// This is safe, no double free.</span></div>
 <div class="ttc" id="aUDPC_8h_html_ad77c746ea0401664e11bfd76c56e94f5"><div class="ttname"><a href="UDPC_8h.html#ad77c746ea0401664e11bfd76c56e94f5">UDPC_free_PacketInfo_ptr</a></div><div class="ttdeci">UDPC_EXPORT void UDPC_free_PacketInfo_ptr(UDPC_PacketInfo *pInfoPtr)</div><div class="ttdoc">Frees a UDPC_PacketInfo.</div></div>
 <div class="ttc" id="aUDPC_8h_html_affa8655a4e7e3475be441060e92213b3"><div class="ttname"><a href="UDPC_8h.html#affa8655a4e7e3475be441060e92213b3">UDPC_get_received</a></div><div class="ttdeci">UDPC_EXPORT UDPC_PacketInfo UDPC_get_received(UDPC_HContext ctx, unsigned long *remaining)</div><div class="ttdoc">Get a received packet from a given UDPC context.</div></div>
-<div class="ttc" id="astructUDPC__PacketInfo_html"><div class="ttname"><a href="structUDPC__PacketInfo.html">UDPC_PacketInfo</a></div><div class="ttdoc">Data representing a received/sent packet.</div><div class="ttdef"><b>Definition:</b> UDPC.h:168</div></div>
+<div class="ttc" id="astructUDPC__PacketInfo_html"><div class="ttname"><a href="structUDPC__PacketInfo.html">UDPC_PacketInfo</a></div><div class="ttdoc">Data representing a received/sent packet.</div><div class="ttdef"><b>Definition:</b> UDPC.h:171</div></div>
 </div><!-- fragment --> 
 </div>
 </div>
index dccbd238e8e7b6fc48734bb78b15ce70b74c917f..544ad5cf0cd28b08fc70cc34babd17d90731dc85 100644 (file)
@@ -78,295 +78,295 @@ $(function() {
 </div><!--header-->
 <div class="contents">
 <a href="UDPC_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
-<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="preprocessor">#ifndef UDPC_CONNECTION_H</span></div>
-<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="preprocessor">#define UDPC_CONNECTION_H</span></div>
-<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span> </div>
-<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div>
-<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span> </div>
-<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="comment">// Determine platform macros</span></div>
-<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="preprocessor"># define UDPC_PLATFORM_WINDOWS 1</span></div>
-<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="preprocessor"># define UDPC_PLATFORM_MAC 2</span></div>
-<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="preprocessor"># define UDPC_PLATFORM_LINUX 3</span></div>
-<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="preprocessor"># define UDPC_PLATFORM_UNKNOWN 0</span></div>
-<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span> </div>
-<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="preprocessor"># if defined _WIN32</span></div>
-<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#  define UDPC_PLATFORM UDPC_PLATFORM_WINDOWS</span></div>
-<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="preprocessor"># elif defined __APPLE__</span></div>
-<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="preprocessor">#  define UDPC_PLATFORM UDPC_PLATFORM_MAC</span></div>
-<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="preprocessor"># elif defined __linux__</span></div>
-<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="preprocessor">#  define UDPC_PLATFORM UDPC_PLATFORM_LINUX</span></div>
-<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="preprocessor"># else</span></div>
-<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span><span class="preprocessor">#  define UDPC_PLATFORM UDPC_PLATFORM_UNKNOWN</span></div>
-<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span><span class="preprocessor"># endif</span></div>
-<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span> </div>
-<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span><span class="preprocessor">#endif </span><span class="comment">// DOXYGEN_SHOULD_SKIP_THIS</span></div>
-<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span> </div>
-<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span><span class="comment">// OS-based networking macros</span></div>
-<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span><span class="preprocessor">#if UDPC_PLATFORM == UDPC_PLATFORM_WINDOWS</span></div>
-<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span><span class="preprocessor"># include &lt;winsock2.h&gt;</span></div>
-<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span><span class="preprocessor"># ifdef UDPC_PLATFORM_MINGW</span></div>
-<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span><span class="preprocessor">#  include &lt;ws2ipdef.h&gt;</span></div>
-<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span><span class="preprocessor">#  include &lt;in6addr.h&gt;</span></div>
-<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span><span class="preprocessor"># else</span></div>
-<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span><span class="preprocessor">#  include &lt;Ws2ipdef.h&gt;</span></div>
-<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span><span class="preprocessor">#  include &lt;In6addr.h&gt;</span></div>
-<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span><span class="preprocessor"># endif</span></div>
-<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span> </div>
-<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span><span class="preprocessor"># ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div>
-<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span> </div>
-<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span><span class="preprocessor">#  define UDPC_CLEANUPSOCKET(x) closesocket(x)</span></div>
-<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span><span class="preprocessor">#  define UDPC_SOCKETTYPE SOCKET</span></div>
-<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span><span class="preprocessor">#  define UDPC_IPV6_SOCKADDR_TYPE SOCKADDR_IN6</span></div>
-<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span><span class="preprocessor">#  define UDPC_IPV6_ADDR_TYPE IN6_ADDR</span></div>
-<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span><span class="preprocessor">#  define UDPC_IPV6_ADDR_SUB(addr) addr.u.Byte</span></div>
-<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span><span class="preprocessor">#  define UDPC_SOCKET_RETURN_ERROR(socket) (socket == INVALID_SOCKET)</span></div>
-<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span> </div>
-<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span><span class="preprocessor"># endif </span><span class="comment">// DOXYGEN_SHOULD_SKIP_THIS</span></div>
-<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span> </div>
-<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span><span class="preprocessor">#elif UDPC_PLATFORM == UDPC_PLATFORM_MAC || UDPC_PLATFORM == UDPC_PLATFORM_LINUX</span></div>
-<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span><span class="preprocessor"># include &lt;fcntl.h&gt;</span></div>
-<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span><span class="preprocessor"># include &lt;netinet/in.h&gt;</span></div>
-<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span><span class="preprocessor"># include &lt;sys/socket.h&gt;</span></div>
-<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span><span class="preprocessor"># include &lt;unistd.h&gt;</span></div>
-<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span> </div>
-<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span><span class="preprocessor"># ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div>
-<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span> </div>
-<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span><span class="preprocessor">#  define UDPC_CLEANUPSOCKET(x) close(x)</span></div>
-<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span><span class="preprocessor">#  define UDPC_SOCKETTYPE int</span></div>
-<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span><span class="preprocessor">#  define UDPC_IPV6_SOCKADDR_TYPE struct sockaddr_in6</span></div>
-<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span><span class="preprocessor">#  define UDPC_IPV6_ADDR_TYPE struct in6_addr</span></div>
-<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span><span class="preprocessor">#  define UDPC_IPV6_ADDR_SUB(addr) addr.s6_addr</span></div>
-<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span><span class="preprocessor">#  define UDPC_SOCKET_RETURN_ERROR(socket) (socket &lt;= 0)</span></div>
-<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span> </div>
-<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span><span class="preprocessor"># endif </span><span class="comment">// DOXYGEN_SHOULD_SKIP_THIS</span></div>
-<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span> </div>
-<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span><span class="preprocessor">#else</span></div>
-<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span><span class="preprocessor"># ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div>
-<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span><span class="preprocessor">#  define UDPC_CLEANUPSOCKET(x) ((void)0)</span></div>
-<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span><span class="preprocessor"># endif </span><span class="comment">// DOXYGEN_SHOULD_SKIP_THIS</span></div>
-<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span><span class="preprocessor">#endif</span></div>
-<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span> </div>
-<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span><span class="comment">// other defines</span></div>
-<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a8ed92f1223b3f658536728f22d3b3827">   81</a></span><span class="comment"></span><span class="preprocessor">#define UDPC_PACKET_MAX_SIZE 8192</span></div>
-<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span><span class="preprocessor">#define UDPC_DEFAULT_PROTOCOL_ID 1357924680 </span><span class="comment">// 0x50f04948</span></div>
-<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span> </div>
-<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span><span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div>
-<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span> </div>
-<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span><span class="comment">// other defines continued</span></div>
-<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span> </div>
-<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span><span class="preprocessor"># ifndef UDPC_LIBSODIUM_ENABLED</span></div>
-<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span><span class="preprocessor">#  ifndef crypto_sign_PUBLICKEYBYTES</span></div>
-<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span><span class="preprocessor">#   define crypto_sign_PUBLICKEYBYTES 1</span></div>
-<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span><span class="preprocessor">#  endif</span></div>
-<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span><span class="preprocessor">#  ifndef crypto_sign_SECRETKEYBYTES</span></div>
-<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span><span class="preprocessor">#   define crypto_sign_SECRETKEYBYTES 1</span></div>
+<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="preprocessor">#ifndef UDPC_CONNECTION_H</span></div>
+<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="preprocessor">#define UDPC_CONNECTION_H</span></div>
+<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span> </div>
+<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div>
+<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span> </div>
+<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="comment">// Determine platform macros</span></div>
+<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="preprocessor"># define UDPC_PLATFORM_WINDOWS 1</span></div>
+<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="preprocessor"># define UDPC_PLATFORM_MAC 2</span></div>
+<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="preprocessor"># define UDPC_PLATFORM_LINUX 3</span></div>
+<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor"># define UDPC_PLATFORM_UNKNOWN 0</span></div>
+<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span> </div>
+<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="preprocessor"># if defined _WIN32</span></div>
+<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="preprocessor">#  define UDPC_PLATFORM UDPC_PLATFORM_WINDOWS</span></div>
+<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="preprocessor"># elif defined __APPLE__</span></div>
+<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="preprocessor">#  define UDPC_PLATFORM UDPC_PLATFORM_MAC</span></div>
+<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span><span class="preprocessor"># elif defined __linux__</span></div>
+<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span><span class="preprocessor">#  define UDPC_PLATFORM UDPC_PLATFORM_LINUX</span></div>
+<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="preprocessor"># else</span></div>
+<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span><span class="preprocessor">#  define UDPC_PLATFORM UDPC_PLATFORM_UNKNOWN</span></div>
+<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span><span class="preprocessor"># endif</span></div>
+<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span> </div>
+<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span><span class="preprocessor">#endif </span><span class="comment">// DOXYGEN_SHOULD_SKIP_THIS</span></div>
+<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span> </div>
+<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span><span class="comment">// OS-based networking macros</span></div>
+<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span><span class="preprocessor">#if UDPC_PLATFORM == UDPC_PLATFORM_WINDOWS</span></div>
+<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span><span class="preprocessor"># include &lt;winsock2.h&gt;</span></div>
+<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span><span class="preprocessor"># ifdef UDPC_PLATFORM_MINGW</span></div>
+<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span><span class="preprocessor">#  include &lt;ws2ipdef.h&gt;</span></div>
+<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span><span class="preprocessor">#  include &lt;in6addr.h&gt;</span></div>
+<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span><span class="preprocessor"># else</span></div>
+<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span><span class="preprocessor">#  include &lt;Ws2ipdef.h&gt;</span></div>
+<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span><span class="preprocessor">#  include &lt;In6addr.h&gt;</span></div>
+<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span><span class="preprocessor"># endif</span></div>
+<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span> </div>
+<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span><span class="preprocessor"># ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div>
+<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span> </div>
+<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span><span class="preprocessor">#  define UDPC_CLEANUPSOCKET(x) closesocket(x)</span></div>
+<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span><span class="preprocessor">#  define UDPC_SOCKETTYPE SOCKET</span></div>
+<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span><span class="preprocessor">#  define UDPC_IPV6_SOCKADDR_TYPE SOCKADDR_IN6</span></div>
+<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span><span class="preprocessor">#  define UDPC_IPV6_ADDR_TYPE IN6_ADDR</span></div>
+<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span><span class="preprocessor">#  define UDPC_IPV6_ADDR_SUB(addr) addr.u.Byte</span></div>
+<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span><span class="preprocessor">#  define UDPC_SOCKET_RETURN_ERROR(socket) (socket == INVALID_SOCKET)</span></div>
+<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span> </div>
+<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span><span class="preprocessor"># endif </span><span class="comment">// DOXYGEN_SHOULD_SKIP_THIS</span></div>
+<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span> </div>
+<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span><span class="preprocessor">#elif UDPC_PLATFORM == UDPC_PLATFORM_MAC || UDPC_PLATFORM == UDPC_PLATFORM_LINUX</span></div>
+<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span><span class="preprocessor"># include &lt;fcntl.h&gt;</span></div>
+<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span><span class="preprocessor"># include &lt;netinet/in.h&gt;</span></div>
+<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span><span class="preprocessor"># include &lt;sys/socket.h&gt;</span></div>
+<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span><span class="preprocessor"># include &lt;unistd.h&gt;</span></div>
+<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span> </div>
+<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span><span class="preprocessor"># ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div>
+<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span> </div>
+<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span><span class="preprocessor">#  define UDPC_CLEANUPSOCKET(x) close(x)</span></div>
+<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span><span class="preprocessor">#  define UDPC_SOCKETTYPE int</span></div>
+<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span><span class="preprocessor">#  define UDPC_IPV6_SOCKADDR_TYPE struct sockaddr_in6</span></div>
+<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span><span class="preprocessor">#  define UDPC_IPV6_ADDR_TYPE struct in6_addr</span></div>
+<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span><span class="preprocessor">#  define UDPC_IPV6_ADDR_SUB(addr) addr.s6_addr</span></div>
+<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span><span class="preprocessor">#  define UDPC_SOCKET_RETURN_ERROR(socket) (socket &lt;= 0)</span></div>
+<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span> </div>
+<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span><span class="preprocessor"># endif </span><span class="comment">// DOXYGEN_SHOULD_SKIP_THIS</span></div>
+<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span> </div>
+<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span><span class="preprocessor">#else</span></div>
+<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span><span class="preprocessor"># ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div>
+<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span><span class="preprocessor">#  define UDPC_CLEANUPSOCKET(x) ((void)0)</span></div>
+<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span><span class="preprocessor"># endif </span><span class="comment">// DOXYGEN_SHOULD_SKIP_THIS</span></div>
+<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span><span class="preprocessor">#endif</span></div>
+<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span> </div>
+<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span><span class="comment">// other defines</span></div>
+<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a8ed92f1223b3f658536728f22d3b3827">   84</a></span><span class="comment"></span><span class="preprocessor">#define UDPC_PACKET_MAX_SIZE 8192</span></div>
+<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span><span class="preprocessor">#define UDPC_DEFAULT_PROTOCOL_ID 1357924680 </span><span class="comment">// 0x50f04948</span></div>
+<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span> </div>
+<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span><span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div>
+<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span> </div>
+<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span><span class="comment">// other defines continued</span></div>
+<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span> </div>
+<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span><span class="preprocessor"># ifndef UDPC_LIBSODIUM_ENABLED</span></div>
+<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span><span class="preprocessor">#  ifndef crypto_sign_PUBLICKEYBYTES</span></div>
+<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span><span class="preprocessor">#   define crypto_sign_PUBLICKEYBYTES 1</span></div>
 <div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span><span class="preprocessor">#  endif</span></div>
-<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span><span class="preprocessor">#  ifndef crypto_sign_BYTES</span></div>
-<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span><span class="preprocessor">#   define crypto_sign_BYTES 1</span></div>
+<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span><span class="preprocessor">#  ifndef crypto_sign_SECRETKEYBYTES</span></div>
+<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span><span class="preprocessor">#   define crypto_sign_SECRETKEYBYTES 1</span></div>
 <div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span><span class="preprocessor">#  endif</span></div>
-<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span><span class="preprocessor"># endif</span></div>
-<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span> </div>
-<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span><span class="preprocessor"># if UDPC_PLATFORM == UDPC_PLATFORM_WINDOWS</span></div>
-<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span><span class="preprocessor">#  define UDPC_EXPORT __declspec(dllexport)</span></div>
-<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span><span class="preprocessor"># else</span></div>
-<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span><span class="preprocessor">#  define UDPC_EXPORT</span></div>
-<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span><span class="preprocessor"># endif</span></div>
-<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span> </div>
-<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span><span class="preprocessor">#endif </span><span class="comment">// DOXYGEN_SHOULD_SKIP_THIS</span></div>
-<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span> </div>
-<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span><span class="preprocessor">#ifdef __cplusplus</span></div>
-<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span><span class="preprocessor"># include &lt;cstdint&gt;</span></div>
-<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
-<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span><span class="preprocessor">#else</span></div>
-<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span><span class="preprocessor"># include &lt;stdint.h&gt;</span></div>
-<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span><span class="preprocessor">#endif</span></div>
-<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span> </div>
-<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span><span class="keyword">struct </span>UDPC_Context;</div>
-<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span><span class="keyword">typedef</span> <span class="keyword">struct </span>UDPC_Context *UDPC_HContext;</div>
-<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span> </div>
-<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span><span class="keyword">typedef</span> <span class="keyword">enum</span> UDPC_EXPORT UDPC_LoggingType {</div>
-<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"><a class="line" href="UDPC_8h.html#aa5c197773a0914125cb358771139065c">  121</a></span>    <a class="code hl_variable" href="UDPC_8h.html#aa5c197773a0914125cb358771139065c">UDPC_SILENT</a>,</div>
-<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ac04213a4287500a9c5330f543eac3103">  123</a></span>    <a class="code hl_variable" href="UDPC_8h.html#ac04213a4287500a9c5330f543eac3103">UDPC_ERROR</a>,</div>
-<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a9cc5d705069747eb439a1c5607baac17">  125</a></span>    <a class="code hl_variable" href="UDPC_8h.html#a9cc5d705069747eb439a1c5607baac17">UDPC_WARNING</a>,</div>
-<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a248f51c4df127b7fd3a5c91ad5509d15">  127</a></span>    <a class="code hl_variable" href="UDPC_8h.html#a248f51c4df127b7fd3a5c91ad5509d15">UDPC_INFO</a>,</div>
-<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ad5741af4e5cf1da40fe4a7b92cd1c431">  129</a></span>    <a class="code hl_variable" href="UDPC_8h.html#ad5741af4e5cf1da40fe4a7b92cd1c431">UDPC_VERBOSE</a>,</div>
-<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span>    UDPC_DEBUG</div>
-<div class="line"><a id="l00132" name="l00132"></a><span class="lineno">  132</span>} UDPC_LoggingType;</div>
-<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span> </div>
-<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a228cd7ddf56a4e76e216bc3b80e8bd4a">  136</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span> UDPC_EXPORT <a class="code hl_typedef" href="UDPC_8h.html#a228cd7ddf56a4e76e216bc3b80e8bd4a">UDPC_AuthPolicy</a> {</div>
-<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a96ecd597f88d458ed108f33e4f0a6612">  138</a></span>    <a class="code hl_variable" href="UDPC_8h.html#a96ecd597f88d458ed108f33e4f0a6612">UDPC_AUTH_POLICY_FALLBACK</a>=0,</div>
-<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a6af4629253b3ed1f411015410cee9ad3">  140</a></span>    <a class="code hl_variable" href="UDPC_8h.html#a6af4629253b3ed1f411015410cee9ad3">UDPC_AUTH_POLICY_STRICT</a>,</div>
-<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span>    <span class="comment">// Used internally to get max size of enum</span></div>
-<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span>    UDPC_AUTH_POLICY_SIZE</div>
-<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span>} <a class="code hl_typedef" href="UDPC_8h.html#a228cd7ddf56a4e76e216bc3b80e8bd4a">UDPC_AuthPolicy</a>;</div>
-<div class="line"><a id="l00144" name="l00144"></a><span class="lineno">  144</span> </div>
-<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"><a class="line" href="structUDPC__ConnectionId.html">  153</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> {</div>
-<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span>    UDPC_IPV6_ADDR_TYPE addr;</div>
-<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span>    uint32_t scope_id;</div>
-<div class="line"><a id="l00156" name="l00156"></a><span class="lineno">  156</span>    uint16_t port;</div>
-<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ae5afb11964c7a55edf34ddf9097779b2">  157</a></span>} <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a>;</div>
-<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span> </div>
-<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"><a class="line" href="structUDPC__PacketInfo.html">  168</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__PacketInfo.html">UDPC_PacketInfo</a> {</div>
-<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span>    <span class="comment">// id is stored at offset 8, size 4 (uint32_t) even for &quot;empty&quot; PktInfos</span></div>
-<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="structUDPC__PacketInfo.html#a1358f91f28c4a023ef201e868bf1069e">  174</a></span>    <span class="keywordtype">char</span> *<a class="code hl_variable" href="structUDPC__PacketInfo.html#a1358f91f28c4a023ef201e868bf1069e">data</a>;</div>
-<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"><a class="line" href="structUDPC__PacketInfo.html#ad538ac2682e8276dc33553237f012ce1">  185</a></span>    uint32_t <a class="code hl_variable" href="structUDPC__PacketInfo.html#ad538ac2682e8276dc33553237f012ce1">flags</a>;</div>
-<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"><a class="line" href="structUDPC__PacketInfo.html#ac21cc9beab22eb1e1a2d5c0797ed0fbe">  193</a></span>    uint32_t <a class="code hl_variable" href="structUDPC__PacketInfo.html#ac21cc9beab22eb1e1a2d5c0797ed0fbe">id</a>;</div>
-<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"><a class="line" href="structUDPC__PacketInfo.html#a70230a2eb6a638d9e9fc04e230c92a74">  203</a></span>    uint16_t <a class="code hl_variable" href="structUDPC__PacketInfo.html#a70230a2eb6a638d9e9fc04e230c92a74">dataSize</a>;</div>
-<div class="line"><a id="l00204" name="l00204"></a><span class="lineno">  204</span>    uint16_t rtt;</div>
-<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"><a class="line" href="structUDPC__PacketInfo.html#a5af734c663d3df72dad2b81a8794b6dc">  206</a></span>    <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> <a class="code hl_variable" href="structUDPC__PacketInfo.html#a5af734c663d3df72dad2b81a8794b6dc">sender</a>;</div>
-<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"><a class="line" href="structUDPC__PacketInfo.html#a965f393584d389dc72becd439cafde0d">  208</a></span>    <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> <a class="code hl_variable" href="structUDPC__PacketInfo.html#a965f393584d389dc72becd439cafde0d">receiver</a>;</div>
-<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ae0261958047ebb5c6a402aa805e4e55b">  209</a></span>} <a class="code hl_struct" href="structUDPC__PacketInfo.html">UDPC_PacketInfo</a>;</div>
-<div class="line"><a id="l00210" name="l00210"></a><span class="lineno">  210</span> </div>
-<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"><a class="line" href="UDPC_8h.html#adaa0534bf7f04bb2f6ce8975c99c4af0">  230</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span> UDPC_EXPORT <a class="code hl_typedef" href="UDPC_8h.html#adaa0534bf7f04bb2f6ce8975c99c4af0">UDPC_EventType</a> {</div>
-<div class="line"><a id="l00231" name="l00231"></a><span class="lineno">  231</span>    UDPC_ET_NONE,</div>
-<div class="line"><a id="l00232" name="l00232"></a><span class="lineno">  232</span>    UDPC_ET_REQUEST_CONNECT,</div>
-<div class="line"><a id="l00233" name="l00233"></a><span class="lineno">  233</span>    UDPC_ET_REQUEST_DISCONNECT,</div>
-<div class="line"><a id="l00234" name="l00234"></a><span class="lineno">  234</span>    UDPC_ET_CONNECTED,</div>
-<div class="line"><a id="l00235" name="l00235"></a><span class="lineno">  235</span>    UDPC_ET_DISCONNECTED,</div>
-<div class="line"><a id="l00236" name="l00236"></a><span class="lineno">  236</span>    UDPC_ET_FAIL_CONNECT,</div>
-<div class="line"><a id="l00237" name="l00237"></a><span class="lineno">  237</span>    UDPC_ET_GOOD_MODE,</div>
-<div class="line"><a id="l00238" name="l00238"></a><span class="lineno">  238</span>    UDPC_ET_BAD_MODE</div>
-<div class="line"><a id="l00239" name="l00239"></a><span class="lineno">  239</span>} <a class="code hl_typedef" href="UDPC_8h.html#adaa0534bf7f04bb2f6ce8975c99c4af0">UDPC_EventType</a>;</div>
-<div class="line"><a id="l00240" name="l00240"></a><span class="lineno">  240</span> </div>
-<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"><a class="line" href="structUDPC__Event.html">  251</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__Event.html">UDPC_Event</a> {</div>
-<div class="line"><a id="l00252" name="l00252"></a><span class="lineno">  252</span>    <a class="code hl_typedef" href="UDPC_8h.html#adaa0534bf7f04bb2f6ce8975c99c4af0">UDPC_EventType</a> type;</div>
-<div class="line"><a id="l00253" name="l00253"></a><span class="lineno">  253</span>    <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> conId;</div>
-<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"><a class="line" href="unionUDPC__Event_1_1Value.html">  254</a></span>    <span class="keyword">union </span><a class="code hl_union" href="unionUDPC__Event_1_1Value.html">Value</a> {</div>
-<div class="line"><a id="l00255" name="l00255"></a><span class="lineno">  255</span>        <span class="keywordtype">int</span> dropAllWithAddr;</div>
-<div class="line"><a id="l00256" name="l00256"></a><span class="lineno">  256</span>        <span class="keywordtype">int</span> enableLibSodium;</div>
-<div class="line"><a id="l00257" name="l00257"></a><span class="lineno">  257</span>    } v;</div>
-<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a7b3215b65686670720f098eda2ca1eed">  258</a></span>} <a class="code hl_struct" href="structUDPC__Event.html">UDPC_Event</a>;</div>
-<div class="line"><a id="l00259" name="l00259"></a><span class="lineno">  259</span> </div>
-<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"><a class="line" href="UDPC_8h.html#aea7e32ca9fdc04530f95c97459391e6d">  270</a></span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> <a class="code hl_function" href="UDPC_8h.html#aea7e32ca9fdc04530f95c97459391e6d">UDPC_create_id</a>(UDPC_IPV6_ADDR_TYPE addr, uint16_t port);</div>
-<div class="line"><a id="l00271" name="l00271"></a><span class="lineno">  271</span> </div>
-<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ab7cb345ce117c04017afd443e5748f19">  279</a></span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> <a class="code hl_function" href="UDPC_8h.html#ab7cb345ce117c04017afd443e5748f19">UDPC_create_id_full</a>(UDPC_IPV6_ADDR_TYPE addr, uint32_t scope_id, uint16_t port);</div>
-<div class="line"><a id="l00280" name="l00280"></a><span class="lineno">  280</span> </div>
-<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a0fa3e1e54877029a226ab9cfb74215df">  290</a></span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> <a class="code hl_function" href="UDPC_8h.html#a0fa3e1e54877029a226ab9cfb74215df">UDPC_create_id_anyaddr</a>(uint16_t port);</div>
-<div class="line"><a id="l00291" name="l00291"></a><span class="lineno">  291</span> </div>
-<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a8b80d2df882f03aeee8a92bed7fb0131">  302</a></span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> <a class="code hl_function" href="UDPC_8h.html#a8b80d2df882f03aeee8a92bed7fb0131">UDPC_create_id_easy</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *addrString, uint16_t port);</div>
-<div class="line"><a id="l00303" name="l00303"></a><span class="lineno">  303</span> </div>
-<div class="line"><a id="l00304" name="l00304"></a><span class="lineno">  304</span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> UDPC_create_id_hostname(<span class="keyword">const</span> <span class="keywordtype">char</span> *hostname, uint16_t port);</div>
-<div class="line"><a id="l00305" name="l00305"></a><span class="lineno">  305</span> </div>
-<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a89dee65fcd5b70d25abbf6d4a3ee59f2">  322</a></span>UDPC_EXPORT UDPC_HContext <a class="code hl_function" href="UDPC_8h.html#a89dee65fcd5b70d25abbf6d4a3ee59f2">UDPC_init</a>(<a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> listenId, <span class="keywordtype">int</span> isClient, <span class="keywordtype">int</span> isUsingLibsodium);</div>
-<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a614e2a058b89839d53fe9d348a058323">  342</a></span>UDPC_EXPORT UDPC_HContext <a class="code hl_function" href="UDPC_8h.html#a614e2a058b89839d53fe9d348a058323">UDPC_init_threaded_update</a>(</div>
-<div class="line"><a id="l00343" name="l00343"></a><span class="lineno">  343</span>    <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> listenId,</div>
-<div class="line"><a id="l00344" name="l00344"></a><span class="lineno">  344</span>    <span class="keywordtype">int</span> isClient,</div>
-<div class="line"><a id="l00345" name="l00345"></a><span class="lineno">  345</span>    <span class="keywordtype">int</span> isUsingLibsodium);</div>
-<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ab9a5258877ad3084f7d29954be525bd6">  365</a></span>UDPC_EXPORT UDPC_HContext <a class="code hl_function" href="UDPC_8h.html#ab9a5258877ad3084f7d29954be525bd6">UDPC_init_threaded_update_ms</a>(</div>
-<div class="line"><a id="l00366" name="l00366"></a><span class="lineno">  366</span>    <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> listenId,</div>
-<div class="line"><a id="l00367" name="l00367"></a><span class="lineno">  367</span>    <span class="keywordtype">int</span> isClient,</div>
-<div class="line"><a id="l00368" name="l00368"></a><span class="lineno">  368</span>    <span class="keywordtype">int</span> updateMS,</div>
-<div class="line"><a id="l00369" name="l00369"></a><span class="lineno">  369</span>    <span class="keywordtype">int</span> isUsingLibsodium);</div>
-<div class="line"><a id="l00370" name="l00370"></a><span class="lineno">  370</span> </div>
-<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a0fafce547e9185c29f42d06213b0ff4f">  380</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a0fafce547e9185c29f42d06213b0ff4f">UDPC_enable_threaded_update</a>(UDPC_HContext ctx);</div>
-<div class="line"><a id="l00391" name="l00391"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a1a50763773d55aa7a2a9c7ad69575833">  391</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a1a50763773d55aa7a2a9c7ad69575833">UDPC_enable_threaded_update_ms</a>(UDPC_HContext ctx, <span class="keywordtype">int</span> updateMS);</div>
-<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a404d2c7a83903004f928737241ecc63a">  400</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a404d2c7a83903004f928737241ecc63a">UDPC_disable_threaded_update</a>(UDPC_HContext ctx);</div>
-<div class="line"><a id="l00401" name="l00401"></a><span class="lineno">  401</span> </div>
-<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ac01480f803b063e2b44794420df0f671">  407</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#ac01480f803b063e2b44794420df0f671">UDPC_is_valid_context</a>(UDPC_HContext ctx);</div>
-<div class="line"><a id="l00408" name="l00408"></a><span class="lineno">  408</span> </div>
-<div class="line"><a id="l00418" name="l00418"></a><span class="lineno"><a class="line" href="UDPC_8h.html#aad0e88866d4c5cb9c0676bc8d7df574e">  418</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#aad0e88866d4c5cb9c0676bc8d7df574e">UDPC_destroy</a>(UDPC_HContext ctx);</div>
-<div class="line"><a id="l00419" name="l00419"></a><span class="lineno">  419</span> </div>
-<div class="line"><a id="l00439" name="l00439"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a68fefba9edca7cd0a81d97ac27c70c0b">  439</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#a68fefba9edca7cd0a81d97ac27c70c0b">UDPC_update</a>(UDPC_HContext ctx);</div>
-<div class="line"><a id="l00440" name="l00440"></a><span class="lineno">  440</span> </div>
-<div class="line"><a id="l00451" name="l00451"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a1192e0307f75feeac888fe5d49976f55">  451</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#a1192e0307f75feeac888fe5d49976f55">UDPC_client_initiate_connection</a>(</div>
-<div class="line"><a id="l00452" name="l00452"></a><span class="lineno">  452</span>    UDPC_HContext ctx,</div>
-<div class="line"><a id="l00453" name="l00453"></a><span class="lineno">  453</span>    <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> connectionId,</div>
-<div class="line"><a id="l00454" name="l00454"></a><span class="lineno">  454</span>    <span class="keywordtype">int</span> enableLibSodium);</div>
-<div class="line"><a id="l00455" name="l00455"></a><span class="lineno">  455</span> </div>
-<div class="line"><a id="l00474" name="l00474"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a7527954b63f502479bdd3771df7cf3a4">  474</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#a7527954b63f502479bdd3771df7cf3a4">UDPC_queue_send</a>(UDPC_HContext ctx, <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> destinationId,</div>
-<div class="line"><a id="l00475" name="l00475"></a><span class="lineno">  475</span>                     <span class="keywordtype">int</span> isChecked, <span class="keyword">const</span> <span class="keywordtype">void</span> *data, uint32_t size);</div>
-<div class="line"><a id="l00476" name="l00476"></a><span class="lineno">  476</span> </div>
-<div class="line"><a id="l00493" name="l00493"></a><span class="lineno"><a class="line" href="UDPC_8h.html#aa3f67ad23ae34b647b7f4dd17a8a96dd">  493</a></span>UDPC_EXPORT <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_function" href="UDPC_8h.html#aa3f67ad23ae34b647b7f4dd17a8a96dd">UDPC_get_queue_send_current_size</a>(UDPC_HContext ctx);</div>
-<div class="line"><a id="l00494" name="l00494"></a><span class="lineno">  494</span> </div>
-<div class="line"><a id="l00511" name="l00511"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a1fb87c1522d353bd9fde4c94ec8454c2">  511</a></span>UDPC_EXPORT <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_function" href="UDPC_8h.html#a1fb87c1522d353bd9fde4c94ec8454c2">UDPC_get_queued_size</a>(UDPC_HContext ctx, <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> <span class="keywordtype">id</span>, <span class="keywordtype">int</span> *exists);</div>
-<div class="line"><a id="l00512" name="l00512"></a><span class="lineno">  512</span> </div>
-<div class="line"><a id="l00521" name="l00521"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a7983f38fe13677f5b35b90cefa54974f">  521</a></span>UDPC_EXPORT <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_function" href="UDPC_8h.html#a7983f38fe13677f5b35b90cefa54974f">UDPC_get_max_queued_size</a>();</div>
-<div class="line"><a id="l00522" name="l00522"></a><span class="lineno">  522</span> </div>
-<div class="line"><a id="l00529" name="l00529"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a32e217a02b2e8ba05568aabfaecbcdcb">  529</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a32e217a02b2e8ba05568aabfaecbcdcb">UDPC_set_accept_new_connections</a>(UDPC_HContext ctx, <span class="keywordtype">int</span> isAccepting);</div>
-<div class="line"><a id="l00530" name="l00530"></a><span class="lineno">  530</span> </div>
-<div class="line"><a id="l00542" name="l00542"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a44bc5cc29862c93e938ac8a625c56380">  542</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#a44bc5cc29862c93e938ac8a625c56380">UDPC_drop_connection</a>(UDPC_HContext ctx, <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> connectionId, <span class="keywordtype">int</span> dropAllWithAddr);</div>
-<div class="line"><a id="l00543" name="l00543"></a><span class="lineno">  543</span> </div>
-<div class="line"><a id="l00553" name="l00553"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a4a555a011e95445ed4a2aa88deb17082">  553</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a4a555a011e95445ed4a2aa88deb17082">UDPC_has_connection</a>(UDPC_HContext ctx, <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> connectionId);</div>
-<div class="line"><a id="l00554" name="l00554"></a><span class="lineno">  554</span> </div>
-<div class="line"><a id="l00569" name="l00569"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a6b4355331c9b2797af0c13ce16515547">  569</a></span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a>* <a class="code hl_function" href="UDPC_8h.html#a6b4355331c9b2797af0c13ce16515547">UDPC_get_list_connected</a>(UDPC_HContext ctx, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *size);</div>
-<div class="line"><a id="l00570" name="l00570"></a><span class="lineno">  570</span> </div>
-<div class="line"><a id="l00575" name="l00575"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a8880067a93211c257763c42264f6ceef">  575</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#a8880067a93211c257763c42264f6ceef">UDPC_free_list_connected</a>(<a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> *list);</div>
-<div class="line"><a id="l00576" name="l00576"></a><span class="lineno">  576</span> </div>
-<div class="line"><a id="l00588" name="l00588"></a><span class="lineno"><a class="line" href="UDPC_8h.html#aab6fb21c6f5b44123e2660f84561d404">  588</a></span>UDPC_EXPORT uint32_t <a class="code hl_function" href="UDPC_8h.html#aab6fb21c6f5b44123e2660f84561d404">UDPC_get_protocol_id</a>(UDPC_HContext ctx);</div>
-<div class="line"><a id="l00589" name="l00589"></a><span class="lineno">  589</span> </div>
-<div class="line"><a id="l00600" name="l00600"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a0720bec1922660c983b1b3d9f6a5de3a">  600</a></span>UDPC_EXPORT uint32_t <a class="code hl_function" href="UDPC_8h.html#a0720bec1922660c983b1b3d9f6a5de3a">UDPC_set_protocol_id</a>(UDPC_HContext ctx, uint32_t <span class="keywordtype">id</span>);</div>
-<div class="line"><a id="l00601" name="l00601"></a><span class="lineno">  601</span> </div>
-<div class="line"><a id="l00610" name="l00610"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ad0c7d69eeda20e98696d5c89bbbab096">  610</a></span>UDPC_EXPORT UDPC_LoggingType <a class="code hl_function" href="UDPC_8h.html#ad0c7d69eeda20e98696d5c89bbbab096">UDPC_get_logging_type</a>(UDPC_HContext ctx);</div>
-<div class="line"><a id="l00611" name="l00611"></a><span class="lineno">  611</span> </div>
-<div class="line"><a id="l00621" name="l00621"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a6c90dc723e67a07bf65c1fc97e526305">  621</a></span>UDPC_EXPORT UDPC_LoggingType <a class="code hl_function" href="UDPC_8h.html#a6c90dc723e67a07bf65c1fc97e526305">UDPC_set_logging_type</a>(UDPC_HContext ctx, UDPC_LoggingType loggingType);</div>
-<div class="line"><a id="l00622" name="l00622"></a><span class="lineno">  622</span> </div>
-<div class="line"><a id="l00631" name="l00631"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a8c74f1b9ee0fec610087f83096c9679d">  631</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a8c74f1b9ee0fec610087f83096c9679d">UDPC_get_receiving_events</a>(UDPC_HContext ctx);</div>
-<div class="line"><a id="l00632" name="l00632"></a><span class="lineno">  632</span> </div>
-<div class="line"><a id="l00642" name="l00642"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a380c91ee395cff22189c7988c3381787">  642</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a380c91ee395cff22189c7988c3381787">UDPC_set_receiving_events</a>(UDPC_HContext ctx, <span class="keywordtype">int</span> isReceivingEvents);</div>
-<div class="line"><a id="l00643" name="l00643"></a><span class="lineno">  643</span> </div>
-<div class="line"><a id="l00655" name="l00655"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a2c05c6fe89edde1e05ba9b6d8b5f7510">  655</a></span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__Event.html">UDPC_Event</a> <a class="code hl_function" href="UDPC_8h.html#a2c05c6fe89edde1e05ba9b6d8b5f7510">UDPC_get_event</a>(UDPC_HContext ctx, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> *remaining);</div>
-<div class="line"><a id="l00656" name="l00656"></a><span class="lineno">  656</span> </div>
-<div class="line"><a id="l00664" name="l00664"></a><span class="lineno"><a class="line" href="UDPC_8h.html#affa8655a4e7e3475be441060e92213b3">  664</a></span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__PacketInfo.html">UDPC_PacketInfo</a> <a class="code hl_function" href="UDPC_8h.html#affa8655a4e7e3475be441060e92213b3">UDPC_get_received</a>(UDPC_HContext ctx, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> *remaining);</div>
-<div class="line"><a id="l00665" name="l00665"></a><span class="lineno">  665</span> </div>
-<div class="line"><a id="l00673" name="l00673"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a68ed6dcb37c6024486fad28ab0bed845">  673</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#a68ed6dcb37c6024486fad28ab0bed845">UDPC_free_PacketInfo</a>(<a class="code hl_struct" href="structUDPC__PacketInfo.html">UDPC_PacketInfo</a> pInfo);</div>
-<div class="line"><a id="l00674" name="l00674"></a><span class="lineno">  674</span> </div>
-<div class="line"><a id="l00690" name="l00690"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ad77c746ea0401664e11bfd76c56e94f5">  690</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#ad77c746ea0401664e11bfd76c56e94f5">UDPC_free_PacketInfo_ptr</a>(<a class="code hl_struct" href="structUDPC__PacketInfo.html">UDPC_PacketInfo</a> *pInfoPtr);</div>
-<div class="line"><a id="l00691" name="l00691"></a><span class="lineno">  691</span> </div>
-<div class="line"><a id="l00709" name="l00709"></a><span class="lineno"><a class="line" href="UDPC_8h.html#abd0a7d5c0a17cf3351dbe5abf5f70df1">  709</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#abd0a7d5c0a17cf3351dbe5abf5f70df1">UDPC_set_libsodium_keys</a>(UDPC_HContext ctx, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *sk, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *pk);</div>
-<div class="line"><a id="l00710" name="l00710"></a><span class="lineno">  710</span> </div>
-<div class="line"><a id="l00724" name="l00724"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ad7eb0c77561f84a63dad29388d099fbe">  724</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#ad7eb0c77561f84a63dad29388d099fbe">UDPC_set_libsodium_key_easy</a>(UDPC_HContext ctx, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *sk);</div>
-<div class="line"><a id="l00725" name="l00725"></a><span class="lineno">  725</span> </div>
-<div class="line"><a id="l00734" name="l00734"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a62a5131b90653ccbfc86ad5db4031ba9">  734</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a62a5131b90653ccbfc86ad5db4031ba9">UDPC_unset_libsodium_keys</a>(UDPC_HContext ctx);</div>
-<div class="line"><a id="l00735" name="l00735"></a><span class="lineno">  735</span> </div>
-<div class="line"><a id="l00751" name="l00751"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a71f9bf85a02ddd1b4c921fe9b6694fe8">  751</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a71f9bf85a02ddd1b4c921fe9b6694fe8">UDPC_add_whitelist_pk</a>(UDPC_HContext ctx, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *pk);</div>
-<div class="line"><a id="l00752" name="l00752"></a><span class="lineno">  752</span> </div>
-<div class="line"><a id="l00761" name="l00761"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a94660d04e7f9b4d9c51a7b2c67707172">  761</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a94660d04e7f9b4d9c51a7b2c67707172">UDPC_has_whitelist_pk</a>(UDPC_HContext ctx, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *pk);</div>
-<div class="line"><a id="l00762" name="l00762"></a><span class="lineno">  762</span> </div>
-<div class="line"><a id="l00771" name="l00771"></a><span class="lineno"><a class="line" href="UDPC_8h.html#abc2d3284e5c45d6cd888154e813a1383">  771</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#abc2d3284e5c45d6cd888154e813a1383">UDPC_remove_whitelist_pk</a>(UDPC_HContext ctx, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *pk);</div>
-<div class="line"><a id="l00772" name="l00772"></a><span class="lineno">  772</span> </div>
-<div class="line"><a id="l00787" name="l00787"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a0e2e0c6a6a442db2cb3223d26f849d26">  787</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a0e2e0c6a6a442db2cb3223d26f849d26">UDPC_clear_whitelist</a>(UDPC_HContext ctx);</div>
-<div class="line"><a id="l00788" name="l00788"></a><span class="lineno">  788</span> </div>
-<div class="line"><a id="l00803" name="l00803"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ab79769e36a92c346c6c410be158ddfe4">  803</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#ab79769e36a92c346c6c410be158ddfe4">UDPC_get_auth_policy</a>(UDPC_HContext ctx);</div>
-<div class="line"><a id="l00804" name="l00804"></a><span class="lineno">  804</span> </div>
-<div class="line"><a id="l00819" name="l00819"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a8d0dbbd258e17844a2f9a0e277789581">  819</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a8d0dbbd258e17844a2f9a0e277789581">UDPC_set_auth_policy</a>(UDPC_HContext ctx, <span class="keywordtype">int</span> value);</div>
-<div class="line"><a id="l00820" name="l00820"></a><span class="lineno">  820</span> </div>
-<div class="line"><a id="l00825" name="l00825"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a5a3c613a0d96a075ccddfba1e8900828">  825</a></span>UDPC_EXPORT <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="UDPC_8h.html#a5a3c613a0d96a075ccddfba1e8900828">UDPC_atostr_cid</a>(UDPC_HContext ctx, <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> connectionId);</div>
-<div class="line"><a id="l00826" name="l00826"></a><span class="lineno">  826</span> </div>
-<div class="line"><a id="l00856" name="l00856"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a9e2401b133c0aae43c5d69304dabbdcc">  856</a></span>UDPC_EXPORT <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="UDPC_8h.html#a9e2401b133c0aae43c5d69304dabbdcc">UDPC_atostr</a>(UDPC_HContext ctx, UDPC_IPV6_ADDR_TYPE addr);</div>
-<div class="line"><a id="l00857" name="l00857"></a><span class="lineno">  857</span> </div>
-<div class="line"><a id="l00874" name="l00874"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a939b6c407297f6cf913f2983869f051f">  874</a></span>UDPC_EXPORT <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="UDPC_8h.html#a939b6c407297f6cf913f2983869f051f">UDPC_atostr_unsafe</a>(UDPC_IPV6_ADDR_TYPE addr);</div>
-<div class="line"><a id="l00875" name="l00875"></a><span class="lineno">  875</span> </div>
-<div class="line"><a id="l00890" name="l00890"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a1549eee3edacbc23ca144eec72d274bb">  890</a></span>UDPC_EXPORT <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="UDPC_8h.html#a1549eee3edacbc23ca144eec72d274bb">UDPC_atostr_unsafe_cid</a>(<a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> cid);</div>
-<div class="line"><a id="l00891" name="l00891"></a><span class="lineno">  891</span> </div>
-<div class="line"><a id="l00897" name="l00897"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a5c6fe261f7d53e7ccae4c7233c42c76b">  897</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#a5c6fe261f7d53e7ccae4c7233c42c76b">UDPC_atostr_unsafe_free</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *addrBuf);</div>
-<div class="line"><a id="l00898" name="l00898"></a><span class="lineno">  898</span> </div>
-<div class="line"><a id="l00912" name="l00912"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a2e47fb8779abe3a9db72a08bf494dc75">  912</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#a2e47fb8779abe3a9db72a08bf494dc75">UDPC_atostr_unsafe_free_ptr</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> **addrBuf);</div>
-<div class="line"><a id="l00913" name="l00913"></a><span class="lineno">  913</span> </div>
-<div class="line"><a id="l00914" name="l00914"></a><span class="lineno">  914</span><span class="comment">// =============================================================================</span></div>
-<div class="line"><a id="l00915" name="l00915"></a><span class="lineno">  915</span><span class="comment">// Helpers</span></div>
+<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span><span class="preprocessor">#  ifndef crypto_sign_BYTES</span></div>
+<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span><span class="preprocessor">#   define crypto_sign_BYTES 1</span></div>
+<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span><span class="preprocessor">#  endif</span></div>
+<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span><span class="preprocessor"># endif</span></div>
+<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span> </div>
+<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span><span class="preprocessor"># if UDPC_PLATFORM == UDPC_PLATFORM_WINDOWS</span></div>
+<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span><span class="preprocessor">#  define UDPC_EXPORT __declspec(dllexport)</span></div>
+<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span><span class="preprocessor"># else</span></div>
+<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span><span class="preprocessor">#  define UDPC_EXPORT</span></div>
+<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span><span class="preprocessor"># endif</span></div>
+<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span> </div>
+<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span><span class="preprocessor">#endif </span><span class="comment">// DOXYGEN_SHOULD_SKIP_THIS</span></div>
+<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span> </div>
+<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span><span class="preprocessor">#ifdef __cplusplus</span></div>
+<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span><span class="preprocessor"># include &lt;cstdint&gt;</span></div>
+<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
+<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span><span class="preprocessor">#else</span></div>
+<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span><span class="preprocessor"># include &lt;stdint.h&gt;</span></div>
+<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span><span class="preprocessor">#endif</span></div>
+<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span> </div>
+<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span><span class="keyword">struct </span>UDPC_Context;</div>
+<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span><span class="keyword">typedef</span> <span class="keyword">struct </span>UDPC_Context *UDPC_HContext;</div>
+<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span> </div>
+<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span><span class="keyword">typedef</span> <span class="keyword">enum</span> UDPC_EXPORT UDPC_LoggingType {</div>
+<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"><a class="line" href="UDPC_8h.html#aa5c197773a0914125cb358771139065c">  124</a></span>    <a class="code hl_variable" href="UDPC_8h.html#aa5c197773a0914125cb358771139065c">UDPC_SILENT</a>,</div>
+<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ac04213a4287500a9c5330f543eac3103">  126</a></span>    <a class="code hl_variable" href="UDPC_8h.html#ac04213a4287500a9c5330f543eac3103">UDPC_ERROR</a>,</div>
+<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a9cc5d705069747eb439a1c5607baac17">  128</a></span>    <a class="code hl_variable" href="UDPC_8h.html#a9cc5d705069747eb439a1c5607baac17">UDPC_WARNING</a>,</div>
+<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a248f51c4df127b7fd3a5c91ad5509d15">  130</a></span>    <a class="code hl_variable" href="UDPC_8h.html#a248f51c4df127b7fd3a5c91ad5509d15">UDPC_INFO</a>,</div>
+<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ad5741af4e5cf1da40fe4a7b92cd1c431">  132</a></span>    <a class="code hl_variable" href="UDPC_8h.html#ad5741af4e5cf1da40fe4a7b92cd1c431">UDPC_VERBOSE</a>,</div>
+<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span>    UDPC_DEBUG</div>
+<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span>} UDPC_LoggingType;</div>
+<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span> </div>
+<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a228cd7ddf56a4e76e216bc3b80e8bd4a">  139</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span> UDPC_EXPORT <a class="code hl_typedef" href="UDPC_8h.html#a228cd7ddf56a4e76e216bc3b80e8bd4a">UDPC_AuthPolicy</a> {</div>
+<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a96ecd597f88d458ed108f33e4f0a6612">  141</a></span>    <a class="code hl_variable" href="UDPC_8h.html#a96ecd597f88d458ed108f33e4f0a6612">UDPC_AUTH_POLICY_FALLBACK</a>=0,</div>
+<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a6af4629253b3ed1f411015410cee9ad3">  143</a></span>    <a class="code hl_variable" href="UDPC_8h.html#a6af4629253b3ed1f411015410cee9ad3">UDPC_AUTH_POLICY_STRICT</a>,</div>
+<div class="line"><a id="l00144" name="l00144"></a><span class="lineno">  144</span>    <span class="comment">// Used internally to get max size of enum</span></div>
+<div class="line"><a id="l00145" name="l00145"></a><span class="lineno">  145</span>    UDPC_AUTH_POLICY_SIZE</div>
+<div class="line"><a id="l00146" name="l00146"></a><span class="lineno">  146</span>} <a class="code hl_typedef" href="UDPC_8h.html#a228cd7ddf56a4e76e216bc3b80e8bd4a">UDPC_AuthPolicy</a>;</div>
+<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span> </div>
+<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="structUDPC__ConnectionId.html">  156</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> {</div>
+<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span>    UDPC_IPV6_ADDR_TYPE addr;</div>
+<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span>    uint32_t scope_id;</div>
+<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span>    uint16_t port;</div>
+<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ae5afb11964c7a55edf34ddf9097779b2">  160</a></span>} <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a>;</div>
+<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span> </div>
+<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"><a class="line" href="structUDPC__PacketInfo.html">  171</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__PacketInfo.html">UDPC_PacketInfo</a> {</div>
+<div class="line"><a id="l00176" name="l00176"></a><span class="lineno">  176</span>    <span class="comment">// id is stored at offset 8, size 4 (uint32_t) even for &quot;empty&quot; PktInfos</span></div>
+<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"><a class="line" href="structUDPC__PacketInfo.html#a1358f91f28c4a023ef201e868bf1069e">  177</a></span>    <span class="keywordtype">char</span> *<a class="code hl_variable" href="structUDPC__PacketInfo.html#a1358f91f28c4a023ef201e868bf1069e">data</a>;</div>
+<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"><a class="line" href="structUDPC__PacketInfo.html#ad538ac2682e8276dc33553237f012ce1">  188</a></span>    uint32_t <a class="code hl_variable" href="structUDPC__PacketInfo.html#ad538ac2682e8276dc33553237f012ce1">flags</a>;</div>
+<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"><a class="line" href="structUDPC__PacketInfo.html#ac21cc9beab22eb1e1a2d5c0797ed0fbe">  196</a></span>    uint32_t <a class="code hl_variable" href="structUDPC__PacketInfo.html#ac21cc9beab22eb1e1a2d5c0797ed0fbe">id</a>;</div>
+<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"><a class="line" href="structUDPC__PacketInfo.html#a70230a2eb6a638d9e9fc04e230c92a74">  206</a></span>    uint16_t <a class="code hl_variable" href="structUDPC__PacketInfo.html#a70230a2eb6a638d9e9fc04e230c92a74">dataSize</a>;</div>
+<div class="line"><a id="l00207" name="l00207"></a><span class="lineno">  207</span>    uint16_t rtt;</div>
+<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"><a class="line" href="structUDPC__PacketInfo.html#a5af734c663d3df72dad2b81a8794b6dc">  209</a></span>    <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> <a class="code hl_variable" href="structUDPC__PacketInfo.html#a5af734c663d3df72dad2b81a8794b6dc">sender</a>;</div>
+<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"><a class="line" href="structUDPC__PacketInfo.html#a965f393584d389dc72becd439cafde0d">  211</a></span>    <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> <a class="code hl_variable" href="structUDPC__PacketInfo.html#a965f393584d389dc72becd439cafde0d">receiver</a>;</div>
+<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ae0261958047ebb5c6a402aa805e4e55b">  212</a></span>} <a class="code hl_struct" href="structUDPC__PacketInfo.html">UDPC_PacketInfo</a>;</div>
+<div class="line"><a id="l00213" name="l00213"></a><span class="lineno">  213</span> </div>
+<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"><a class="line" href="UDPC_8h.html#adaa0534bf7f04bb2f6ce8975c99c4af0">  233</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span> UDPC_EXPORT <a class="code hl_typedef" href="UDPC_8h.html#adaa0534bf7f04bb2f6ce8975c99c4af0">UDPC_EventType</a> {</div>
+<div class="line"><a id="l00234" name="l00234"></a><span class="lineno">  234</span>    UDPC_ET_NONE,</div>
+<div class="line"><a id="l00235" name="l00235"></a><span class="lineno">  235</span>    UDPC_ET_REQUEST_CONNECT,</div>
+<div class="line"><a id="l00236" name="l00236"></a><span class="lineno">  236</span>    UDPC_ET_REQUEST_DISCONNECT,</div>
+<div class="line"><a id="l00237" name="l00237"></a><span class="lineno">  237</span>    UDPC_ET_CONNECTED,</div>
+<div class="line"><a id="l00238" name="l00238"></a><span class="lineno">  238</span>    UDPC_ET_DISCONNECTED,</div>
+<div class="line"><a id="l00239" name="l00239"></a><span class="lineno">  239</span>    UDPC_ET_FAIL_CONNECT,</div>
+<div class="line"><a id="l00240" name="l00240"></a><span class="lineno">  240</span>    UDPC_ET_GOOD_MODE,</div>
+<div class="line"><a id="l00241" name="l00241"></a><span class="lineno">  241</span>    UDPC_ET_BAD_MODE</div>
+<div class="line"><a id="l00242" name="l00242"></a><span class="lineno">  242</span>} <a class="code hl_typedef" href="UDPC_8h.html#adaa0534bf7f04bb2f6ce8975c99c4af0">UDPC_EventType</a>;</div>
+<div class="line"><a id="l00243" name="l00243"></a><span class="lineno">  243</span> </div>
+<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"><a class="line" href="structUDPC__Event.html">  254</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__Event.html">UDPC_Event</a> {</div>
+<div class="line"><a id="l00255" name="l00255"></a><span class="lineno">  255</span>    <a class="code hl_typedef" href="UDPC_8h.html#adaa0534bf7f04bb2f6ce8975c99c4af0">UDPC_EventType</a> type;</div>
+<div class="line"><a id="l00256" name="l00256"></a><span class="lineno">  256</span>    <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> conId;</div>
+<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"><a class="line" href="unionUDPC__Event_1_1Value.html">  257</a></span>    <span class="keyword">union </span><a class="code hl_union" href="unionUDPC__Event_1_1Value.html">Value</a> {</div>
+<div class="line"><a id="l00258" name="l00258"></a><span class="lineno">  258</span>        <span class="keywordtype">int</span> dropAllWithAddr;</div>
+<div class="line"><a id="l00259" name="l00259"></a><span class="lineno">  259</span>        <span class="keywordtype">int</span> enableLibSodium;</div>
+<div class="line"><a id="l00260" name="l00260"></a><span class="lineno">  260</span>    } v;</div>
+<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a7b3215b65686670720f098eda2ca1eed">  261</a></span>} <a class="code hl_struct" href="structUDPC__Event.html">UDPC_Event</a>;</div>
+<div class="line"><a id="l00262" name="l00262"></a><span class="lineno">  262</span> </div>
+<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"><a class="line" href="UDPC_8h.html#aea7e32ca9fdc04530f95c97459391e6d">  273</a></span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> <a class="code hl_function" href="UDPC_8h.html#aea7e32ca9fdc04530f95c97459391e6d">UDPC_create_id</a>(UDPC_IPV6_ADDR_TYPE addr, uint16_t port);</div>
+<div class="line"><a id="l00274" name="l00274"></a><span class="lineno">  274</span> </div>
+<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ab7cb345ce117c04017afd443e5748f19">  282</a></span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> <a class="code hl_function" href="UDPC_8h.html#ab7cb345ce117c04017afd443e5748f19">UDPC_create_id_full</a>(UDPC_IPV6_ADDR_TYPE addr, uint32_t scope_id, uint16_t port);</div>
+<div class="line"><a id="l00283" name="l00283"></a><span class="lineno">  283</span> </div>
+<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a0fa3e1e54877029a226ab9cfb74215df">  293</a></span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> <a class="code hl_function" href="UDPC_8h.html#a0fa3e1e54877029a226ab9cfb74215df">UDPC_create_id_anyaddr</a>(uint16_t port);</div>
+<div class="line"><a id="l00294" name="l00294"></a><span class="lineno">  294</span> </div>
+<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a8b80d2df882f03aeee8a92bed7fb0131">  305</a></span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> <a class="code hl_function" href="UDPC_8h.html#a8b80d2df882f03aeee8a92bed7fb0131">UDPC_create_id_easy</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *addrString, uint16_t port);</div>
+<div class="line"><a id="l00306" name="l00306"></a><span class="lineno">  306</span> </div>
+<div class="line"><a id="l00307" name="l00307"></a><span class="lineno">  307</span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> UDPC_create_id_hostname(<span class="keyword">const</span> <span class="keywordtype">char</span> *hostname, uint16_t port);</div>
+<div class="line"><a id="l00308" name="l00308"></a><span class="lineno">  308</span> </div>
+<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a89dee65fcd5b70d25abbf6d4a3ee59f2">  325</a></span>UDPC_EXPORT UDPC_HContext <a class="code hl_function" href="UDPC_8h.html#a89dee65fcd5b70d25abbf6d4a3ee59f2">UDPC_init</a>(<a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> listenId, <span class="keywordtype">int</span> isClient, <span class="keywordtype">int</span> isUsingLibsodium);</div>
+<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a614e2a058b89839d53fe9d348a058323">  345</a></span>UDPC_EXPORT UDPC_HContext <a class="code hl_function" href="UDPC_8h.html#a614e2a058b89839d53fe9d348a058323">UDPC_init_threaded_update</a>(</div>
+<div class="line"><a id="l00346" name="l00346"></a><span class="lineno">  346</span>    <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> listenId,</div>
+<div class="line"><a id="l00347" name="l00347"></a><span class="lineno">  347</span>    <span class="keywordtype">int</span> isClient,</div>
+<div class="line"><a id="l00348" name="l00348"></a><span class="lineno">  348</span>    <span class="keywordtype">int</span> isUsingLibsodium);</div>
+<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ab9a5258877ad3084f7d29954be525bd6">  368</a></span>UDPC_EXPORT UDPC_HContext <a class="code hl_function" href="UDPC_8h.html#ab9a5258877ad3084f7d29954be525bd6">UDPC_init_threaded_update_ms</a>(</div>
+<div class="line"><a id="l00369" name="l00369"></a><span class="lineno">  369</span>    <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> listenId,</div>
+<div class="line"><a id="l00370" name="l00370"></a><span class="lineno">  370</span>    <span class="keywordtype">int</span> isClient,</div>
+<div class="line"><a id="l00371" name="l00371"></a><span class="lineno">  371</span>    <span class="keywordtype">int</span> updateMS,</div>
+<div class="line"><a id="l00372" name="l00372"></a><span class="lineno">  372</span>    <span class="keywordtype">int</span> isUsingLibsodium);</div>
+<div class="line"><a id="l00373" name="l00373"></a><span class="lineno">  373</span> </div>
+<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a0fafce547e9185c29f42d06213b0ff4f">  383</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a0fafce547e9185c29f42d06213b0ff4f">UDPC_enable_threaded_update</a>(UDPC_HContext ctx);</div>
+<div class="line"><a id="l00394" name="l00394"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a1a50763773d55aa7a2a9c7ad69575833">  394</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a1a50763773d55aa7a2a9c7ad69575833">UDPC_enable_threaded_update_ms</a>(UDPC_HContext ctx, <span class="keywordtype">int</span> updateMS);</div>
+<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a404d2c7a83903004f928737241ecc63a">  403</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a404d2c7a83903004f928737241ecc63a">UDPC_disable_threaded_update</a>(UDPC_HContext ctx);</div>
+<div class="line"><a id="l00404" name="l00404"></a><span class="lineno">  404</span> </div>
+<div class="line"><a id="l00410" name="l00410"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ac01480f803b063e2b44794420df0f671">  410</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#ac01480f803b063e2b44794420df0f671">UDPC_is_valid_context</a>(UDPC_HContext ctx);</div>
+<div class="line"><a id="l00411" name="l00411"></a><span class="lineno">  411</span> </div>
+<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"><a class="line" href="UDPC_8h.html#aad0e88866d4c5cb9c0676bc8d7df574e">  421</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#aad0e88866d4c5cb9c0676bc8d7df574e">UDPC_destroy</a>(UDPC_HContext ctx);</div>
+<div class="line"><a id="l00422" name="l00422"></a><span class="lineno">  422</span> </div>
+<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a68fefba9edca7cd0a81d97ac27c70c0b">  442</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#a68fefba9edca7cd0a81d97ac27c70c0b">UDPC_update</a>(UDPC_HContext ctx);</div>
+<div class="line"><a id="l00443" name="l00443"></a><span class="lineno">  443</span> </div>
+<div class="line"><a id="l00454" name="l00454"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a1192e0307f75feeac888fe5d49976f55">  454</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#a1192e0307f75feeac888fe5d49976f55">UDPC_client_initiate_connection</a>(</div>
+<div class="line"><a id="l00455" name="l00455"></a><span class="lineno">  455</span>    UDPC_HContext ctx,</div>
+<div class="line"><a id="l00456" name="l00456"></a><span class="lineno">  456</span>    <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> connectionId,</div>
+<div class="line"><a id="l00457" name="l00457"></a><span class="lineno">  457</span>    <span class="keywordtype">int</span> enableLibSodium);</div>
+<div class="line"><a id="l00458" name="l00458"></a><span class="lineno">  458</span> </div>
+<div class="line"><a id="l00477" name="l00477"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a7527954b63f502479bdd3771df7cf3a4">  477</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#a7527954b63f502479bdd3771df7cf3a4">UDPC_queue_send</a>(UDPC_HContext ctx, <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> destinationId,</div>
+<div class="line"><a id="l00478" name="l00478"></a><span class="lineno">  478</span>                     <span class="keywordtype">int</span> isChecked, <span class="keyword">const</span> <span class="keywordtype">void</span> *data, uint32_t size);</div>
+<div class="line"><a id="l00479" name="l00479"></a><span class="lineno">  479</span> </div>
+<div class="line"><a id="l00496" name="l00496"></a><span class="lineno"><a class="line" href="UDPC_8h.html#aa3f67ad23ae34b647b7f4dd17a8a96dd">  496</a></span>UDPC_EXPORT <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_function" href="UDPC_8h.html#aa3f67ad23ae34b647b7f4dd17a8a96dd">UDPC_get_queue_send_current_size</a>(UDPC_HContext ctx);</div>
+<div class="line"><a id="l00497" name="l00497"></a><span class="lineno">  497</span> </div>
+<div class="line"><a id="l00514" name="l00514"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a1fb87c1522d353bd9fde4c94ec8454c2">  514</a></span>UDPC_EXPORT <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_function" href="UDPC_8h.html#a1fb87c1522d353bd9fde4c94ec8454c2">UDPC_get_queued_size</a>(UDPC_HContext ctx, <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> <span class="keywordtype">id</span>, <span class="keywordtype">int</span> *exists);</div>
+<div class="line"><a id="l00515" name="l00515"></a><span class="lineno">  515</span> </div>
+<div class="line"><a id="l00524" name="l00524"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a7983f38fe13677f5b35b90cefa54974f">  524</a></span>UDPC_EXPORT <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_function" href="UDPC_8h.html#a7983f38fe13677f5b35b90cefa54974f">UDPC_get_max_queued_size</a>();</div>
+<div class="line"><a id="l00525" name="l00525"></a><span class="lineno">  525</span> </div>
+<div class="line"><a id="l00532" name="l00532"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a32e217a02b2e8ba05568aabfaecbcdcb">  532</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a32e217a02b2e8ba05568aabfaecbcdcb">UDPC_set_accept_new_connections</a>(UDPC_HContext ctx, <span class="keywordtype">int</span> isAccepting);</div>
+<div class="line"><a id="l00533" name="l00533"></a><span class="lineno">  533</span> </div>
+<div class="line"><a id="l00545" name="l00545"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a44bc5cc29862c93e938ac8a625c56380">  545</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#a44bc5cc29862c93e938ac8a625c56380">UDPC_drop_connection</a>(UDPC_HContext ctx, <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> connectionId, <span class="keywordtype">int</span> dropAllWithAddr);</div>
+<div class="line"><a id="l00546" name="l00546"></a><span class="lineno">  546</span> </div>
+<div class="line"><a id="l00556" name="l00556"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a4a555a011e95445ed4a2aa88deb17082">  556</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a4a555a011e95445ed4a2aa88deb17082">UDPC_has_connection</a>(UDPC_HContext ctx, <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> connectionId);</div>
+<div class="line"><a id="l00557" name="l00557"></a><span class="lineno">  557</span> </div>
+<div class="line"><a id="l00572" name="l00572"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a6b4355331c9b2797af0c13ce16515547">  572</a></span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a>* <a class="code hl_function" href="UDPC_8h.html#a6b4355331c9b2797af0c13ce16515547">UDPC_get_list_connected</a>(UDPC_HContext ctx, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *size);</div>
+<div class="line"><a id="l00573" name="l00573"></a><span class="lineno">  573</span> </div>
+<div class="line"><a id="l00578" name="l00578"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a8880067a93211c257763c42264f6ceef">  578</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#a8880067a93211c257763c42264f6ceef">UDPC_free_list_connected</a>(<a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> *list);</div>
+<div class="line"><a id="l00579" name="l00579"></a><span class="lineno">  579</span> </div>
+<div class="line"><a id="l00591" name="l00591"></a><span class="lineno"><a class="line" href="UDPC_8h.html#aab6fb21c6f5b44123e2660f84561d404">  591</a></span>UDPC_EXPORT uint32_t <a class="code hl_function" href="UDPC_8h.html#aab6fb21c6f5b44123e2660f84561d404">UDPC_get_protocol_id</a>(UDPC_HContext ctx);</div>
+<div class="line"><a id="l00592" name="l00592"></a><span class="lineno">  592</span> </div>
+<div class="line"><a id="l00603" name="l00603"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a0720bec1922660c983b1b3d9f6a5de3a">  603</a></span>UDPC_EXPORT uint32_t <a class="code hl_function" href="UDPC_8h.html#a0720bec1922660c983b1b3d9f6a5de3a">UDPC_set_protocol_id</a>(UDPC_HContext ctx, uint32_t <span class="keywordtype">id</span>);</div>
+<div class="line"><a id="l00604" name="l00604"></a><span class="lineno">  604</span> </div>
+<div class="line"><a id="l00613" name="l00613"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ad0c7d69eeda20e98696d5c89bbbab096">  613</a></span>UDPC_EXPORT UDPC_LoggingType <a class="code hl_function" href="UDPC_8h.html#ad0c7d69eeda20e98696d5c89bbbab096">UDPC_get_logging_type</a>(UDPC_HContext ctx);</div>
+<div class="line"><a id="l00614" name="l00614"></a><span class="lineno">  614</span> </div>
+<div class="line"><a id="l00624" name="l00624"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a6c90dc723e67a07bf65c1fc97e526305">  624</a></span>UDPC_EXPORT UDPC_LoggingType <a class="code hl_function" href="UDPC_8h.html#a6c90dc723e67a07bf65c1fc97e526305">UDPC_set_logging_type</a>(UDPC_HContext ctx, UDPC_LoggingType loggingType);</div>
+<div class="line"><a id="l00625" name="l00625"></a><span class="lineno">  625</span> </div>
+<div class="line"><a id="l00634" name="l00634"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a8c74f1b9ee0fec610087f83096c9679d">  634</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a8c74f1b9ee0fec610087f83096c9679d">UDPC_get_receiving_events</a>(UDPC_HContext ctx);</div>
+<div class="line"><a id="l00635" name="l00635"></a><span class="lineno">  635</span> </div>
+<div class="line"><a id="l00645" name="l00645"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a380c91ee395cff22189c7988c3381787">  645</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a380c91ee395cff22189c7988c3381787">UDPC_set_receiving_events</a>(UDPC_HContext ctx, <span class="keywordtype">int</span> isReceivingEvents);</div>
+<div class="line"><a id="l00646" name="l00646"></a><span class="lineno">  646</span> </div>
+<div class="line"><a id="l00658" name="l00658"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a2c05c6fe89edde1e05ba9b6d8b5f7510">  658</a></span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__Event.html">UDPC_Event</a> <a class="code hl_function" href="UDPC_8h.html#a2c05c6fe89edde1e05ba9b6d8b5f7510">UDPC_get_event</a>(UDPC_HContext ctx, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> *remaining);</div>
+<div class="line"><a id="l00659" name="l00659"></a><span class="lineno">  659</span> </div>
+<div class="line"><a id="l00667" name="l00667"></a><span class="lineno"><a class="line" href="UDPC_8h.html#affa8655a4e7e3475be441060e92213b3">  667</a></span>UDPC_EXPORT <a class="code hl_struct" href="structUDPC__PacketInfo.html">UDPC_PacketInfo</a> <a class="code hl_function" href="UDPC_8h.html#affa8655a4e7e3475be441060e92213b3">UDPC_get_received</a>(UDPC_HContext ctx, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> *remaining);</div>
+<div class="line"><a id="l00668" name="l00668"></a><span class="lineno">  668</span> </div>
+<div class="line"><a id="l00676" name="l00676"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a68ed6dcb37c6024486fad28ab0bed845">  676</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#a68ed6dcb37c6024486fad28ab0bed845">UDPC_free_PacketInfo</a>(<a class="code hl_struct" href="structUDPC__PacketInfo.html">UDPC_PacketInfo</a> pInfo);</div>
+<div class="line"><a id="l00677" name="l00677"></a><span class="lineno">  677</span> </div>
+<div class="line"><a id="l00693" name="l00693"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ad77c746ea0401664e11bfd76c56e94f5">  693</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#ad77c746ea0401664e11bfd76c56e94f5">UDPC_free_PacketInfo_ptr</a>(<a class="code hl_struct" href="structUDPC__PacketInfo.html">UDPC_PacketInfo</a> *pInfoPtr);</div>
+<div class="line"><a id="l00694" name="l00694"></a><span class="lineno">  694</span> </div>
+<div class="line"><a id="l00712" name="l00712"></a><span class="lineno"><a class="line" href="UDPC_8h.html#abd0a7d5c0a17cf3351dbe5abf5f70df1">  712</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#abd0a7d5c0a17cf3351dbe5abf5f70df1">UDPC_set_libsodium_keys</a>(UDPC_HContext ctx, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *sk, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *pk);</div>
+<div class="line"><a id="l00713" name="l00713"></a><span class="lineno">  713</span> </div>
+<div class="line"><a id="l00727" name="l00727"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ad7eb0c77561f84a63dad29388d099fbe">  727</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#ad7eb0c77561f84a63dad29388d099fbe">UDPC_set_libsodium_key_easy</a>(UDPC_HContext ctx, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *sk);</div>
+<div class="line"><a id="l00728" name="l00728"></a><span class="lineno">  728</span> </div>
+<div class="line"><a id="l00737" name="l00737"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a62a5131b90653ccbfc86ad5db4031ba9">  737</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a62a5131b90653ccbfc86ad5db4031ba9">UDPC_unset_libsodium_keys</a>(UDPC_HContext ctx);</div>
+<div class="line"><a id="l00738" name="l00738"></a><span class="lineno">  738</span> </div>
+<div class="line"><a id="l00754" name="l00754"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a71f9bf85a02ddd1b4c921fe9b6694fe8">  754</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a71f9bf85a02ddd1b4c921fe9b6694fe8">UDPC_add_whitelist_pk</a>(UDPC_HContext ctx, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *pk);</div>
+<div class="line"><a id="l00755" name="l00755"></a><span class="lineno">  755</span> </div>
+<div class="line"><a id="l00764" name="l00764"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a94660d04e7f9b4d9c51a7b2c67707172">  764</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a94660d04e7f9b4d9c51a7b2c67707172">UDPC_has_whitelist_pk</a>(UDPC_HContext ctx, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *pk);</div>
+<div class="line"><a id="l00765" name="l00765"></a><span class="lineno">  765</span> </div>
+<div class="line"><a id="l00774" name="l00774"></a><span class="lineno"><a class="line" href="UDPC_8h.html#abc2d3284e5c45d6cd888154e813a1383">  774</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#abc2d3284e5c45d6cd888154e813a1383">UDPC_remove_whitelist_pk</a>(UDPC_HContext ctx, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *pk);</div>
+<div class="line"><a id="l00775" name="l00775"></a><span class="lineno">  775</span> </div>
+<div class="line"><a id="l00790" name="l00790"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a0e2e0c6a6a442db2cb3223d26f849d26">  790</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a0e2e0c6a6a442db2cb3223d26f849d26">UDPC_clear_whitelist</a>(UDPC_HContext ctx);</div>
+<div class="line"><a id="l00791" name="l00791"></a><span class="lineno">  791</span> </div>
+<div class="line"><a id="l00806" name="l00806"></a><span class="lineno"><a class="line" href="UDPC_8h.html#ab79769e36a92c346c6c410be158ddfe4">  806</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#ab79769e36a92c346c6c410be158ddfe4">UDPC_get_auth_policy</a>(UDPC_HContext ctx);</div>
+<div class="line"><a id="l00807" name="l00807"></a><span class="lineno">  807</span> </div>
+<div class="line"><a id="l00822" name="l00822"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a8d0dbbd258e17844a2f9a0e277789581">  822</a></span>UDPC_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="UDPC_8h.html#a8d0dbbd258e17844a2f9a0e277789581">UDPC_set_auth_policy</a>(UDPC_HContext ctx, <span class="keywordtype">int</span> value);</div>
+<div class="line"><a id="l00823" name="l00823"></a><span class="lineno">  823</span> </div>
+<div class="line"><a id="l00828" name="l00828"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a5a3c613a0d96a075ccddfba1e8900828">  828</a></span>UDPC_EXPORT <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="UDPC_8h.html#a5a3c613a0d96a075ccddfba1e8900828">UDPC_atostr_cid</a>(UDPC_HContext ctx, <a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> connectionId);</div>
+<div class="line"><a id="l00829" name="l00829"></a><span class="lineno">  829</span> </div>
+<div class="line"><a id="l00859" name="l00859"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a9e2401b133c0aae43c5d69304dabbdcc">  859</a></span>UDPC_EXPORT <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="UDPC_8h.html#a9e2401b133c0aae43c5d69304dabbdcc">UDPC_atostr</a>(UDPC_HContext ctx, UDPC_IPV6_ADDR_TYPE addr);</div>
+<div class="line"><a id="l00860" name="l00860"></a><span class="lineno">  860</span> </div>
+<div class="line"><a id="l00875" name="l00875"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a939b6c407297f6cf913f2983869f051f">  875</a></span>UDPC_EXPORT <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="UDPC_8h.html#a939b6c407297f6cf913f2983869f051f">UDPC_atostr_unsafe</a>(UDPC_IPV6_ADDR_TYPE addr);</div>
+<div class="line"><a id="l00876" name="l00876"></a><span class="lineno">  876</span> </div>
+<div class="line"><a id="l00889" name="l00889"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a1549eee3edacbc23ca144eec72d274bb">  889</a></span>UDPC_EXPORT <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="UDPC_8h.html#a1549eee3edacbc23ca144eec72d274bb">UDPC_atostr_unsafe_cid</a>(<a class="code hl_struct" href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a> cid);</div>
+<div class="line"><a id="l00890" name="l00890"></a><span class="lineno">  890</span> </div>
+<div class="line"><a id="l00894" name="l00894"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a5c6fe261f7d53e7ccae4c7233c42c76b">  894</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#a5c6fe261f7d53e7ccae4c7233c42c76b">UDPC_atostr_unsafe_free</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *addrBuf);</div>
+<div class="line"><a id="l00895" name="l00895"></a><span class="lineno">  895</span> </div>
+<div class="line"><a id="l00907" name="l00907"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a2e47fb8779abe3a9db72a08bf494dc75">  907</a></span>UDPC_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="UDPC_8h.html#a2e47fb8779abe3a9db72a08bf494dc75">UDPC_atostr_unsafe_free_ptr</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> **addrBuf);</div>
+<div class="line"><a id="l00908" name="l00908"></a><span class="lineno">  908</span> </div>
+<div class="line"><a id="l00909" name="l00909"></a><span class="lineno">  909</span><span class="comment">// =============================================================================</span></div>
+<div class="line"><a id="l00910" name="l00910"></a><span class="lineno">  910</span><span class="comment">// Helpers</span></div>
+<div class="line"><a id="l00911" name="l00911"></a><span class="lineno">  911</span> </div>
+<div class="line"><a id="l00913" name="l00913"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a2ae8e7d87f785dd3b3353a00005c3dc6">  913</a></span>UDPC_EXPORT UDPC_IPV6_ADDR_TYPE <a class="code hl_function" href="UDPC_8h.html#a2ae8e7d87f785dd3b3353a00005c3dc6">UDPC_strtoa</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *addrStr);</div>
+<div class="line"><a id="l00914" name="l00914"></a><span class="lineno">  914</span> </div>
+<div class="line"><a id="l00915" name="l00915"></a><span class="lineno">  915</span>UDPC_EXPORT UDPC_IPV6_ADDR_TYPE UDPC_strtoa_link(<span class="keyword">const</span> <span class="keywordtype">char</span> *addrStr, uint32_t *linkId_out);</div>
 <div class="line"><a id="l00916" name="l00916"></a><span class="lineno">  916</span> </div>
-<div class="line"><a id="l00918" name="l00918"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a2ae8e7d87f785dd3b3353a00005c3dc6">  918</a></span>UDPC_EXPORT UDPC_IPV6_ADDR_TYPE <a class="code hl_function" href="UDPC_8h.html#a2ae8e7d87f785dd3b3353a00005c3dc6">UDPC_strtoa</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *addrStr);</div>
-<div class="line"><a id="l00919" name="l00919"></a><span class="lineno">  919</span> </div>
-<div class="line"><a id="l00920" name="l00920"></a><span class="lineno">  920</span>UDPC_EXPORT UDPC_IPV6_ADDR_TYPE UDPC_strtoa_link(<span class="keyword">const</span> <span class="keywordtype">char</span> *addrStr, uint32_t *linkId_out);</div>
-<div class="line"><a id="l00921" name="l00921"></a><span class="lineno">  921</span> </div>
-<div class="line"><a id="l00922" name="l00922"></a><span class="lineno">  922</span>UDPC_EXPORT UDPC_IPV6_ADDR_TYPE UDPC_a4toa6(uint32_t a4_be);</div>
-<div class="line"><a id="l00923" name="l00923"></a><span class="lineno">  923</span> </div>
-<div class="line"><a id="l00924" name="l00924"></a><span class="lineno">  924</span>UDPC_EXPORT <span class="keywordtype">int</span> UDPC_is_big_endian();</div>
-<div class="line"><a id="l00925" name="l00925"></a><span class="lineno">  925</span> </div>
-<div class="line"><a id="l00966" name="l00966"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a09093c7edd8ed04407c84a94e0d02587">  966</a></span>UDPC_EXPORT uint16_t <a class="code hl_function" href="UDPC_8h.html#a09093c7edd8ed04407c84a94e0d02587">UDPC_no16i</a>(uint16_t i);</div>
-<div class="line"><a id="l00967" name="l00967"></a><span class="lineno">  967</span> </div>
-<div class="line"><a id="l01008" name="l01008"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a3e62beb3d497732f5e1d79e19878198c"> 1008</a></span>UDPC_EXPORT uint32_t <a class="code hl_function" href="UDPC_8h.html#a3e62beb3d497732f5e1d79e19878198c">UDPC_no32i</a>(uint32_t i);</div>
-<div class="line"><a id="l01009" name="l01009"></a><span class="lineno"> 1009</span> </div>
-<div class="line"><a id="l01050" name="l01050"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a0d6d9407ed6743a23283d8711652d757"> 1050</a></span>UDPC_EXPORT uint64_t <a class="code hl_function" href="UDPC_8h.html#a0d6d9407ed6743a23283d8711652d757">UDPC_no64i</a>(uint64_t i);</div>
-<div class="line"><a id="l01051" name="l01051"></a><span class="lineno"> 1051</span> </div>
-<div class="line"><a id="l01083" name="l01083"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a61f1ec575cd8a1020bf4d53a72497ab6"> 1083</a></span>UDPC_EXPORT <span class="keywordtype">float</span> <a class="code hl_function" href="UDPC_8h.html#a61f1ec575cd8a1020bf4d53a72497ab6">UDPC_no32f</a>(<span class="keywordtype">float</span> f);</div>
-<div class="line"><a id="l01084" name="l01084"></a><span class="lineno"> 1084</span> </div>
-<div class="line"><a id="l01116" name="l01116"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a93a1a33c4d5dcd4f3e829ce4b15df11c"> 1116</a></span>UDPC_EXPORT <span class="keywordtype">double</span> <a class="code hl_function" href="UDPC_8h.html#a93a1a33c4d5dcd4f3e829ce4b15df11c">UDPC_no64f</a>(<span class="keywordtype">double</span> f);</div>
-<div class="line"><a id="l01117" name="l01117"></a><span class="lineno"> 1117</span> </div>
-<div class="line"><a id="l01118" name="l01118"></a><span class="lineno"> 1118</span><span class="preprocessor">#ifdef __cplusplus</span></div>
-<div class="line"><a id="l01119" name="l01119"></a><span class="lineno"> 1119</span>}</div>
-<div class="line"><a id="l01120" name="l01120"></a><span class="lineno"> 1120</span><span class="preprocessor">#endif</span></div>
-<div class="line"><a id="l01121" name="l01121"></a><span class="lineno"> 1121</span><span class="preprocessor">#endif</span></div>
+<div class="line"><a id="l00917" name="l00917"></a><span class="lineno">  917</span>UDPC_EXPORT UDPC_IPV6_ADDR_TYPE UDPC_a4toa6(uint32_t a4_be);</div>
+<div class="line"><a id="l00918" name="l00918"></a><span class="lineno">  918</span> </div>
+<div class="line"><a id="l00919" name="l00919"></a><span class="lineno">  919</span>UDPC_EXPORT <span class="keywordtype">int</span> UDPC_is_big_endian();</div>
+<div class="line"><a id="l00920" name="l00920"></a><span class="lineno">  920</span> </div>
+<div class="line"><a id="l00961" name="l00961"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a09093c7edd8ed04407c84a94e0d02587">  961</a></span>UDPC_EXPORT uint16_t <a class="code hl_function" href="UDPC_8h.html#a09093c7edd8ed04407c84a94e0d02587">UDPC_no16i</a>(uint16_t i);</div>
+<div class="line"><a id="l00962" name="l00962"></a><span class="lineno">  962</span> </div>
+<div class="line"><a id="l01003" name="l01003"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a3e62beb3d497732f5e1d79e19878198c"> 1003</a></span>UDPC_EXPORT uint32_t <a class="code hl_function" href="UDPC_8h.html#a3e62beb3d497732f5e1d79e19878198c">UDPC_no32i</a>(uint32_t i);</div>
+<div class="line"><a id="l01004" name="l01004"></a><span class="lineno"> 1004</span> </div>
+<div class="line"><a id="l01045" name="l01045"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a0d6d9407ed6743a23283d8711652d757"> 1045</a></span>UDPC_EXPORT uint64_t <a class="code hl_function" href="UDPC_8h.html#a0d6d9407ed6743a23283d8711652d757">UDPC_no64i</a>(uint64_t i);</div>
+<div class="line"><a id="l01046" name="l01046"></a><span class="lineno"> 1046</span> </div>
+<div class="line"><a id="l01078" name="l01078"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a61f1ec575cd8a1020bf4d53a72497ab6"> 1078</a></span>UDPC_EXPORT <span class="keywordtype">float</span> <a class="code hl_function" href="UDPC_8h.html#a61f1ec575cd8a1020bf4d53a72497ab6">UDPC_no32f</a>(<span class="keywordtype">float</span> f);</div>
+<div class="line"><a id="l01079" name="l01079"></a><span class="lineno"> 1079</span> </div>
+<div class="line"><a id="l01111" name="l01111"></a><span class="lineno"><a class="line" href="UDPC_8h.html#a93a1a33c4d5dcd4f3e829ce4b15df11c"> 1111</a></span>UDPC_EXPORT <span class="keywordtype">double</span> <a class="code hl_function" href="UDPC_8h.html#a93a1a33c4d5dcd4f3e829ce4b15df11c">UDPC_no64f</a>(<span class="keywordtype">double</span> f);</div>
+<div class="line"><a id="l01112" name="l01112"></a><span class="lineno"> 1112</span> </div>
+<div class="line"><a id="l01113" name="l01113"></a><span class="lineno"> 1113</span><span class="preprocessor">#ifdef __cplusplus</span></div>
+<div class="line"><a id="l01114" name="l01114"></a><span class="lineno"> 1114</span>}</div>
+<div class="line"><a id="l01115" name="l01115"></a><span class="lineno"> 1115</span><span class="preprocessor">#endif</span></div>
+<div class="line"><a id="l01116" name="l01116"></a><span class="lineno"> 1116</span><span class="preprocessor">#endif</span></div>
 <div class="ttc" id="aUDPC_8h_html_a0720bec1922660c983b1b3d9f6a5de3a"><div class="ttname"><a href="UDPC_8h.html#a0720bec1922660c983b1b3d9f6a5de3a">UDPC_set_protocol_id</a></div><div class="ttdeci">UDPC_EXPORT uint32_t UDPC_set_protocol_id(UDPC_HContext ctx, uint32_t id)</div><div class="ttdoc">Sets the protocol id of the UDPC context.</div></div>
 <div class="ttc" id="aUDPC_8h_html_a09093c7edd8ed04407c84a94e0d02587"><div class="ttname"><a href="UDPC_8h.html#a09093c7edd8ed04407c84a94e0d02587">UDPC_no16i</a></div><div class="ttdeci">UDPC_EXPORT uint16_t UDPC_no16i(uint16_t i)</div><div class="ttdoc">Converts a 16-bit int into/from network byte order (big endian).</div></div>
 <div class="ttc" id="aUDPC_8h_html_a0d6d9407ed6743a23283d8711652d757"><div class="ttname"><a href="UDPC_8h.html#a0d6d9407ed6743a23283d8711652d757">UDPC_no64i</a></div><div class="ttdeci">UDPC_EXPORT uint64_t UDPC_no64i(uint64_t i)</div><div class="ttdoc">Converts a 64-bit int into/from network byte order (big endian).</div></div>
@@ -377,8 +377,8 @@ $(function() {
 <div class="ttc" id="aUDPC_8h_html_a1549eee3edacbc23ca144eec72d274bb"><div class="ttname"><a href="UDPC_8h.html#a1549eee3edacbc23ca144eec72d274bb">UDPC_atostr_unsafe_cid</a></div><div class="ttdeci">UDPC_EXPORT const char * UDPC_atostr_unsafe_cid(UDPC_ConnectionId cid)</div><div class="ttdoc">Similar to UPDC_atostr(), but the returned ptr must be free'd.</div></div>
 <div class="ttc" id="aUDPC_8h_html_a1a50763773d55aa7a2a9c7ad69575833"><div class="ttname"><a href="UDPC_8h.html#a1a50763773d55aa7a2a9c7ad69575833">UDPC_enable_threaded_update_ms</a></div><div class="ttdeci">UDPC_EXPORT int UDPC_enable_threaded_update_ms(UDPC_HContext ctx, int updateMS)</div><div class="ttdoc">Enables auto updating on a separate thread for the given UDPC_HContext with the specified update inte...</div></div>
 <div class="ttc" id="aUDPC_8h_html_a1fb87c1522d353bd9fde4c94ec8454c2"><div class="ttname"><a href="UDPC_8h.html#a1fb87c1522d353bd9fde4c94ec8454c2">UDPC_get_queued_size</a></div><div class="ttdeci">UDPC_EXPORT unsigned long UDPC_get_queued_size(UDPC_HContext ctx, UDPC_ConnectionId id, int *exists)</div><div class="ttdoc">Gets the size of a connection's queue of queued packets.</div></div>
-<div class="ttc" id="aUDPC_8h_html_a228cd7ddf56a4e76e216bc3b80e8bd4a"><div class="ttname"><a href="UDPC_8h.html#a228cd7ddf56a4e76e216bc3b80e8bd4a">UDPC_AuthPolicy</a></div><div class="ttdeci">enum UDPC_EXPORT UDPC_AuthPolicy UDPC_AuthPolicy</div><div class="ttdef"><b>Definition:</b> UDPC.h:136</div></div>
-<div class="ttc" id="aUDPC_8h_html_a248f51c4df127b7fd3a5c91ad5509d15"><div class="ttname"><a href="UDPC_8h.html#a248f51c4df127b7fd3a5c91ad5509d15">UDPC_INFO</a></div><div class="ttdeci">UDPC_INFO</div><div class="ttdoc">Log errors, warnings, and info.</div><div class="ttdef"><b>Definition:</b> UDPC.h:127</div></div>
+<div class="ttc" id="aUDPC_8h_html_a228cd7ddf56a4e76e216bc3b80e8bd4a"><div class="ttname"><a href="UDPC_8h.html#a228cd7ddf56a4e76e216bc3b80e8bd4a">UDPC_AuthPolicy</a></div><div class="ttdeci">enum UDPC_EXPORT UDPC_AuthPolicy UDPC_AuthPolicy</div><div class="ttdef"><b>Definition:</b> UDPC.h:139</div></div>
+<div class="ttc" id="aUDPC_8h_html_a248f51c4df127b7fd3a5c91ad5509d15"><div class="ttname"><a href="UDPC_8h.html#a248f51c4df127b7fd3a5c91ad5509d15">UDPC_INFO</a></div><div class="ttdeci">UDPC_INFO</div><div class="ttdoc">Log errors, warnings, and info.</div><div class="ttdef"><b>Definition:</b> UDPC.h:130</div></div>
 <div class="ttc" id="aUDPC_8h_html_a2ae8e7d87f785dd3b3353a00005c3dc6"><div class="ttname"><a href="UDPC_8h.html#a2ae8e7d87f785dd3b3353a00005c3dc6">UDPC_strtoa</a></div><div class="ttdeci">UDPC_EXPORT UDPC_IPV6_ADDR_TYPE UDPC_strtoa(const char *addrStr)</div><div class="ttdoc">addrStr must be a valid ipv6 address or a valid ipv4 address</div></div>
 <div class="ttc" id="aUDPC_8h_html_a2c05c6fe89edde1e05ba9b6d8b5f7510"><div class="ttname"><a href="UDPC_8h.html#a2c05c6fe89edde1e05ba9b6d8b5f7510">UDPC_get_event</a></div><div class="ttdeci">UDPC_EXPORT UDPC_Event UDPC_get_event(UDPC_HContext ctx, unsigned long *remaining)</div><div class="ttdoc">Gets a recorded event.</div></div>
 <div class="ttc" id="aUDPC_8h_html_a2e47fb8779abe3a9db72a08bf494dc75"><div class="ttname"><a href="UDPC_8h.html#a2e47fb8779abe3a9db72a08bf494dc75">UDPC_atostr_unsafe_free_ptr</a></div><div class="ttdeci">UDPC_EXPORT void UDPC_atostr_unsafe_free_ptr(const char **addrBuf)</div><div class="ttdoc">Free an addr string created with UDPC_atostr_unsafe() and zeroes the pointer.</div></div>
@@ -395,7 +395,7 @@ $(function() {
 <div class="ttc" id="aUDPC_8h_html_a62a5131b90653ccbfc86ad5db4031ba9"><div class="ttname"><a href="UDPC_8h.html#a62a5131b90653ccbfc86ad5db4031ba9">UDPC_unset_libsodium_keys</a></div><div class="ttdeci">UDPC_EXPORT int UDPC_unset_libsodium_keys(UDPC_HContext ctx)</div><div class="ttdoc">Removes set keys if any used for packet verification.</div></div>
 <div class="ttc" id="aUDPC_8h_html_a68ed6dcb37c6024486fad28ab0bed845"><div class="ttname"><a href="UDPC_8h.html#a68ed6dcb37c6024486fad28ab0bed845">UDPC_free_PacketInfo</a></div><div class="ttdeci">UDPC_EXPORT void UDPC_free_PacketInfo(UDPC_PacketInfo pInfo)</div><div class="ttdoc">Frees a UDPC_PacketInfo.</div></div>
 <div class="ttc" id="aUDPC_8h_html_a68fefba9edca7cd0a81d97ac27c70c0b"><div class="ttname"><a href="UDPC_8h.html#a68fefba9edca7cd0a81d97ac27c70c0b">UDPC_update</a></div><div class="ttdeci">UDPC_EXPORT void UDPC_update(UDPC_HContext ctx)</div><div class="ttdoc">Updates the context.</div></div>
-<div class="ttc" id="aUDPC_8h_html_a6af4629253b3ed1f411015410cee9ad3"><div class="ttname"><a href="UDPC_8h.html#a6af4629253b3ed1f411015410cee9ad3">UDPC_AUTH_POLICY_STRICT</a></div><div class="ttdeci">UDPC_AUTH_POLICY_STRICT</div><div class="ttdoc">Only peers with public key verification will be allowed.</div><div class="ttdef"><b>Definition:</b> UDPC.h:140</div></div>
+<div class="ttc" id="aUDPC_8h_html_a6af4629253b3ed1f411015410cee9ad3"><div class="ttname"><a href="UDPC_8h.html#a6af4629253b3ed1f411015410cee9ad3">UDPC_AUTH_POLICY_STRICT</a></div><div class="ttdeci">UDPC_AUTH_POLICY_STRICT</div><div class="ttdoc">Only peers with public key verification will be allowed.</div><div class="ttdef"><b>Definition:</b> UDPC.h:143</div></div>
 <div class="ttc" id="aUDPC_8h_html_a6b4355331c9b2797af0c13ce16515547"><div class="ttname"><a href="UDPC_8h.html#a6b4355331c9b2797af0c13ce16515547">UDPC_get_list_connected</a></div><div class="ttdeci">UDPC_EXPORT UDPC_ConnectionId * UDPC_get_list_connected(UDPC_HContext ctx, unsigned int *size)</div><div class="ttdoc">Gets a dynamically allocated array of connected peers' identifiers.</div></div>
 <div class="ttc" id="aUDPC_8h_html_a6c90dc723e67a07bf65c1fc97e526305"><div class="ttname"><a href="UDPC_8h.html#a6c90dc723e67a07bf65c1fc97e526305">UDPC_set_logging_type</a></div><div class="ttdeci">UDPC_EXPORT UDPC_LoggingType UDPC_set_logging_type(UDPC_HContext ctx, UDPC_LoggingType loggingType)</div><div class="ttdoc">Sets the logging type of the UDPC context.</div></div>
 <div class="ttc" id="aUDPC_8h_html_a71f9bf85a02ddd1b4c921fe9b6694fe8"><div class="ttname"><a href="UDPC_8h.html#a71f9bf85a02ddd1b4c921fe9b6694fe8">UDPC_add_whitelist_pk</a></div><div class="ttdeci">UDPC_EXPORT int UDPC_add_whitelist_pk(UDPC_HContext ctx, const unsigned char *pk)</div><div class="ttdoc">Adds a public key to the whitelist.</div></div>
@@ -409,11 +409,11 @@ $(function() {
 <div class="ttc" id="aUDPC_8h_html_a939b6c407297f6cf913f2983869f051f"><div class="ttname"><a href="UDPC_8h.html#a939b6c407297f6cf913f2983869f051f">UDPC_atostr_unsafe</a></div><div class="ttdeci">UDPC_EXPORT const char * UDPC_atostr_unsafe(UDPC_IPV6_ADDR_TYPE addr)</div><div class="ttdoc">Similar to UPDC_atostr(), but the returned ptr must be free'd.</div></div>
 <div class="ttc" id="aUDPC_8h_html_a93a1a33c4d5dcd4f3e829ce4b15df11c"><div class="ttname"><a href="UDPC_8h.html#a93a1a33c4d5dcd4f3e829ce4b15df11c">UDPC_no64f</a></div><div class="ttdeci">UDPC_EXPORT double UDPC_no64f(double f)</div><div class="ttdoc">Converts a 64-bit float into/from network byte order (big endian).</div></div>
 <div class="ttc" id="aUDPC_8h_html_a94660d04e7f9b4d9c51a7b2c67707172"><div class="ttname"><a href="UDPC_8h.html#a94660d04e7f9b4d9c51a7b2c67707172">UDPC_has_whitelist_pk</a></div><div class="ttdeci">UDPC_EXPORT int UDPC_has_whitelist_pk(UDPC_HContext ctx, const unsigned char *pk)</div><div class="ttdoc">Checks if a public key is in the whitelist.</div></div>
-<div class="ttc" id="aUDPC_8h_html_a96ecd597f88d458ed108f33e4f0a6612"><div class="ttname"><a href="UDPC_8h.html#a96ecd597f88d458ed108f33e4f0a6612">UDPC_AUTH_POLICY_FALLBACK</a></div><div class="ttdeci">UDPC_AUTH_POLICY_FALLBACK</div><div class="ttdoc">All peers will not be denied regardless of use of public key verification.</div><div class="ttdef"><b>Definition:</b> UDPC.h:138</div></div>
-<div class="ttc" id="aUDPC_8h_html_a9cc5d705069747eb439a1c5607baac17"><div class="ttname"><a href="UDPC_8h.html#a9cc5d705069747eb439a1c5607baac17">UDPC_WARNING</a></div><div class="ttdeci">UDPC_WARNING</div><div class="ttdoc">Log errors and warnings.</div><div class="ttdef"><b>Definition:</b> UDPC.h:125</div></div>
+<div class="ttc" id="aUDPC_8h_html_a96ecd597f88d458ed108f33e4f0a6612"><div class="ttname"><a href="UDPC_8h.html#a96ecd597f88d458ed108f33e4f0a6612">UDPC_AUTH_POLICY_FALLBACK</a></div><div class="ttdeci">UDPC_AUTH_POLICY_FALLBACK</div><div class="ttdoc">All peers will not be denied regardless of use of public key verification.</div><div class="ttdef"><b>Definition:</b> UDPC.h:141</div></div>
+<div class="ttc" id="aUDPC_8h_html_a9cc5d705069747eb439a1c5607baac17"><div class="ttname"><a href="UDPC_8h.html#a9cc5d705069747eb439a1c5607baac17">UDPC_WARNING</a></div><div class="ttdeci">UDPC_WARNING</div><div class="ttdoc">Log errors and warnings.</div><div class="ttdef"><b>Definition:</b> UDPC.h:128</div></div>
 <div class="ttc" id="aUDPC_8h_html_a9e2401b133c0aae43c5d69304dabbdcc"><div class="ttname"><a href="UDPC_8h.html#a9e2401b133c0aae43c5d69304dabbdcc">UDPC_atostr</a></div><div class="ttdeci">UDPC_EXPORT const char * UDPC_atostr(UDPC_HContext ctx, UDPC_IPV6_ADDR_TYPE addr)</div><div class="ttdoc">Returns a pointer to a null-terminated address string derived from the given address.</div></div>
 <div class="ttc" id="aUDPC_8h_html_aa3f67ad23ae34b647b7f4dd17a8a96dd"><div class="ttname"><a href="UDPC_8h.html#aa3f67ad23ae34b647b7f4dd17a8a96dd">UDPC_get_queue_send_current_size</a></div><div class="ttdeci">UDPC_EXPORT unsigned long UDPC_get_queue_send_current_size(UDPC_HContext ctx)</div><div class="ttdoc">Gets the size of the data structure holding queued packets.</div></div>
-<div class="ttc" id="aUDPC_8h_html_aa5c197773a0914125cb358771139065c"><div class="ttname"><a href="UDPC_8h.html#aa5c197773a0914125cb358771139065c">UDPC_SILENT</a></div><div class="ttdeci">UDPC_SILENT</div><div class="ttdoc">Does not log anything.</div><div class="ttdef"><b>Definition:</b> UDPC.h:121</div></div>
+<div class="ttc" id="aUDPC_8h_html_aa5c197773a0914125cb358771139065c"><div class="ttname"><a href="UDPC_8h.html#aa5c197773a0914125cb358771139065c">UDPC_SILENT</a></div><div class="ttdeci">UDPC_SILENT</div><div class="ttdoc">Does not log anything.</div><div class="ttdef"><b>Definition:</b> UDPC.h:124</div></div>
 <div class="ttc" id="aUDPC_8h_html_aab6fb21c6f5b44123e2660f84561d404"><div class="ttname"><a href="UDPC_8h.html#aab6fb21c6f5b44123e2660f84561d404">UDPC_get_protocol_id</a></div><div class="ttdeci">UDPC_EXPORT uint32_t UDPC_get_protocol_id(UDPC_HContext ctx)</div><div class="ttdoc">Gets the protocol id of the UDPC context.</div></div>
 <div class="ttc" id="aUDPC_8h_html_aad0e88866d4c5cb9c0676bc8d7df574e"><div class="ttname"><a href="UDPC_8h.html#aad0e88866d4c5cb9c0676bc8d7df574e">UDPC_destroy</a></div><div class="ttdeci">UDPC_EXPORT void UDPC_destroy(UDPC_HContext ctx)</div><div class="ttdoc">Cleans up the UDPC_HContext.</div></div>
 <div class="ttc" id="aUDPC_8h_html_ab79769e36a92c346c6c410be158ddfe4"><div class="ttname"><a href="UDPC_8h.html#ab79769e36a92c346c6c410be158ddfe4">UDPC_get_auth_policy</a></div><div class="ttdeci">UDPC_EXPORT int UDPC_get_auth_policy(UDPC_HContext ctx)</div><div class="ttdoc">Gets how peers are handled regarding public key verification.</div></div>
@@ -422,24 +422,24 @@ $(function() {
 <div class="ttc" id="aUDPC_8h_html_abc2d3284e5c45d6cd888154e813a1383"><div class="ttname"><a href="UDPC_8h.html#abc2d3284e5c45d6cd888154e813a1383">UDPC_remove_whitelist_pk</a></div><div class="ttdeci">UDPC_EXPORT int UDPC_remove_whitelist_pk(UDPC_HContext ctx, const unsigned char *pk)</div><div class="ttdoc">Removes a public key from the whitelist.</div></div>
 <div class="ttc" id="aUDPC_8h_html_abd0a7d5c0a17cf3351dbe5abf5f70df1"><div class="ttname"><a href="UDPC_8h.html#abd0a7d5c0a17cf3351dbe5abf5f70df1">UDPC_set_libsodium_keys</a></div><div class="ttdeci">UDPC_EXPORT int UDPC_set_libsodium_keys(UDPC_HContext ctx, const unsigned char *sk, const unsigned char *pk)</div><div class="ttdoc">Sets public/private keys used for packet verification.</div></div>
 <div class="ttc" id="aUDPC_8h_html_ac01480f803b063e2b44794420df0f671"><div class="ttname"><a href="UDPC_8h.html#ac01480f803b063e2b44794420df0f671">UDPC_is_valid_context</a></div><div class="ttdeci">UDPC_EXPORT int UDPC_is_valid_context(UDPC_HContext ctx)</div><div class="ttdoc">Checks if the given UDPC_HContext is valid (successfully initialized)</div></div>
-<div class="ttc" id="aUDPC_8h_html_ac04213a4287500a9c5330f543eac3103"><div class="ttname"><a href="UDPC_8h.html#ac04213a4287500a9c5330f543eac3103">UDPC_ERROR</a></div><div class="ttdeci">UDPC_ERROR</div><div class="ttdoc">Only log errors.</div><div class="ttdef"><b>Definition:</b> UDPC.h:123</div></div>
+<div class="ttc" id="aUDPC_8h_html_ac04213a4287500a9c5330f543eac3103"><div class="ttname"><a href="UDPC_8h.html#ac04213a4287500a9c5330f543eac3103">UDPC_ERROR</a></div><div class="ttdeci">UDPC_ERROR</div><div class="ttdoc">Only log errors.</div><div class="ttdef"><b>Definition:</b> UDPC.h:126</div></div>
 <div class="ttc" id="aUDPC_8h_html_ad0c7d69eeda20e98696d5c89bbbab096"><div class="ttname"><a href="UDPC_8h.html#ad0c7d69eeda20e98696d5c89bbbab096">UDPC_get_logging_type</a></div><div class="ttdeci">UDPC_EXPORT UDPC_LoggingType UDPC_get_logging_type(UDPC_HContext ctx)</div><div class="ttdoc">Gets the logging type of the UDPC context.</div></div>
-<div class="ttc" id="aUDPC_8h_html_ad5741af4e5cf1da40fe4a7b92cd1c431"><div class="ttname"><a href="UDPC_8h.html#ad5741af4e5cf1da40fe4a7b92cd1c431">UDPC_VERBOSE</a></div><div class="ttdeci">UDPC_VERBOSE</div><div class="ttdoc">Log errors, warning, info, and verbose.</div><div class="ttdef"><b>Definition:</b> UDPC.h:129</div></div>
+<div class="ttc" id="aUDPC_8h_html_ad5741af4e5cf1da40fe4a7b92cd1c431"><div class="ttname"><a href="UDPC_8h.html#ad5741af4e5cf1da40fe4a7b92cd1c431">UDPC_VERBOSE</a></div><div class="ttdeci">UDPC_VERBOSE</div><div class="ttdoc">Log errors, warning, info, and verbose.</div><div class="ttdef"><b>Definition:</b> UDPC.h:132</div></div>
 <div class="ttc" id="aUDPC_8h_html_ad77c746ea0401664e11bfd76c56e94f5"><div class="ttname"><a href="UDPC_8h.html#ad77c746ea0401664e11bfd76c56e94f5">UDPC_free_PacketInfo_ptr</a></div><div class="ttdeci">UDPC_EXPORT void UDPC_free_PacketInfo_ptr(UDPC_PacketInfo *pInfoPtr)</div><div class="ttdoc">Frees a UDPC_PacketInfo.</div></div>
 <div class="ttc" id="aUDPC_8h_html_ad7eb0c77561f84a63dad29388d099fbe"><div class="ttname"><a href="UDPC_8h.html#ad7eb0c77561f84a63dad29388d099fbe">UDPC_set_libsodium_key_easy</a></div><div class="ttdeci">UDPC_EXPORT int UDPC_set_libsodium_key_easy(UDPC_HContext ctx, const unsigned char *sk)</div><div class="ttdoc">Sets the public/private keys used for packet verification.</div></div>
-<div class="ttc" id="aUDPC_8h_html_adaa0534bf7f04bb2f6ce8975c99c4af0"><div class="ttname"><a href="UDPC_8h.html#adaa0534bf7f04bb2f6ce8975c99c4af0">UDPC_EventType</a></div><div class="ttdeci">enum UDPC_EXPORT UDPC_EventType UDPC_EventType</div><div class="ttdoc">An enum describing the type of event.</div><div class="ttdef"><b>Definition:</b> UDPC.h:230</div></div>
+<div class="ttc" id="aUDPC_8h_html_adaa0534bf7f04bb2f6ce8975c99c4af0"><div class="ttname"><a href="UDPC_8h.html#adaa0534bf7f04bb2f6ce8975c99c4af0">UDPC_EventType</a></div><div class="ttdeci">enum UDPC_EXPORT UDPC_EventType UDPC_EventType</div><div class="ttdoc">An enum describing the type of event.</div><div class="ttdef"><b>Definition:</b> UDPC.h:233</div></div>
 <div class="ttc" id="aUDPC_8h_html_aea7e32ca9fdc04530f95c97459391e6d"><div class="ttname"><a href="UDPC_8h.html#aea7e32ca9fdc04530f95c97459391e6d">UDPC_create_id</a></div><div class="ttdeci">UDPC_EXPORT UDPC_ConnectionId UDPC_create_id(UDPC_IPV6_ADDR_TYPE addr, uint16_t port)</div><div class="ttdoc">Creates an UDPC_ConnectionId with the given addr and port.</div></div>
 <div class="ttc" id="aUDPC_8h_html_affa8655a4e7e3475be441060e92213b3"><div class="ttname"><a href="UDPC_8h.html#affa8655a4e7e3475be441060e92213b3">UDPC_get_received</a></div><div class="ttdeci">UDPC_EXPORT UDPC_PacketInfo UDPC_get_received(UDPC_HContext ctx, unsigned long *remaining)</div><div class="ttdoc">Get a received packet from a given UDPC context.</div></div>
-<div class="ttc" id="astructUDPC__ConnectionId_html"><div class="ttname"><a href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a></div><div class="ttdoc">Data identifying a peer via addr, port, and scope_id.</div><div class="ttdef"><b>Definition:</b> UDPC.h:153</div></div>
-<div class="ttc" id="astructUDPC__Event_html"><div class="ttname"><a href="structUDPC__Event.html">UDPC_Event</a></div><div class="ttdoc">A struct containing information related to the type of event.</div><div class="ttdef"><b>Definition:</b> UDPC.h:251</div></div>
-<div class="ttc" id="astructUDPC__PacketInfo_html"><div class="ttname"><a href="structUDPC__PacketInfo.html">UDPC_PacketInfo</a></div><div class="ttdoc">Data representing a received/sent packet.</div><div class="ttdef"><b>Definition:</b> UDPC.h:168</div></div>
-<div class="ttc" id="astructUDPC__PacketInfo_html_a1358f91f28c4a023ef201e868bf1069e"><div class="ttname"><a href="structUDPC__PacketInfo.html#a1358f91f28c4a023ef201e868bf1069e">UDPC_PacketInfo::data</a></div><div class="ttdeci">char * data</div><div class="ttdef"><b>Definition:</b> UDPC.h:174</div></div>
-<div class="ttc" id="astructUDPC__PacketInfo_html_a5af734c663d3df72dad2b81a8794b6dc"><div class="ttname"><a href="structUDPC__PacketInfo.html#a5af734c663d3df72dad2b81a8794b6dc">UDPC_PacketInfo::sender</a></div><div class="ttdeci">UDPC_ConnectionId sender</div><div class="ttdoc">The UDPC_ConnectionId of the sender.</div><div class="ttdef"><b>Definition:</b> UDPC.h:206</div></div>
-<div class="ttc" id="astructUDPC__PacketInfo_html_a70230a2eb6a638d9e9fc04e230c92a74"><div class="ttname"><a href="structUDPC__PacketInfo.html#a70230a2eb6a638d9e9fc04e230c92a74">UDPC_PacketInfo::dataSize</a></div><div class="ttdeci">uint16_t dataSize</div><div class="ttdoc">The size in bytes of the received packet's data inside the data pointer member variable.</div><div class="ttdef"><b>Definition:</b> UDPC.h:203</div></div>
-<div class="ttc" id="astructUDPC__PacketInfo_html_a965f393584d389dc72becd439cafde0d"><div class="ttname"><a href="structUDPC__PacketInfo.html#a965f393584d389dc72becd439cafde0d">UDPC_PacketInfo::receiver</a></div><div class="ttdeci">UDPC_ConnectionId receiver</div><div class="ttdoc">The UDPC_ConnectionId of the receiver.</div><div class="ttdef"><b>Definition:</b> UDPC.h:208</div></div>
-<div class="ttc" id="astructUDPC__PacketInfo_html_ac21cc9beab22eb1e1a2d5c0797ed0fbe"><div class="ttname"><a href="structUDPC__PacketInfo.html#ac21cc9beab22eb1e1a2d5c0797ed0fbe">UDPC_PacketInfo::id</a></div><div class="ttdeci">uint32_t id</div><div class="ttdoc">The packet's id.</div><div class="ttdef"><b>Definition:</b> UDPC.h:193</div></div>
-<div class="ttc" id="astructUDPC__PacketInfo_html_ad538ac2682e8276dc33553237f012ce1"><div class="ttname"><a href="structUDPC__PacketInfo.html#ad538ac2682e8276dc33553237f012ce1">UDPC_PacketInfo::flags</a></div><div class="ttdeci">uint32_t flags</div><div class="ttdoc">Flags indication some additional information about the received packet.</div><div class="ttdef"><b>Definition:</b> UDPC.h:185</div></div>
-<div class="ttc" id="aunionUDPC__Event_1_1Value_html"><div class="ttname"><a href="unionUDPC__Event_1_1Value.html">UDPC_Event::Value</a></div><div class="ttdef"><b>Definition:</b> UDPC.h:254</div></div>
+<div class="ttc" id="astructUDPC__ConnectionId_html"><div class="ttname"><a href="structUDPC__ConnectionId.html">UDPC_ConnectionId</a></div><div class="ttdoc">Data identifying a peer via addr, port, and scope_id.</div><div class="ttdef"><b>Definition:</b> UDPC.h:156</div></div>
+<div class="ttc" id="astructUDPC__Event_html"><div class="ttname"><a href="structUDPC__Event.html">UDPC_Event</a></div><div class="ttdoc">A struct containing information related to the type of event.</div><div class="ttdef"><b>Definition:</b> UDPC.h:254</div></div>
+<div class="ttc" id="astructUDPC__PacketInfo_html"><div class="ttname"><a href="structUDPC__PacketInfo.html">UDPC_PacketInfo</a></div><div class="ttdoc">Data representing a received/sent packet.</div><div class="ttdef"><b>Definition:</b> UDPC.h:171</div></div>
+<div class="ttc" id="astructUDPC__PacketInfo_html_a1358f91f28c4a023ef201e868bf1069e"><div class="ttname"><a href="structUDPC__PacketInfo.html#a1358f91f28c4a023ef201e868bf1069e">UDPC_PacketInfo::data</a></div><div class="ttdeci">char * data</div><div class="ttdef"><b>Definition:</b> UDPC.h:177</div></div>
+<div class="ttc" id="astructUDPC__PacketInfo_html_a5af734c663d3df72dad2b81a8794b6dc"><div class="ttname"><a href="structUDPC__PacketInfo.html#a5af734c663d3df72dad2b81a8794b6dc">UDPC_PacketInfo::sender</a></div><div class="ttdeci">UDPC_ConnectionId sender</div><div class="ttdoc">The UDPC_ConnectionId of the sender.</div><div class="ttdef"><b>Definition:</b> UDPC.h:209</div></div>
+<div class="ttc" id="astructUDPC__PacketInfo_html_a70230a2eb6a638d9e9fc04e230c92a74"><div class="ttname"><a href="structUDPC__PacketInfo.html#a70230a2eb6a638d9e9fc04e230c92a74">UDPC_PacketInfo::dataSize</a></div><div class="ttdeci">uint16_t dataSize</div><div class="ttdoc">The size in bytes of the received packet's data inside the data pointer member variable.</div><div class="ttdef"><b>Definition:</b> UDPC.h:206</div></div>
+<div class="ttc" id="astructUDPC__PacketInfo_html_a965f393584d389dc72becd439cafde0d"><div class="ttname"><a href="structUDPC__PacketInfo.html#a965f393584d389dc72becd439cafde0d">UDPC_PacketInfo::receiver</a></div><div class="ttdeci">UDPC_ConnectionId receiver</div><div class="ttdoc">The UDPC_ConnectionId of the receiver.</div><div class="ttdef"><b>Definition:</b> UDPC.h:211</div></div>
+<div class="ttc" id="astructUDPC__PacketInfo_html_ac21cc9beab22eb1e1a2d5c0797ed0fbe"><div class="ttname"><a href="structUDPC__PacketInfo.html#ac21cc9beab22eb1e1a2d5c0797ed0fbe">UDPC_PacketInfo::id</a></div><div class="ttdeci">uint32_t id</div><div class="ttdoc">The packet's id.</div><div class="ttdef"><b>Definition:</b> UDPC.h:196</div></div>
+<div class="ttc" id="astructUDPC__PacketInfo_html_ad538ac2682e8276dc33553237f012ce1"><div class="ttname"><a href="structUDPC__PacketInfo.html#ad538ac2682e8276dc33553237f012ce1">UDPC_PacketInfo::flags</a></div><div class="ttdeci">uint32_t flags</div><div class="ttdoc">Flags indication some additional information about the received packet.</div><div class="ttdef"><b>Definition:</b> UDPC.h:188</div></div>
+<div class="ttc" id="aunionUDPC__Event_1_1Value_html"><div class="ttname"><a href="unionUDPC__Event_1_1Value.html">UDPC_Event::Value</a></div><div class="ttdef"><b>Definition:</b> UDPC.h:257</div></div>
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>