mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-08 15:10:41 +01:00
98 lines
19 KiB
HTML
98 lines
19 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.14"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>wut: include/nn/ac/ac_cpp.h Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">wut
|
|
 <span id="projectnumber">1.0.0-alpha</span>
|
|
</div>
|
|
<div id="projectbrief">Wii U Toolchain</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.14 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_21654543a2358a4ff233772f5085c61f.html">nn</a></li><li class="navelem"><a class="el" href="dir_85f7374b03564f691ef77d9a414e4430.html">ac</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">ac_cpp.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="ac__cpp_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include <<a class="code" href="wut_8h.html">wut.h</a>></span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include <<a class="code" href="nn_2result_8h.html">nn/result.h</a>></span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div><div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="namespacenn.html"> 13</a></span> <span class="keyword">namespace </span><a class="code" href="namespacenn.html">nn</a></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> {</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="namespacenn_1_1ac.html"> 15</a></span> <span class="keyword">namespace </span>ac</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> {</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="namespacenn_1_1ac.html#a5bacb2d46ed8fa98f8dc634297f214c0"> 18</a></span> <span class="keyword">typedef</span> uint32_t <a class="code" href="namespacenn_1_1ac.html#a5bacb2d46ed8fa98f8dc634297f214c0">ConfigIdNum</a>;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="namespacenn_1_1ac_1_1detail.html"> 20</a></span> <span class="keyword">namespace </span>detail</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> {</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> {</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <a class="code" href="classnn_1_1Result.html">nn::Result</a> <a class="code" href="namespacenn_1_1ac_1_1detail.html#aa75b1cfaca80c7b9425f1b72f8fb8e20">Initialize__Q2_2nn2acFv</a>();</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keywordtype">void</span> <a class="code" href="namespacenn_1_1ac_1_1detail.html#a7505876f69bc002fefcebd757f460a34">Finalize__Q2_2nn2acFv</a>();</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <a class="code" href="classnn_1_1Result.html">nn::Result</a> <a class="code" href="namespacenn_1_1ac_1_1detail.html#afb11c27a946975d0eb0930aa542aeb6b">GetStartupId__Q2_2nn2acFPQ3_2nn2ac11ConfigIdNum</a>(<a class="code" href="namespacenn_1_1ac.html#a5bacb2d46ed8fa98f8dc634297f214c0">ConfigIdNum</a> *<span class="keywordtype">id</span>);</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <a class="code" href="classnn_1_1Result.html">nn::Result</a> <a class="code" href="namespacenn_1_1ac_1_1detail.html#abc5accc921b941243e7258fdd40a9e21">Connect__Q2_2nn2acFQ3_2nn2ac11ConfigIdNum</a>(<a class="code" href="namespacenn_1_1ac.html#a5bacb2d46ed8fa98f8dc634297f214c0">ConfigIdNum</a> <span class="keywordtype">id</span>);</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <a class="code" href="classnn_1_1Result.html">nn::Result</a> <a class="code" href="namespacenn_1_1ac_1_1detail.html#a55bd3329d45c0f746ff4227506a26c27">GetAssignedAddress__Q2_2nn2acFPUl</a>(uint32_t *ip);</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> } <span class="comment">// extern "C"</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> } <span class="comment">// namespace detail</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="classnn_1_1Result.html">nn::Result</a></div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="namespacenn_1_1ac.html#ac53ccf07af2b6a1ac33d065499677f49"> 39</a></span> <a class="code" href="namespacenn_1_1ac.html#ac53ccf07af2b6a1ac33d065499677f49">Initialize</a>()</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> {</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordflow">return</span> <a class="code" href="namespacenn_1_1ac_1_1detail.html#aa75b1cfaca80c7b9425f1b72f8fb8e20">detail::Initialize__Q2_2nn2acFv</a>();</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> }</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span></div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="namespacenn_1_1ac.html#aad222ee462945359df6feee2ed285627"> 49</a></span> <a class="code" href="namespacenn_1_1ac.html#aad222ee462945359df6feee2ed285627">Finalize</a>()</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> {</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordflow">return</span> <a class="code" href="namespacenn_1_1ac_1_1detail.html#a7505876f69bc002fefcebd757f460a34">detail::Finalize__Q2_2nn2acFv</a>();</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> }</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="classnn_1_1Result.html">nn::Result</a></div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="namespacenn_1_1ac.html#abd7a2fdb9a2c1043f5cf4bb7f5c94eb8"> 59</a></span> <a class="code" href="namespacenn_1_1ac.html#abd7a2fdb9a2c1043f5cf4bb7f5c94eb8">GetStartupId</a>(<a class="code" href="namespacenn_1_1ac.html#a5bacb2d46ed8fa98f8dc634297f214c0">ConfigIdNum</a> *<span class="keywordtype">id</span>)</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> {</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">return</span> <a class="code" href="namespacenn_1_1ac_1_1detail.html#afb11c27a946975d0eb0930aa542aeb6b">detail::GetStartupId__Q2_2nn2acFPQ3_2nn2ac11ConfigIdNum</a>(<span class="keywordtype">id</span>);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> }</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="classnn_1_1Result.html">nn::Result</a></div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="namespacenn_1_1ac.html#ad140c53f4fc92991b05a63fdb2eef434"> 69</a></span> <a class="code" href="namespacenn_1_1ac.html#ad140c53f4fc92991b05a63fdb2eef434">Connect</a>(<a class="code" href="namespacenn_1_1ac.html#a5bacb2d46ed8fa98f8dc634297f214c0">ConfigIdNum</a> <span class="keywordtype">id</span>)</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> {</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">return</span> <a class="code" href="namespacenn_1_1ac_1_1detail.html#abc5accc921b941243e7258fdd40a9e21">detail::Connect__Q2_2nn2acFQ3_2nn2ac11ConfigIdNum</a>(<span class="keywordtype">id</span>);</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> }</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="classnn_1_1Result.html">nn::Result</a></div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="namespacenn_1_1ac.html#a7ed262623e6936e9a94c25c2310545fa"> 79</a></span> <a class="code" href="namespacenn_1_1ac.html#a7ed262623e6936e9a94c25c2310545fa">GetAssignedAddress</a>(uint32_t *ip)</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> {</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">return</span> <a class="code" href="namespacenn_1_1ac_1_1detail.html#a55bd3329d45c0f746ff4227506a26c27">detail::GetAssignedAddress__Q2_2nn2acFPUl</a>(ip);</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> }</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> } <span class="comment">// namespace ac</span></div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> } <span class="comment">// namespace nn</span></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="preprocessor">#endif // ifdef __cplusplus</span></div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="ttc" id="classnn_1_1Result_html"><div class="ttname"><a href="classnn_1_1Result.html">nn::Result</a></div><div class="ttdoc">Result value type used by nn libraries. </div><div class="ttdef"><b>Definition:</b> <a href="nn_2result_8h_source.html#l00038">result.h:38</a></div></div>
|
|
<div class="ttc" id="namespacenn_html"><div class="ttname"><a href="namespacenn.html">nn</a></div><div class="ttdef"><b>Definition:</b> <a href="ac__cpp_8h_source.html#l00013">ac_cpp.h:13</a></div></div>
|
|
<div class="ttc" id="namespacenn_1_1ac_1_1detail_html_aa75b1cfaca80c7b9425f1b72f8fb8e20"><div class="ttname"><a href="namespacenn_1_1ac_1_1detail.html#aa75b1cfaca80c7b9425f1b72f8fb8e20">nn::ac::detail::Initialize__Q2_2nn2acFv</a></div><div class="ttdeci">nn::Result Initialize__Q2_2nn2acFv()</div></div>
|
|
<div class="ttc" id="namespacenn_1_1ac_html_ad140c53f4fc92991b05a63fdb2eef434"><div class="ttname"><a href="namespacenn_1_1ac.html#ad140c53f4fc92991b05a63fdb2eef434">nn::ac::Connect</a></div><div class="ttdeci">static nn::Result Connect(ConfigIdNum id)</div><div class="ttdoc">Connect to configuration id. </div><div class="ttdef"><b>Definition:</b> <a href="ac__cpp_8h_source.html#l00069">ac_cpp.h:69</a></div></div>
|
|
<div class="ttc" id="namespacenn_1_1ac_html_a7ed262623e6936e9a94c25c2310545fa"><div class="ttname"><a href="namespacenn_1_1ac.html#a7ed262623e6936e9a94c25c2310545fa">nn::ac::GetAssignedAddress</a></div><div class="ttdeci">static nn::Result GetAssignedAddress(uint32_t *ip)</div><div class="ttdoc">Get the IP address of the current connection. </div><div class="ttdef"><b>Definition:</b> <a href="ac__cpp_8h_source.html#l00079">ac_cpp.h:79</a></div></div>
|
|
<div class="ttc" id="namespacenn_1_1ac_html_ac53ccf07af2b6a1ac33d065499677f49"><div class="ttname"><a href="namespacenn_1_1ac.html#ac53ccf07af2b6a1ac33d065499677f49">nn::ac::Initialize</a></div><div class="ttdeci">static nn::Result Initialize()</div><div class="ttdoc">Initialise the nn_ac library. </div><div class="ttdef"><b>Definition:</b> <a href="ac__cpp_8h_source.html#l00039">ac_cpp.h:39</a></div></div>
|
|
<div class="ttc" id="namespacenn_1_1ac_html_aad222ee462945359df6feee2ed285627"><div class="ttname"><a href="namespacenn_1_1ac.html#aad222ee462945359df6feee2ed285627">nn::ac::Finalize</a></div><div class="ttdeci">static void Finalize()</div><div class="ttdoc">Finalise the nn_ac library. </div><div class="ttdef"><b>Definition:</b> <a href="ac__cpp_8h_source.html#l00049">ac_cpp.h:49</a></div></div>
|
|
<div class="ttc" id="namespacenn_1_1ac_1_1detail_html_abc5accc921b941243e7258fdd40a9e21"><div class="ttname"><a href="namespacenn_1_1ac_1_1detail.html#abc5accc921b941243e7258fdd40a9e21">nn::ac::detail::Connect__Q2_2nn2acFQ3_2nn2ac11ConfigIdNum</a></div><div class="ttdeci">nn::Result Connect__Q2_2nn2acFQ3_2nn2ac11ConfigIdNum(ConfigIdNum id)</div></div>
|
|
<div class="ttc" id="namespacenn_1_1ac_1_1detail_html_afb11c27a946975d0eb0930aa542aeb6b"><div class="ttname"><a href="namespacenn_1_1ac_1_1detail.html#afb11c27a946975d0eb0930aa542aeb6b">nn::ac::detail::GetStartupId__Q2_2nn2acFPQ3_2nn2ac11ConfigIdNum</a></div><div class="ttdeci">nn::Result GetStartupId__Q2_2nn2acFPQ3_2nn2ac11ConfigIdNum(ConfigIdNum *id)</div></div>
|
|
<div class="ttc" id="wut_8h_html"><div class="ttname"><a href="wut_8h.html">wut.h</a></div></div>
|
|
<div class="ttc" id="namespacenn_1_1ac_1_1detail_html_a7505876f69bc002fefcebd757f460a34"><div class="ttname"><a href="namespacenn_1_1ac_1_1detail.html#a7505876f69bc002fefcebd757f460a34">nn::ac::detail::Finalize__Q2_2nn2acFv</a></div><div class="ttdeci">void Finalize__Q2_2nn2acFv()</div></div>
|
|
<div class="ttc" id="namespacenn_1_1ac_1_1detail_html_a55bd3329d45c0f746ff4227506a26c27"><div class="ttname"><a href="namespacenn_1_1ac_1_1detail.html#a55bd3329d45c0f746ff4227506a26c27">nn::ac::detail::GetAssignedAddress__Q2_2nn2acFPUl</a></div><div class="ttdeci">nn::Result GetAssignedAddress__Q2_2nn2acFPUl(uint32_t *ip)</div></div>
|
|
<div class="ttc" id="namespacenn_1_1ac_html_a5bacb2d46ed8fa98f8dc634297f214c0"><div class="ttname"><a href="namespacenn_1_1ac.html#a5bacb2d46ed8fa98f8dc634297f214c0">nn::ac::ConfigIdNum</a></div><div class="ttdeci">uint32_t ConfigIdNum</div><div class="ttdef"><b>Definition:</b> <a href="ac__cpp_8h_source.html#l00018">ac_cpp.h:18</a></div></div>
|
|
<div class="ttc" id="nn_2result_8h_html"><div class="ttname"><a href="nn_2result_8h.html">result.h</a></div></div>
|
|
<div class="ttc" id="namespacenn_1_1ac_html_abd7a2fdb9a2c1043f5cf4bb7f5c94eb8"><div class="ttname"><a href="namespacenn_1_1ac.html#abd7a2fdb9a2c1043f5cf4bb7f5c94eb8">nn::ac::GetStartupId</a></div><div class="ttdeci">static nn::Result GetStartupId(ConfigIdNum *id)</div><div class="ttdoc">Get the default connection configuration id. </div><div class="ttdef"><b>Definition:</b> <a href="ac__cpp_8h_source.html#l00059">ac_cpp.h:59</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.14
|
|
</small></address>
|
|
</body>
|
|
</html>
|