Files
wut/ipcbufpool_8h.html
2026-02-21 12:43:12 +00:00

547 lines
28 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" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wut: /home/runner/work/wut/wut/include/coreinit/ipcbufpool.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 id="projectrow">
<td id="projectalign">
<div id="projectname">wut<span id="projectnumber">&#160;v1.9.1</span>
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</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="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">ipcbufpool.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="ios_8h_source.html">ios.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="mutex_8h_source.html">mutex.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for ipcbufpool.h:</div>
<div class="dyncontent">
<div class="center"><img src="ipcbufpool_8h__incl.png" border="0" usemap="#a_2home_2runner_2work_2wut_2wut_2include_2coreinit_2ipcbufpool_8h" alt=""/></div>
<map name="a_2home_2runner_2work_2wut_2wut_2include_2coreinit_2ipcbufpool_8h" id="a_2home_2runner_2work_2wut_2wut_2include_2coreinit_2ipcbufpool_8h">
<area shape="rect" title=" " alt="" coords="83,5,257,60"/>
<area shape="rect" href="wut_8h.html" title=" " alt="" coords="179,255,238,280"/>
<area shape="poly" title=" " alt="" coords="158,61,145,92,135,129,132,168,134,187,140,205,156,228,177,245,173,249,152,231,136,208,129,189,126,168,129,128,140,90,153,59"/>
<area shape="rect" href="ios_8h.html" title=" " alt="" coords="150,181,203,207"/>
<area shape="poly" title=" " alt="" coords="174,60,178,168,173,168,168,60"/>
<area shape="rect" href="mutex_8h.html" title=" " alt="" coords="208,108,284,133"/>
<area shape="poly" title=" " alt="" coords="195,58,229,96,225,99,191,62"/>
<area shape="rect" title=" " alt="" coords="6,328,134,353"/>
<area shape="poly" title=" " alt="" coords="188,282,106,324,104,319,185,278"/>
<area shape="rect" href="wut__types_8h.html" title=" " alt="" coords="158,328,259,353"/>
<area shape="poly" title=" " alt="" coords="211,280,211,314,206,314,206,280"/>
<area shape="rect" href="wut__rplwrap_8h.html" title=" " alt="" coords="283,328,398,353"/>
<area shape="poly" title=" " alt="" coords="231,278,308,319,306,324,229,282"/>
<area shape="rect" title=" " alt="" coords="5,401,92,427"/>
<area shape="poly" title=" " alt="" coords="184,356,88,398,86,393,182,351"/>
<area shape="rect" title=" " alt="" coords="117,401,199,427"/>
<area shape="poly" title=" " alt="" coords="202,355,176,392,172,389,198,352"/>
<area shape="rect" title=" " alt="" coords="223,401,298,427"/>
<area shape="poly" title=" " alt="" coords="219,352,246,389,242,392,215,355"/>
<area shape="rect" title=" " alt="" coords="323,401,393,427"/>
<area shape="poly" title=" " alt="" coords="234,351,322,393,320,398,232,356"/>
<area shape="poly" title=" " alt="" coords="184,206,200,241,196,243,180,208"/>
<area shape="poly" title=" " alt="" coords="246,134,218,242,212,241,240,133"/>
<area shape="rect" href="threadqueue_8h.html" title=" " alt="" coords="279,181,395,207"/>
<area shape="poly" title=" " alt="" coords="262,131,313,170,309,175,259,135"/>
<area shape="poly" title=" " alt="" coords="317,209,243,250,241,245,315,204"/>
</map>
</div>
</div>
<p><a href="ipcbufpool_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 id="nested-classes" name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:structIPCBufPoolFIFO" id="r_structIPCBufPoolFIFO"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ipcbufpool_8h.html#structIPCBufPoolFIFO">IPCBufPoolFIFO</a></td></tr>
<tr class="memdesc:structIPCBufPoolFIFO"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIFO queue for <a class="el" href="ipcbufpool_8h.html#structIPCBufPool" title="A simple message buffer pool used for IPC communication.">IPCBufPool</a>. <a href="ipcbufpool_8h.html#structIPCBufPoolFIFO">More...</a><br /></td></tr>
<tr class="separator:structIPCBufPoolFIFO"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structIPCBufPoolAttributes" id="r_structIPCBufPoolAttributes"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ipcbufpool_8h.html#structIPCBufPoolAttributes">IPCBufPoolAttributes</a></td></tr>
<tr class="memdesc:structIPCBufPoolAttributes"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attributes returned by IPCBufPoolGetAttributes. <a href="ipcbufpool_8h.html#structIPCBufPoolAttributes">More...</a><br /></td></tr>
<tr class="separator:structIPCBufPoolAttributes"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structIPCBufPool" id="r_structIPCBufPool"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ipcbufpool_8h.html#structIPCBufPool">IPCBufPool</a></td></tr>
<tr class="memdesc:structIPCBufPool"><td class="mdescLeft">&#160;</td><td class="mdescRight">A simple message buffer pool used for IPC communication. <a href="ipcbufpool_8h.html#structIPCBufPool">More...</a><br /></td></tr>
<tr class="separator:structIPCBufPool"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ad4697b16655593cd75027a5ae65373e7" id="r_ad4697b16655593cd75027a5ae65373e7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ipcbufpool_8h.html#ad4697b16655593cd75027a5ae65373e7">IPC_BUF_POOL_MAGIC</a>&#160;&#160;&#160;0x0BADF00Du</td></tr>
<tr class="separator:ad4697b16655593cd75027a5ae65373e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a15dd8c3c35cd478835c69d81641d1f16" id="r_a15dd8c3c35cd478835c69d81641d1f16"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="ipcbufpool_8h.html#structIPCBufPoolAttributes">IPCBufPoolAttributes</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ipcbufpool_8h.html#a15dd8c3c35cd478835c69d81641d1f16">IPCBufPoolAttributes</a></td></tr>
<tr class="separator:a15dd8c3c35cd478835c69d81641d1f16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a069a1a9694cfb51b11fe6875026b6891" id="r_a069a1a9694cfb51b11fe6875026b6891"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="ipcbufpool_8h.html#structIPCBufPoolFIFO">IPCBufPoolFIFO</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ipcbufpool_8h.html#a069a1a9694cfb51b11fe6875026b6891">IPCBufPoolFIFO</a></td></tr>
<tr class="separator:a069a1a9694cfb51b11fe6875026b6891"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58f3df663d992f13c4eb513a8ebd1fe2" id="r_a58f3df663d992f13c4eb513a8ebd1fe2"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="ipcbufpool_8h.html#structIPCBufPool">IPCBufPool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ipcbufpool_8h.html#a58f3df663d992f13c4eb513a8ebd1fe2">IPCBufPool</a></td></tr>
<tr class="separator:a58f3df663d992f13c4eb513a8ebd1fe2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:acd1c93ef4c6accdafdffe4b909d0ba46" id="r_acd1c93ef4c6accdafdffe4b909d0ba46"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ipcbufpool_8h.html#structIPCBufPool">IPCBufPool</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ipcbufpool_8h.html#acd1c93ef4c6accdafdffe4b909d0ba46">IPCBufPoolCreate</a> (void *buffer, uint32_t size, uint32_t messageSize, uint32_t *outNumMessages, uint32_t unk0x0c)</td></tr>
<tr class="separator:acd1c93ef4c6accdafdffe4b909d0ba46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a200e7da77ea0ff61dd7723e14b2f3c7b" id="r_a200e7da77ea0ff61dd7723e14b2f3c7b"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ipcbufpool_8h.html#a200e7da77ea0ff61dd7723e14b2f3c7b">IPCBufPoolAllocate</a> (<a class="el" href="ipcbufpool_8h.html#structIPCBufPool">IPCBufPool</a> *pool, uint32_t size)</td></tr>
<tr class="separator:a200e7da77ea0ff61dd7723e14b2f3c7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a355f57e2671ea5833cac4b0751249c" id="r_a4a355f57e2671ea5833cac4b0751249c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__ios.html#ga1362cf868834e0015ad0f972b9356ae2">IOSError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ipcbufpool_8h.html#a4a355f57e2671ea5833cac4b0751249c">IPCBufPoolFree</a> (<a class="el" href="ipcbufpool_8h.html#structIPCBufPool">IPCBufPool</a> *pool, void *message)</td></tr>
<tr class="separator:a4a355f57e2671ea5833cac4b0751249c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af45f663acf10ed252aedfcaa523213ee" id="r_af45f663acf10ed252aedfcaa523213ee"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__ios.html#ga1362cf868834e0015ad0f972b9356ae2">IOSError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ipcbufpool_8h.html#af45f663acf10ed252aedfcaa523213ee">IPCBufPoolGetAttributes</a> (<a class="el" href="ipcbufpool_8h.html#structIPCBufPool">IPCBufPool</a> *pool, <a class="el" href="ipcbufpool_8h.html#structIPCBufPoolAttributes">IPCBufPoolAttributes</a> *attribs)</td></tr>
<tr class="separator:af45f663acf10ed252aedfcaa523213ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/><h2 class="groupheader">Data Structure Documentation</h2>
<a name="structIPCBufPoolFIFO" id="structIPCBufPoolFIFO"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structIPCBufPoolFIFO">&#9670;&#160;</a></span>IPCBufPoolFIFO</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct IPCBufPoolFIFO</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock"><p>FIFO queue for <a class="el" href="ipcbufpool_8h.html#structIPCBufPool" title="A simple message buffer pool used for IPC communication.">IPCBufPool</a>. </p>
<p>Functions similar to a ring buffer. </p>
<p class="definition">Definition at line <a class="el" href="ipcbufpool_8h_source.html#l00020">20</a> of file <a class="el" href="ipcbufpool_8h_source.html">ipcbufpool.h</a>.</p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="ad6432b8bb15fb918546d986f73c0a0e2" name="ad6432b8bb15fb918546d986f73c0a0e2"></a>int32_t</td>
<td class="fieldname">
pushIndex</td>
<td class="fielddoc">
The current message index to push to. </td></tr>
<tr><td class="fieldtype">
<a id="a896b92de190d9b605f69831af3972eb9" name="a896b92de190d9b605f69831af3972eb9"></a>int32_t</td>
<td class="fieldname">
popIndex</td>
<td class="fielddoc">
The current message index to pop from. </td></tr>
<tr><td class="fieldtype">
<a id="a4858b400f708a13bd514376ab941b27d" name="a4858b400f708a13bd514376ab941b27d"></a>int32_t</td>
<td class="fieldname">
count</td>
<td class="fielddoc">
The number of messages in the queue. </td></tr>
<tr><td class="fieldtype">
<a id="ab73a77e94e50563b019315f5f137f0fd" name="ab73a77e94e50563b019315f5f137f0fd"></a>int32_t</td>
<td class="fieldname">
maxCount</td>
<td class="fielddoc">
Tracks the total number of messages in the count. </td></tr>
<tr><td class="fieldtype">
<a id="a20e62d3973788fd6acb38810589c4a30" name="a20e62d3973788fd6acb38810589c4a30"></a>void **</td>
<td class="fieldname">
messages</td>
<td class="fielddoc">
Messages in the queue. </td></tr>
</table>
</div>
</div>
<a name="structIPCBufPoolAttributes" id="structIPCBufPoolAttributes"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structIPCBufPoolAttributes">&#9670;&#160;</a></span>IPCBufPoolAttributes</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct IPCBufPoolAttributes</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock"><p>Attributes returned by IPCBufPoolGetAttributes. </p>
<p class="definition">Definition at line <a class="el" href="ipcbufpool_8h_source.html#l00047">47</a> of file <a class="el" href="ipcbufpool_8h_source.html">ipcbufpool.h</a>.</p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="afde4333fd9f3e4dea06782f743a28867" name="afde4333fd9f3e4dea06782f743a28867"></a>uint32_t</td>
<td class="fieldname">
messageSize</td>
<td class="fielddoc">
Size of a message in the buffer pool. </td></tr>
<tr><td class="fieldtype">
<a id="a2d30064c4ae964f39196b8d5af79adc0" name="a2d30064c4ae964f39196b8d5af79adc0"></a>uint32_t</td>
<td class="fieldname">
poolSize</td>
<td class="fielddoc">
Size of the buffer pool. </td></tr>
<tr><td class="fieldtype">
<a id="a14e91f041e0944d9d8a6eb0661279522" name="a14e91f041e0944d9d8a6eb0661279522"></a>uint32_t</td>
<td class="fieldname">
numMessages</td>
<td class="fielddoc">
Number of pending messages in the pool fifo. </td></tr>
</table>
</div>
</div>
<a name="structIPCBufPool" id="structIPCBufPool"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structIPCBufPool">&#9670;&#160;</a></span>IPCBufPool</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct IPCBufPool</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock"><p>A simple message buffer pool used for IPC communication. </p>
<p class="definition">Definition at line <a class="el" href="ipcbufpool_8h_source.html#l00068">68</a> of file <a class="el" href="ipcbufpool_8h_source.html">ipcbufpool.h</a>.</p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a57f54349f4fd1cbbb52058812e146af2" name="a57f54349f4fd1cbbb52058812e146af2"></a>uint32_t</td>
<td class="fieldname">
magic</td>
<td class="fielddoc">
Magic header always set to IPCBufPool::MagicHeader. </td></tr>
<tr><td class="fieldtype">
<a id="a368f7094dc38acca20612bbb392552f4" name="a368f7094dc38acca20612bbb392552f4"></a>void *</td>
<td class="fieldname">
buffer</td>
<td class="fielddoc">
Pointer to buffer used for this <a class="el" href="ipcbufpool_8h.html#structIPCBufPool" title="A simple message buffer pool used for IPC communication.">IPCBufPool</a>. </td></tr>
<tr><td class="fieldtype">
<a id="ab2c6b258f02add8fdf4cfc7c371dd772" name="ab2c6b258f02add8fdf4cfc7c371dd772"></a>uint32_t</td>
<td class="fieldname">
size</td>
<td class="fielddoc">
Size of buffer. </td></tr>
<tr><td class="fieldtype">
<a id="a82e1b458fdfb3a02c3448f4b9de51593" name="a82e1b458fdfb3a02c3448f4b9de51593"></a>uint32_t</td>
<td class="fieldname">
unk0x0C</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="aa412b00d1bc9fa81b37881e3302d4328" name="aa412b00d1bc9fa81b37881e3302d4328"></a>uint32_t</td>
<td class="fieldname">
unk0x10</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="aa91ae6b56a8c1f9c76e3fb7aa1240145" name="aa91ae6b56a8c1f9c76e3fb7aa1240145"></a>uint32_t</td>
<td class="fieldname">
messageSize0x14</td>
<td class="fielddoc">
Message size from IPCBufPoolCreate. </td></tr>
<tr><td class="fieldtype">
<a id="ab8231f0c95e486a29d8d2c9f5de8ccd9" name="ab8231f0c95e486a29d8d2c9f5de8ccd9"></a>uint32_t</td>
<td class="fieldname">
messageSize0x18</td>
<td class="fielddoc">
Message size from IPCBufPoolCreate. </td></tr>
<tr><td class="fieldtype">
<a id="af2f56d8aa275a64d05407fb56fbc7094" name="af2f56d8aa275a64d05407fb56fbc7094"></a>uint32_t</td>
<td class="fieldname">
messageCount</td>
<td class="fielddoc">
Number of messages in the <a class="el" href="ipcbufpool_8h.html#structIPCBufPoolFIFO" title="FIFO queue for IPCBufPool.">IPCBufPoolFIFO</a>. </td></tr>
<tr><td class="fieldtype">
<a id="a34f3555249ed1b458f3fbd320ea9f205" name="a34f3555249ed1b458f3fbd320ea9f205"></a>void *</td>
<td class="fieldname">
messages</td>
<td class="fielddoc">
Pointer to start of messages. </td></tr>
<tr><td class="fieldtype">
<a id="a0d21f7985e6cef7a15dbef67ff9e86bf" name="a0d21f7985e6cef7a15dbef67ff9e86bf"></a>uint32_t *</td>
<td class="fieldname">
messageIndexSize</td>
<td class="fielddoc">
Number of bytes used for the message pointers in <a class="el" href="ipcbufpool_8h.html#structIPCBufPoolFIFO" title="FIFO queue for IPCBufPool.">IPCBufPoolFIFO</a>. </td></tr>
<tr><td class="fieldtype">
<a id="ad06b683099035f9583d9be33d72d3af3" name="ad06b683099035f9583d9be33d72d3af3"></a><a class="el" href="ipcbufpool_8h.html#structIPCBufPoolFIFO">IPCBufPoolFIFO</a></td>
<td class="fieldname">
fifo</td>
<td class="fielddoc">
FIFO queue of messages. </td></tr>
<tr><td class="fieldtype">
<a id="ac6a2fddd6716c4842a5939d9eb9676c2" name="ac6a2fddd6716c4842a5939d9eb9676c2"></a><a class="el" href="group__coreinit__mutex.html#structOSMutex">OSMutex</a></td>
<td class="fieldname">
mutex</td>
<td class="fielddoc">
Mutex used to secure access to fifo. </td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ad4697b16655593cd75027a5ae65373e7" name="ad4697b16655593cd75027a5ae65373e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4697b16655593cd75027a5ae65373e7">&#9670;&#160;</a></span>IPC_BUF_POOL_MAGIC</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define IPC_BUF_POOL_MAGIC&#160;&#160;&#160;0x0BADF00Du</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="ipcbufpool_8h_source.html#l00063">63</a> of file <a class="el" href="ipcbufpool_8h_source.html">ipcbufpool.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="a15dd8c3c35cd478835c69d81641d1f16" name="a15dd8c3c35cd478835c69d81641d1f16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15dd8c3c35cd478835c69d81641d1f16">&#9670;&#160;</a></span>IPCBufPoolAttributes</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="ipcbufpool_8h.html#structIPCBufPoolAttributes">IPCBufPoolAttributes</a> <a class="el" href="ipcbufpool_8h.html#structIPCBufPoolAttributes">IPCBufPoolAttributes</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="ipcbufpool_8h_source.html#l00011">11</a> of file <a class="el" href="ipcbufpool_8h_source.html">ipcbufpool.h</a>.</p>
</div>
</div>
<a id="a069a1a9694cfb51b11fe6875026b6891" name="a069a1a9694cfb51b11fe6875026b6891"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a069a1a9694cfb51b11fe6875026b6891">&#9670;&#160;</a></span>IPCBufPoolFIFO</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="ipcbufpool_8h.html#structIPCBufPoolFIFO">IPCBufPoolFIFO</a> <a class="el" href="ipcbufpool_8h.html#structIPCBufPoolFIFO">IPCBufPoolFIFO</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="ipcbufpool_8h_source.html#l00012">12</a> of file <a class="el" href="ipcbufpool_8h_source.html">ipcbufpool.h</a>.</p>
</div>
</div>
<a id="a58f3df663d992f13c4eb513a8ebd1fe2" name="a58f3df663d992f13c4eb513a8ebd1fe2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58f3df663d992f13c4eb513a8ebd1fe2">&#9670;&#160;</a></span>IPCBufPool</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="ipcbufpool_8h.html#structIPCBufPool">IPCBufPool</a> <a class="el" href="ipcbufpool_8h.html#structIPCBufPool">IPCBufPool</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="ipcbufpool_8h_source.html#l00013">13</a> of file <a class="el" href="ipcbufpool_8h_source.html">ipcbufpool.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="acd1c93ef4c6accdafdffe4b909d0ba46" name="acd1c93ef4c6accdafdffe4b909d0ba46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd1c93ef4c6accdafdffe4b909d0ba46">&#9670;&#160;</a></span>IPCBufPoolCreate()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="ipcbufpool_8h.html#structIPCBufPool">IPCBufPool</a> * IPCBufPoolCreate </td>
<td>(</td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>messageSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t *&#160;</td>
<td class="paramname"><em>outNumMessages</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>unk0x0c</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a200e7da77ea0ff61dd7723e14b2f3c7b" name="a200e7da77ea0ff61dd7723e14b2f3c7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a200e7da77ea0ff61dd7723e14b2f3c7b">&#9670;&#160;</a></span>IPCBufPoolAllocate()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void * IPCBufPoolAllocate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="ipcbufpool_8h.html#structIPCBufPool">IPCBufPool</a> *&#160;</td>
<td class="paramname"><em>pool</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>size</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a4a355f57e2671ea5833cac4b0751249c" name="a4a355f57e2671ea5833cac4b0751249c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a355f57e2671ea5833cac4b0751249c">&#9670;&#160;</a></span>IPCBufPoolFree()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__coreinit__ios.html#ga1362cf868834e0015ad0f972b9356ae2">IOSError</a> IPCBufPoolFree </td>
<td>(</td>
<td class="paramtype"><a class="el" href="ipcbufpool_8h.html#structIPCBufPool">IPCBufPool</a> *&#160;</td>
<td class="paramname"><em>pool</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>message</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="af45f663acf10ed252aedfcaa523213ee" name="af45f663acf10ed252aedfcaa523213ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af45f663acf10ed252aedfcaa523213ee">&#9670;&#160;</a></span>IPCBufPoolGetAttributes()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__coreinit__ios.html#ga1362cf868834e0015ad0f972b9356ae2">IOSError</a> IPCBufPoolGetAttributes </td>
<td>(</td>
<td class="paramtype"><a class="el" href="ipcbufpool_8h.html#structIPCBufPool">IPCBufPool</a> *&#160;</td>
<td class="paramname"><em>pool</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="ipcbufpool_8h.html#structIPCBufPoolAttributes">IPCBufPoolAttributes</a> *&#160;</td>
<td class="paramname"><em>attribs</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>