mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:04:16 +01:00
161 lines
19 KiB
HTML
161 lines
19 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>wut: /home/ash/Code/wut2/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-beta9</span>
|
|
</div>
|
|
<div id="projectbrief">Wii U Toolchain</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<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="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  </div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="namespacenn.html"> 14</a></span> <span class="keyword">namespace </span><a class="code" href="namespacenn.html">nn</a></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> {</div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="namespacenn_1_1ac.html"> 20</a></span> <span class="keyword">namespace </span>ac</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>  </div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="namespacenn_1_1ac.html#a5bacb2d46ed8fa98f8dc634297f214c0"> 27</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="l00028"></a><span class="lineno"> 28</span>  </div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="namespacenn_1_1ac_1_1detail.html"> 34</a></span> <span class="keyword">namespace </span>detail</div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span></div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> {</div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</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="l00040"></a><span class="lineno"> 40</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="l00041"></a><span class="lineno"> 41</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="l00042"></a><span class="lineno"> 42</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="l00043"></a><span class="lineno"> 43</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="l00044"></a><span class="lineno"> 44</span>  </div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> } <span class="comment">// extern "C"</span></div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> } <span class="comment">// namespace detail</span></div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</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="l00060"></a><span class="lineno"><a class="line" href="namespacenn_1_1ac.html#ac53ccf07af2b6a1ac33d065499677f49"> 60</a></span> <a class="code" href="namespacenn_1_1ac.html#ac53ccf07af2b6a1ac33d065499677f49">Initialize</a>()</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> {</div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</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="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="l00072"></a><span class="lineno"> 72</span> <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="namespacenn_1_1ac.html#aad222ee462945359df6feee2ed285627"> 73</a></span> <a class="code" href="namespacenn_1_1ac.html#aad222ee462945359df6feee2ed285627">Finalize</a>()</div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> {</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</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="l00076"></a><span class="lineno"> 76</span> }</div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  </div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</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="l00092"></a><span class="lineno"><a class="line" href="namespacenn_1_1ac.html#abd7a2fdb9a2c1043f5cf4bb7f5c94eb8"> 92</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="l00093"></a><span class="lineno"> 93</span> {</div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</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="l00095"></a><span class="lineno"> 95</span> }</div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</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="l00109"></a><span class="lineno"><a class="line" href="namespacenn_1_1ac.html#ad140c53f4fc92991b05a63fdb2eef434"> 109</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="l00110"></a><span class="lineno"> 110</span> {</div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</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="l00112"></a><span class="lineno"> 112</span> }</div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  </div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</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="l00127"></a><span class="lineno"><a class="line" href="namespacenn_1_1ac.html#a7ed262623e6936e9a94c25c2310545fa"> 127</a></span> <a class="code" href="namespacenn_1_1ac.html#a7ed262623e6936e9a94c25c2310545fa">GetAssignedAddress</a>(uint32_t *ip)</div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> {</div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</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="l00130"></a><span class="lineno"> 130</span> }</div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  </div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> } <span class="comment">// namespace ac</span></div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> } <span class="comment">// namespace nn</span></div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  </div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="preprocessor">#endif // ifdef __cplusplus</span></div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  </div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="anamespacenn_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 Auto Connect library.</div><div class="ttdef"><b>Definition:</b> <a href="ac__cpp_8h_source.html#l00060">ac_cpp.h:60</a></div></div>
|
|
<div class="ttc" id="anamespacenn_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">Connects to a network, using the configuration represented by the given ConfigIdNum.</div><div class="ttdef"><b>Definition:</b> <a href="ac__cpp_8h_source.html#l00109">ac_cpp.h:109</a></div></div>
|
|
<div class="ttc" id="anamespacenn_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">Cleanup the Auto Connect library.</div><div class="ttdef"><b>Definition:</b> <a href="ac__cpp_8h_source.html#l00073">ac_cpp.h:73</a></div></div>
|
|
<div class="ttc" id="awut_8h_html"><div class="ttname"><a href="wut_8h.html">wut.h</a></div></div>
|
|
<div class="ttc" id="anamespacenn_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="anamespacenn_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="anamespacenn_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="anamespacenn_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="ttdoc">An ID number representing a network configuration.</div><div class="ttdef"><b>Definition:</b> <a href="ac__cpp_8h_source.html#l00027">ac_cpp.h:27</a></div></div>
|
|
<div class="ttc" id="aclassnn_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#l00067">result.h:67</a></div></div>
|
|
<div class="ttc" id="anamespacenn_html"><div class="ttname"><a href="namespacenn.html">nn</a></div><div class="ttdef"><b>Definition:</b> <a href="ac__cpp_8h_source.html#l00014">ac_cpp.h:14</a></div></div>
|
|
<div class="ttc" id="anamespacenn_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">Gets the default connection configuration id.</div><div class="ttdef"><b>Definition:</b> <a href="ac__cpp_8h_source.html#l00092">ac_cpp.h:92</a></div></div>
|
|
<div class="ttc" id="ann_2result_8h_html"><div class="ttname"><a href="nn_2result_8h.html">result.h</a></div></div>
|
|
<div class="ttc" id="anamespacenn_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="anamespacenn_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">Gets the IP address assosciated with the currently active connection.</div><div class="ttdef"><b>Definition:</b> <a href="ac__cpp_8h_source.html#l00127">ac_cpp.h:127</a></div></div>
|
|
<div class="ttc" id="anamespacenn_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>
|
|
<!-- 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.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|