wut/messagequeue_8h_source.html
2020-03-26 16:49:18 +11:00

219 lines
38 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/coreinit/messagequeue.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
&#160;<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&amp;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&amp;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_5050f3de292bd66075be80c4b119f1df.html">coreinit</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">messagequeue.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="messagequeue_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>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="wut_8h.html">wut.h</a>&gt;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="threadqueue_8h.html">threadqueue.h</a>&quot;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160; </div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; </div>
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#ga5af1e2f1c80facaf607d075f500602d5"> 15</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__coreinit__msgq.html#structOSMessage">OSMessage</a> <a class="code" href="group__coreinit__msgq.html#structOSMessage">OSMessage</a>;</div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#ga77ea340777e3ea8fd10d9e8928955ac2"> 16</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a> <a class="code" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a>;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; </div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#ga7f0952f940e3669382cb7a05a02ca9cf"> 18</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="group__coreinit__msgq.html#ga7f0952f940e3669382cb7a05a02ca9cf">OSMessageFlags</a></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;{</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#gga7f0952f940e3669382cb7a05a02ca9cfaf4032074df698d13d986a388cbac1cf2"> 20</a></span>&#160; <a class="code" href="group__coreinit__msgq.html#gga7f0952f940e3669382cb7a05a02ca9cfaf4032074df698d13d986a388cbac1cf2">OS_MESSAGE_FLAGS_NONE</a> = 0,</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#gga7f0952f940e3669382cb7a05a02ca9cfa89fb51d5163956cdf24dfc76f0b944c2"> 21</a></span>&#160; <a class="code" href="group__coreinit__msgq.html#gga7f0952f940e3669382cb7a05a02ca9cfa89fb51d5163956cdf24dfc76f0b944c2">OS_MESSAGE_FLAGS_BLOCKING</a> = 1 &lt;&lt; 0,</div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#gga7f0952f940e3669382cb7a05a02ca9cfa920809408603647e86aa54b7977fbddf"> 22</a></span>&#160; <a class="code" href="group__coreinit__msgq.html#gga7f0952f940e3669382cb7a05a02ca9cfa920809408603647e86aa54b7977fbddf">OS_MESSAGE_FLAGS_HIGH_PRIORITY</a> = 1 &lt;&lt; 1,</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;} <a class="code" href="group__coreinit__msgq.html#ga7f0952f940e3669382cb7a05a02ca9cf">OSMessageFlags</a>;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#gaf6b4af31211f6f04e4039ee8e4613406"> 25</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="group__coreinit__msgq.html#gaf6b4af31211f6f04e4039ee8e4613406">OSFunctionType</a></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;{</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406ac14038e7f52050fa2ddc0bd2a2a936a2"> 27</a></span>&#160; <a class="code" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406ac14038e7f52050fa2ddc0bd2a2a936a2">OS_FUNCTION_TYPE_HIO_OPEN</a> = 1,</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a5971fcf0a0ff46a42d37fd8367de406b"> 28</a></span>&#160; <a class="code" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a5971fcf0a0ff46a42d37fd8367de406b">OS_FUNCTION_TYPE_HIO_READ_ASYNC</a> = 2,</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a7df209dc1e7e076bc8b5daa0dc062677"> 29</a></span>&#160; <a class="code" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a7df209dc1e7e076bc8b5daa0dc062677">OS_FUNCTION_TYPE_HIO_WRITE_ASYNC</a> = 3,</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a115633dceea7ac6cbc3211cee960a41e"> 30</a></span>&#160; <a class="code" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a115633dceea7ac6cbc3211cee960a41e">OS_FUNCTION_TYPE_FSA_CMD_ASYNC</a> = 4,</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a0939e49a08eb54efd650f2f0ab04dd9b"> 31</a></span>&#160; <a class="code" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a0939e49a08eb54efd650f2f0ab04dd9b">OS_FUNCTION_TYPE_FSA_PR_CMD_ASYNC</a> = 5,</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406af443742df69e12fc2137e90cca67c06b"> 32</a></span>&#160; <a class="code" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406af443742df69e12fc2137e90cca67c06b">OS_FUNCTION_TYPE_FSA_PR_CMD_ASYNC_NO_ALLOC</a> = 6,</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a77a9ac9b4aff7b3be2091c24f944d153"> 33</a></span>&#160; <a class="code" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a77a9ac9b4aff7b3be2091c24f944d153">OS_FUNCTION_TYPE_FSA_ATTACH_EVENT</a> = 7,</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a629cc2ddd8b5931150d238bac3c32d3d"> 34</a></span>&#160; <a class="code" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a629cc2ddd8b5931150d238bac3c32d3d">OS_FUNCTION_TYPE_FS_CMD_ASYNC</a> = 8,</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406afa1c13046e0aad67f693cef622b63417"> 35</a></span>&#160; <a class="code" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406afa1c13046e0aad67f693cef622b63417">OS_FUNCTION_TYPE_FS_CMD_HANDLER</a> = 9,</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406aab1e0b6eb43671db6c7f4777c806c0c4"> 36</a></span>&#160; <a class="code" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406aab1e0b6eb43671db6c7f4777c806c0c4">OS_FUNCTION_TYPE_FS_ATTACH_EVENT</a> = 10,</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a4666dad60cddaab707994391935a83e2"> 37</a></span>&#160; <a class="code" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a4666dad60cddaab707994391935a83e2">OS_FUNCTION_TYPE_FS_STATE_CHANGE_EVENT</a> = 11,</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;} <a class="code" href="group__coreinit__msgq.html#gaf6b4af31211f6f04e4039ee8e4613406">OSFunctionType</a>;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html"> 40</a></span>&#160;<span class="keyword">struct </span><a class="code" href="group__coreinit__msgq.html#structOSMessage">OSMessage</a></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;{</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#a44bbc6e0565f3bf548d4deeeaa294247"> 42</a></span>&#160; <span class="keywordtype">void</span> *<a class="code" href="group__coreinit__msgq.html#a44bbc6e0565f3bf548d4deeeaa294247">message</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#a988c3a7b6b5970b44a0ff380cfb78c76"> 43</a></span>&#160; uint32_t <a class="code" href="group__coreinit__msgq.html#a988c3a7b6b5970b44a0ff380cfb78c76">args</a>[3];</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;};</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__msgq.html#structOSMessage">OSMessage</a>, 0x00, message);</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__msgq.html#structOSMessage">OSMessage</a>, 0x04, args);</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;WUT_CHECK_SIZE(<a class="code" href="group__coreinit__msgq.html#structOSMessage">OSMessage</a>, 0x10);</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#gaf73ce215f5737775a2f9e1b2afe65dbd"> 49</a></span>&#160;<span class="preprocessor">#define OS_MESSAGE_QUEUE_TAG 0x6D536751u</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; </div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html"> 51</a></span>&#160;<span class="keyword">struct </span><a class="code" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;{</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#a1c50fcd1195659821729f52af8f3bb7d"> 53</a></span>&#160; uint32_t <a class="code" href="group__coreinit__msgq.html#a1c50fcd1195659821729f52af8f3bb7d">tag</a>;</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#a8f8f80d37794cde9472343e4487ba3eb"> 54</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__coreinit__msgq.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>;</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; WUT_UNKNOWN_BYTES(4);</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#ac9a94ced10ae13d7daf54d98ffdb5d23"> 56</a></span>&#160; <a class="code" href="group__coreinit__threadq.html#structOSThreadQueue">OSThreadQueue</a> <a class="code" href="group__coreinit__msgq.html#ac9a94ced10ae13d7daf54d98ffdb5d23">sendQueue</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#a1254f8038fe0b3deee6612973494cf1d"> 57</a></span>&#160; <a class="code" href="group__coreinit__threadq.html#structOSThreadQueue">OSThreadQueue</a> <a class="code" href="group__coreinit__msgq.html#a1254f8038fe0b3deee6612973494cf1d">recvQueue</a>;</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#a912b287d73eff57c85f462d5f9cc3451"> 58</a></span>&#160; <a class="code" href="group__coreinit__msgq.html#structOSMessage">OSMessage</a> *<a class="code" href="group__coreinit__msgq.html#a912b287d73eff57c85f462d5f9cc3451">messages</a>;</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#ab2c6b258f02add8fdf4cfc7c371dd772"> 59</a></span>&#160; uint32_t <a class="code" href="group__coreinit__msgq.html#ab2c6b258f02add8fdf4cfc7c371dd772">size</a>;</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#a278eb73b0cdb4b6029426dbd091b643f"> 60</a></span>&#160; uint32_t <a class="code" href="group__coreinit__msgq.html#a278eb73b0cdb4b6029426dbd091b643f">first</a>;</div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="group__coreinit__msgq.html#a5e1ebda31e026934b2091d2d0051818a"> 61</a></span>&#160; uint32_t <a class="code" href="group__coreinit__msgq.html#a5e1ebda31e026934b2091d2d0051818a">used</a>;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;};</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a>, 0x00, tag);</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a>, 0x04, name);</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a>, 0x0c, sendQueue);</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a>, 0x1c, recvQueue);</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a>, 0x2c, messages);</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a>, 0x30, size);</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a>, 0x34, first);</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a>, 0x38, used);</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;WUT_CHECK_SIZE(<a class="code" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a>, 0x3c);</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; </div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<a class="code" href="group__coreinit__msgq.html#gad4e853ba00a85db8fcd76f98295b718d">OSInitMessageQueue</a>(<a class="code" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a> *queue,</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <a class="code" href="group__coreinit__msgq.html#structOSMessage">OSMessage</a> *messages,</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; int32_t size);</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<a class="code" href="group__coreinit__msgq.html#ga9957416bbc2f80a6bcd4a5451f42861d">OSInitMessageQueueEx</a>(<a class="code" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a> *queue,</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <a class="code" href="group__coreinit__msgq.html#structOSMessage">OSMessage</a> *messages,</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; int32_t size,</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;<a class="code" href="group__coreinit__msgq.html#ga4bf95b267a8e32c42715dbf31a0da7e6">OSSendMessage</a>(<a class="code" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a> *queue,</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <a class="code" href="group__coreinit__msgq.html#structOSMessage">OSMessage</a> *message,</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <a class="code" href="group__coreinit__msgq.html#ga7f0952f940e3669382cb7a05a02ca9cf">OSMessageFlags</a> flags);</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; </div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<a class="code" href="group__coreinit__msgq.html#ga312ba5bd2e8bffc7988a1173e85492a5">OSReceiveMessage</a>(<a class="code" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a> *queue,</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <a class="code" href="group__coreinit__msgq.html#structOSMessage">OSMessage</a> *message,</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <a class="code" href="group__coreinit__msgq.html#ga7f0952f940e3669382cb7a05a02ca9cf">OSMessageFlags</a> flags);</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<a class="code" href="group__coreinit__msgq.html#gabacf50dc270123f7b10dd474c4ce8782">OSPeekMessage</a>(<a class="code" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a> *queue,</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <a class="code" href="group__coreinit__msgq.html#structOSMessage">OSMessage</a> *message);</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; </div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;<a class="code" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a> *</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<a class="code" href="group__coreinit__msgq.html#ga3c364a7e2b00417fa3bc96bad8f4a6c4">OSGetSystemMessageQueue</a>();</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;}</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; </div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="agroup__coreinit__msgq_html_gaf6b4af31211f6f04e4039ee8e4613406"><div class="ttname"><a href="group__coreinit__msgq.html#gaf6b4af31211f6f04e4039ee8e4613406">OSFunctionType</a></div><div class="ttdeci">OSFunctionType</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00025">messagequeue.h:25</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_ac9a94ced10ae13d7daf54d98ffdb5d23"><div class="ttname"><a href="group__coreinit__msgq.html#ac9a94ced10ae13d7daf54d98ffdb5d23">OSMessageQueue::sendQueue</a></div><div class="ttdeci">OSThreadQueue sendQueue</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00056">messagequeue.h:56</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_gga7f0952f940e3669382cb7a05a02ca9cfa920809408603647e86aa54b7977fbddf"><div class="ttname"><a href="group__coreinit__msgq.html#gga7f0952f940e3669382cb7a05a02ca9cfa920809408603647e86aa54b7977fbddf">OS_MESSAGE_FLAGS_HIGH_PRIORITY</a></div><div class="ttdeci">@ OS_MESSAGE_FLAGS_HIGH_PRIORITY</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00022">messagequeue.h:22</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_ggaf6b4af31211f6f04e4039ee8e4613406aab1e0b6eb43671db6c7f4777c806c0c4"><div class="ttname"><a href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406aab1e0b6eb43671db6c7f4777c806c0c4">OS_FUNCTION_TYPE_FS_ATTACH_EVENT</a></div><div class="ttdeci">@ OS_FUNCTION_TYPE_FS_ATTACH_EVENT</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00036">messagequeue.h:36</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_gga7f0952f940e3669382cb7a05a02ca9cfa89fb51d5163956cdf24dfc76f0b944c2"><div class="ttname"><a href="group__coreinit__msgq.html#gga7f0952f940e3669382cb7a05a02ca9cfa89fb51d5163956cdf24dfc76f0b944c2">OS_MESSAGE_FLAGS_BLOCKING</a></div><div class="ttdeci">@ OS_MESSAGE_FLAGS_BLOCKING</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00021">messagequeue.h:21</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_ga3c364a7e2b00417fa3bc96bad8f4a6c4"><div class="ttname"><a href="group__coreinit__msgq.html#ga3c364a7e2b00417fa3bc96bad8f4a6c4">OSGetSystemMessageQueue</a></div><div class="ttdeci">OSMessageQueue * OSGetSystemMessageQueue()</div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_ga7f0952f940e3669382cb7a05a02ca9cf"><div class="ttname"><a href="group__coreinit__msgq.html#ga7f0952f940e3669382cb7a05a02ca9cf">OSMessageFlags</a></div><div class="ttdeci">OSMessageFlags</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00018">messagequeue.h:18</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_a8f8f80d37794cde9472343e4487ba3eb"><div class="ttname"><a href="group__coreinit__msgq.html#a8f8f80d37794cde9472343e4487ba3eb">OSMessageQueue::name</a></div><div class="ttdeci">const char * name</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00054">messagequeue.h:54</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_structOSMessageQueue"><div class="ttname"><a href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a></div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00051">messagequeue.h:51</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_ggaf6b4af31211f6f04e4039ee8e4613406a115633dceea7ac6cbc3211cee960a41e"><div class="ttname"><a href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a115633dceea7ac6cbc3211cee960a41e">OS_FUNCTION_TYPE_FSA_CMD_ASYNC</a></div><div class="ttdeci">@ OS_FUNCTION_TYPE_FSA_CMD_ASYNC</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00030">messagequeue.h:30</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_a988c3a7b6b5970b44a0ff380cfb78c76"><div class="ttname"><a href="group__coreinit__msgq.html#a988c3a7b6b5970b44a0ff380cfb78c76">OSMessage::args</a></div><div class="ttdeci">uint32_t args[3]</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00043">messagequeue.h:43</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_ab2c6b258f02add8fdf4cfc7c371dd772"><div class="ttname"><a href="group__coreinit__msgq.html#ab2c6b258f02add8fdf4cfc7c371dd772">OSMessageQueue::size</a></div><div class="ttdeci">uint32_t size</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00059">messagequeue.h:59</a></div></div>
<div class="ttc" id="athreadqueue_8h_html"><div class="ttname"><a href="threadqueue_8h.html">threadqueue.h</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_gabacf50dc270123f7b10dd474c4ce8782"><div class="ttname"><a href="group__coreinit__msgq.html#gabacf50dc270123f7b10dd474c4ce8782">OSPeekMessage</a></div><div class="ttdeci">BOOL OSPeekMessage(OSMessageQueue *queue, OSMessage *message)</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="agroup__coreinit__msgq_html_ggaf6b4af31211f6f04e4039ee8e4613406a7df209dc1e7e076bc8b5daa0dc062677"><div class="ttname"><a href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a7df209dc1e7e076bc8b5daa0dc062677">OS_FUNCTION_TYPE_HIO_WRITE_ASYNC</a></div><div class="ttdeci">@ OS_FUNCTION_TYPE_HIO_WRITE_ASYNC</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00029">messagequeue.h:29</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_ga312ba5bd2e8bffc7988a1173e85492a5"><div class="ttname"><a href="group__coreinit__msgq.html#ga312ba5bd2e8bffc7988a1173e85492a5">OSReceiveMessage</a></div><div class="ttdeci">BOOL OSReceiveMessage(OSMessageQueue *queue, OSMessage *message, OSMessageFlags flags)</div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_ga9957416bbc2f80a6bcd4a5451f42861d"><div class="ttname"><a href="group__coreinit__msgq.html#ga9957416bbc2f80a6bcd4a5451f42861d">OSInitMessageQueueEx</a></div><div class="ttdeci">void OSInitMessageQueueEx(OSMessageQueue *queue, OSMessage *messages, int32_t size, const char *name)</div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_a1c50fcd1195659821729f52af8f3bb7d"><div class="ttname"><a href="group__coreinit__msgq.html#a1c50fcd1195659821729f52af8f3bb7d">OSMessageQueue::tag</a></div><div class="ttdeci">uint32_t tag</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00053">messagequeue.h:53</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_a278eb73b0cdb4b6029426dbd091b643f"><div class="ttname"><a href="group__coreinit__msgq.html#a278eb73b0cdb4b6029426dbd091b643f">OSMessageQueue::first</a></div><div class="ttdeci">uint32_t first</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00060">messagequeue.h:60</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_ggaf6b4af31211f6f04e4039ee8e4613406af443742df69e12fc2137e90cca67c06b"><div class="ttname"><a href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406af443742df69e12fc2137e90cca67c06b">OS_FUNCTION_TYPE_FSA_PR_CMD_ASYNC_NO_ALLOC</a></div><div class="ttdeci">@ OS_FUNCTION_TYPE_FSA_PR_CMD_ASYNC_NO_ALLOC</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00032">messagequeue.h:32</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_gga7f0952f940e3669382cb7a05a02ca9cfaf4032074df698d13d986a388cbac1cf2"><div class="ttname"><a href="group__coreinit__msgq.html#gga7f0952f940e3669382cb7a05a02ca9cfaf4032074df698d13d986a388cbac1cf2">OS_MESSAGE_FLAGS_NONE</a></div><div class="ttdeci">@ OS_MESSAGE_FLAGS_NONE</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00020">messagequeue.h:20</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_a5e1ebda31e026934b2091d2d0051818a"><div class="ttname"><a href="group__coreinit__msgq.html#a5e1ebda31e026934b2091d2d0051818a">OSMessageQueue::used</a></div><div class="ttdeci">uint32_t used</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00061">messagequeue.h:61</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_ggaf6b4af31211f6f04e4039ee8e4613406afa1c13046e0aad67f693cef622b63417"><div class="ttname"><a href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406afa1c13046e0aad67f693cef622b63417">OS_FUNCTION_TYPE_FS_CMD_HANDLER</a></div><div class="ttdeci">@ OS_FUNCTION_TYPE_FS_CMD_HANDLER</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00035">messagequeue.h:35</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_ga4bf95b267a8e32c42715dbf31a0da7e6"><div class="ttname"><a href="group__coreinit__msgq.html#ga4bf95b267a8e32c42715dbf31a0da7e6">OSSendMessage</a></div><div class="ttdeci">BOOL OSSendMessage(OSMessageQueue *queue, OSMessage *message, OSMessageFlags flags)</div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_a44bbc6e0565f3bf548d4deeeaa294247"><div class="ttname"><a href="group__coreinit__msgq.html#a44bbc6e0565f3bf548d4deeeaa294247">OSMessage::message</a></div><div class="ttdeci">void * message</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00042">messagequeue.h:42</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_ggaf6b4af31211f6f04e4039ee8e4613406a0939e49a08eb54efd650f2f0ab04dd9b"><div class="ttname"><a href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a0939e49a08eb54efd650f2f0ab04dd9b">OS_FUNCTION_TYPE_FSA_PR_CMD_ASYNC</a></div><div class="ttdeci">@ OS_FUNCTION_TYPE_FSA_PR_CMD_ASYNC</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00031">messagequeue.h:31</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_ggaf6b4af31211f6f04e4039ee8e4613406a77a9ac9b4aff7b3be2091c24f944d153"><div class="ttname"><a href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a77a9ac9b4aff7b3be2091c24f944d153">OS_FUNCTION_TYPE_FSA_ATTACH_EVENT</a></div><div class="ttdeci">@ OS_FUNCTION_TYPE_FSA_ATTACH_EVENT</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00033">messagequeue.h:33</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_ggaf6b4af31211f6f04e4039ee8e4613406a5971fcf0a0ff46a42d37fd8367de406b"><div class="ttname"><a href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a5971fcf0a0ff46a42d37fd8367de406b">OS_FUNCTION_TYPE_HIO_READ_ASYNC</a></div><div class="ttdeci">@ OS_FUNCTION_TYPE_HIO_READ_ASYNC</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00028">messagequeue.h:28</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_gad4e853ba00a85db8fcd76f98295b718d"><div class="ttname"><a href="group__coreinit__msgq.html#gad4e853ba00a85db8fcd76f98295b718d">OSInitMessageQueue</a></div><div class="ttdeci">void OSInitMessageQueue(OSMessageQueue *queue, OSMessage *messages, int32_t size)</div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_ggaf6b4af31211f6f04e4039ee8e4613406a4666dad60cddaab707994391935a83e2"><div class="ttname"><a href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a4666dad60cddaab707994391935a83e2">OS_FUNCTION_TYPE_FS_STATE_CHANGE_EVENT</a></div><div class="ttdeci">@ OS_FUNCTION_TYPE_FS_STATE_CHANGE_EVENT</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00037">messagequeue.h:37</a></div></div>
<div class="ttc" id="awut__types_8h_html_a975dbe9e4396bf9e0064ce01827fa372"><div class="ttname"><a href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div><div class="ttdeci">int32_t BOOL</div><div class="ttdef"><b>Definition:</b> <a href="wut__types_8h_source.html#l00004">wut_types.h:4</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_ggaf6b4af31211f6f04e4039ee8e4613406ac14038e7f52050fa2ddc0bd2a2a936a2"><div class="ttname"><a href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406ac14038e7f52050fa2ddc0bd2a2a936a2">OS_FUNCTION_TYPE_HIO_OPEN</a></div><div class="ttdeci">@ OS_FUNCTION_TYPE_HIO_OPEN</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00027">messagequeue.h:27</a></div></div>
<div class="ttc" id="agroup__coreinit__threadq_html_structOSThreadQueue"><div class="ttname"><a href="group__coreinit__threadq.html#structOSThreadQueue">OSThreadQueue</a></div><div class="ttdef"><b>Definition:</b> <a href="threadqueue_8h_source.html#l00029">threadqueue.h:29</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_a912b287d73eff57c85f462d5f9cc3451"><div class="ttname"><a href="group__coreinit__msgq.html#a912b287d73eff57c85f462d5f9cc3451">OSMessageQueue::messages</a></div><div class="ttdeci">OSMessage * messages</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00058">messagequeue.h:58</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_a1254f8038fe0b3deee6612973494cf1d"><div class="ttname"><a href="group__coreinit__msgq.html#a1254f8038fe0b3deee6612973494cf1d">OSMessageQueue::recvQueue</a></div><div class="ttdeci">OSThreadQueue recvQueue</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00057">messagequeue.h:57</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_ggaf6b4af31211f6f04e4039ee8e4613406a629cc2ddd8b5931150d238bac3c32d3d"><div class="ttname"><a href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a629cc2ddd8b5931150d238bac3c32d3d">OS_FUNCTION_TYPE_FS_CMD_ASYNC</a></div><div class="ttdeci">@ OS_FUNCTION_TYPE_FS_CMD_ASYNC</div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00034">messagequeue.h:34</a></div></div>
<div class="ttc" id="agroup__coreinit__msgq_html_structOSMessage"><div class="ttname"><a href="group__coreinit__msgq.html#structOSMessage">OSMessage</a></div><div class="ttdef"><b>Definition:</b> <a href="messagequeue_8h_source.html#l00040">messagequeue.h:40</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>