<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Memory pool implementation details</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.2.15 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>Memory pool implementation details<br> <small> [<a class="el" href="group__DBusInternals.html">D-BUS internal implementation details</a>]</small> </h1><a class="el" href="structDBusMemPool.html">DBusMemPool</a> implementation details. <a href="#_details">More...</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Data Structures</h2></td></tr> <tr><td nowrap align=right valign=top>struct </td><td valign=bottom><a class="el" href="structDBusFreedElement.html">DBusFreedElement</a></td></tr> <tr><td> </td><td><font size=-1><em>struct representing an element on the free list.</em> <a href="structDBusFreedElement.html#_details">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>struct </td><td valign=bottom><a class="el" href="structDBusMemBlock.html">DBusMemBlock</a></td></tr> <tr><td> </td><td><font size=-1><em>DBusMemBlock object represents a single malloc()-returned block that gets chunked up into objects in the memory pool.</em> <a href="structDBusMemBlock.html#_details">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>struct </td><td valign=bottom><a class="el" href="structDBusMemPool.html">DBusMemPool</a></td></tr> <tr><td> </td><td><font size=-1><em>Internals fields of DBusMemPool.</em> <a href="structDBusMemPool.html#_details">More...</a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Defines</h2></td></tr> <tr><td nowrap align=right valign=top><a name="a3" doxytag="DBusMemPoolInternals::ELEMENT_PADDING"></a> #define </td><td valign=bottom><a class="el" href="group__DBusMemPoolInternals.html#a3">ELEMENT_PADDING</a> 4</td></tr> <tr><td> </td><td><font size=-1><em>The dummy size of the variable-length "elements" field in <a class="el" href="structDBusMemBlock.html">DBusMemBlock</a>.</em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Typedefs</h2></td></tr> <tr><td nowrap align=right valign=top><a name="a0" doxytag="DBusMemPoolInternals::DBusFreedElement"></a> typedef DBusFreedElement </td><td valign=bottom><a class="el" href="group__DBusMemPoolInternals.html#a0">DBusFreedElement</a></td></tr> <tr><td> </td><td><font size=-1><em>typedef so <a class="el" href="structDBusFreedElement.html">DBusFreedElement</a> struct can refer to itself.</em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="a1" doxytag="DBusMemPoolInternals::DBusMemBlock"></a> typedef DBusMemBlock </td><td valign=bottom><a class="el" href="group__DBusMemPoolInternals.html#a1">DBusMemBlock</a></td></tr> <tr><td> </td><td><font size=-1><em>Typedef for <a class="el" href="structDBusMemBlock.html">DBusMemBlock</a> so the struct can recursively point to itself.</em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Functions</h2></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMemPoolInternals.html#a2">_dbus_mem_pool_test</a> (void)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <a class="el" href="structDBusMemPool.html">DBusMemPool</a> implementation details. <p> <p> The guts of <a class="el" href="structDBusMemPool.html">DBusMemPool</a>. <hr><h2>Function Documentation</h2> <a name="a2" doxytag="dbus-mempool.c::_dbus_mem_pool_test"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_mem_pool_test </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Unit test for <a class="el" href="structDBusMemPool.html">DBusMemPool</a> <dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success. </dl> <p> Definition at line <a class="el" href="dbus-mempool_8c-source.html#l00562">562</a> of file <a class="el" href="dbus-mempool_8c-source.html">dbus-mempool.c</a>. </td> </tr> </table> <hr><address align="right"><small>Generated on Wed Jun 9 05:01:28 2004 for D-BUS by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.15 </small></address> </body> </html>