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

169 lines
14 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 File Reference</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="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">messagequeue.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="wut_8h_source.html">wut.h</a>&gt;</code><br />
<code>#include &quot;<a class="el" href="threadqueue_8h_source.html">threadqueue.h</a>&quot;</code><br />
</div>
<p><a href="messagequeue_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:structOSMessage"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__msgq.html#structOSMessage">OSMessage</a></td></tr>
<tr class="separator:structOSMessage"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structOSMessageQueue"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a></td></tr>
<tr class="separator:structOSMessageQueue"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gaf73ce215f5737775a2f9e1b2afe65dbd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__msgq.html#gaf73ce215f5737775a2f9e1b2afe65dbd">OS_MESSAGE_QUEUE_TAG</a>&#160;&#160;&#160;0x6D536751u</td></tr>
<tr class="separator:gaf73ce215f5737775a2f9e1b2afe65dbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga5af1e2f1c80facaf607d075f500602d5"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__coreinit__msgq.html#structOSMessage">OSMessage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__msgq.html#ga5af1e2f1c80facaf607d075f500602d5">OSMessage</a></td></tr>
<tr class="separator:ga5af1e2f1c80facaf607d075f500602d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga77ea340777e3ea8fd10d9e8928955ac2"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__msgq.html#ga77ea340777e3ea8fd10d9e8928955ac2">OSMessageQueue</a></td></tr>
<tr class="separator:ga77ea340777e3ea8fd10d9e8928955ac2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaddeb69de5f37018f08973fc15da2955a"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__coreinit__msgq.html#ga7f0952f940e3669382cb7a05a02ca9cf">OSMessageFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__msgq.html#gaddeb69de5f37018f08973fc15da2955a">OSMessageFlags</a></td></tr>
<tr class="separator:gaddeb69de5f37018f08973fc15da2955a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6ed0f4d6b626fea88b7f97e0448e12ea"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__coreinit__msgq.html#gaf6b4af31211f6f04e4039ee8e4613406">OSFunctionType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__msgq.html#ga6ed0f4d6b626fea88b7f97e0448e12ea">OSFunctionType</a></td></tr>
<tr class="separator:ga6ed0f4d6b626fea88b7f97e0448e12ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga7f0952f940e3669382cb7a05a02ca9cf"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__msgq.html#ga7f0952f940e3669382cb7a05a02ca9cf">OSMessageFlags</a> { <br />
&#160;&#160;<a class="el" href="group__coreinit__msgq.html#gga7f0952f940e3669382cb7a05a02ca9cfaf4032074df698d13d986a388cbac1cf2">OS_MESSAGE_FLAGS_NONE</a> = 0,
<br />
&#160;&#160;<a class="el" href="group__coreinit__msgq.html#gga7f0952f940e3669382cb7a05a02ca9cfa89fb51d5163956cdf24dfc76f0b944c2">OS_MESSAGE_FLAGS_BLOCKING</a> = 1 &lt;&lt; 0,
<br />
&#160;&#160;<a class="el" href="group__coreinit__msgq.html#gga7f0952f940e3669382cb7a05a02ca9cfa920809408603647e86aa54b7977fbddf">OS_MESSAGE_FLAGS_HIGH_PRIORITY</a> = 1 &lt;&lt; 1
<br />
}</td></tr>
<tr class="separator:ga7f0952f940e3669382cb7a05a02ca9cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf6b4af31211f6f04e4039ee8e4613406"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__msgq.html#gaf6b4af31211f6f04e4039ee8e4613406">OSFunctionType</a> { <br />
&#160;&#160;<a class="el" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406ac14038e7f52050fa2ddc0bd2a2a936a2">OS_FUNCTION_TYPE_HIO_OPEN</a> = 1,
<br />
&#160;&#160;<a class="el" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a5971fcf0a0ff46a42d37fd8367de406b">OS_FUNCTION_TYPE_HIO_READ_ASYNC</a> = 2,
<br />
&#160;&#160;<a class="el" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a7df209dc1e7e076bc8b5daa0dc062677">OS_FUNCTION_TYPE_HIO_WRITE_ASYNC</a> = 3,
<br />
&#160;&#160;<a class="el" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a115633dceea7ac6cbc3211cee960a41e">OS_FUNCTION_TYPE_FSA_CMD_ASYNC</a> = 4,
<br />
&#160;&#160;<a class="el" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a0939e49a08eb54efd650f2f0ab04dd9b">OS_FUNCTION_TYPE_FSA_PR_CMD_ASYNC</a> = 5,
<br />
&#160;&#160;<a class="el" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406af443742df69e12fc2137e90cca67c06b">OS_FUNCTION_TYPE_FSA_PR_CMD_ASYNC_NO_ALLOC</a> = 6,
<br />
&#160;&#160;<a class="el" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a77a9ac9b4aff7b3be2091c24f944d153">OS_FUNCTION_TYPE_FSA_ATTACH_EVENT</a> = 7,
<br />
&#160;&#160;<a class="el" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a629cc2ddd8b5931150d238bac3c32d3d">OS_FUNCTION_TYPE_FS_CMD_ASYNC</a> = 8,
<br />
&#160;&#160;<a class="el" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406afa1c13046e0aad67f693cef622b63417">OS_FUNCTION_TYPE_FS_CMD_HANDLER</a> = 9,
<br />
&#160;&#160;<a class="el" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406aab1e0b6eb43671db6c7f4777c806c0c4">OS_FUNCTION_TYPE_FS_ATTACH_EVENT</a> = 10,
<br />
&#160;&#160;<a class="el" href="group__coreinit__msgq.html#ggaf6b4af31211f6f04e4039ee8e4613406a4666dad60cddaab707994391935a83e2">OS_FUNCTION_TYPE_FS_STATE_CHANGE_EVENT</a> = 11
<br />
}</td></tr>
<tr class="separator:gaf6b4af31211f6f04e4039ee8e4613406"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gad4e853ba00a85db8fcd76f98295b718d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__msgq.html#gad4e853ba00a85db8fcd76f98295b718d">OSInitMessageQueue</a> (<a class="el" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a> *queue, <a class="el" href="group__coreinit__msgq.html#structOSMessage">OSMessage</a> *messages, int32_t size)</td></tr>
<tr class="separator:gad4e853ba00a85db8fcd76f98295b718d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9957416bbc2f80a6bcd4a5451f42861d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__msgq.html#ga9957416bbc2f80a6bcd4a5451f42861d">OSInitMessageQueueEx</a> (<a class="el" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a> *queue, <a class="el" href="group__coreinit__msgq.html#structOSMessage">OSMessage</a> *messages, int32_t size, const char *name)</td></tr>
<tr class="separator:ga9957416bbc2f80a6bcd4a5451f42861d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4bf95b267a8e32c42715dbf31a0da7e6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__msgq.html#ga4bf95b267a8e32c42715dbf31a0da7e6">OSSendMessage</a> (<a class="el" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a> *queue, <a class="el" href="group__coreinit__msgq.html#structOSMessage">OSMessage</a> *message, <a class="el" href="group__coreinit__msgq.html#ga7f0952f940e3669382cb7a05a02ca9cf">OSMessageFlags</a> flags)</td></tr>
<tr class="separator:ga4bf95b267a8e32c42715dbf31a0da7e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga312ba5bd2e8bffc7988a1173e85492a5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__msgq.html#ga312ba5bd2e8bffc7988a1173e85492a5">OSReceiveMessage</a> (<a class="el" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a> *queue, <a class="el" href="group__coreinit__msgq.html#structOSMessage">OSMessage</a> *message, <a class="el" href="group__coreinit__msgq.html#ga7f0952f940e3669382cb7a05a02ca9cf">OSMessageFlags</a> flags)</td></tr>
<tr class="separator:ga312ba5bd2e8bffc7988a1173e85492a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabacf50dc270123f7b10dd474c4ce8782"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__msgq.html#gabacf50dc270123f7b10dd474c4ce8782">OSPeekMessage</a> (<a class="el" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a> *queue, <a class="el" href="group__coreinit__msgq.html#structOSMessage">OSMessage</a> *message)</td></tr>
<tr class="separator:gabacf50dc270123f7b10dd474c4ce8782"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3c364a7e2b00417fa3bc96bad8f4a6c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__msgq.html#structOSMessageQueue">OSMessageQueue</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__msgq.html#ga3c364a7e2b00417fa3bc96bad8f4a6c4">OSGetSystemMessageQueue</a> ()</td></tr>
<tr class="separator:ga3c364a7e2b00417fa3bc96bad8f4a6c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- 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>