| Current File : //usr/share/doc/dbus/api/structDBusMemBlock.html |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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"/>
<title>D-Bus: DBusMemBlock Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">D-Bus
 <span id="projectnumber">1.8.20</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">DBusMemBlock Struct Reference<div class="ingroups"><a class="el" href="group__DBusMemPoolInternals.html">Memory pool implementation details</a></div></div> </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="DBusMemBlock" -->
<p><a class="el" href="structDBusMemBlock.html" title="DBusMemBlock object represents a single malloc()-returned block that gets chunked up into objects in ...">DBusMemBlock</a> object represents a single malloc()-returned block that gets chunked up into objects in the memory pool.
<a href="structDBusMemBlock.html#details">More...</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a88abbae4b7e92bfab8392c2aad2dae9b"></a><!-- doxytag: member="DBusMemBlock::next" ref="a88abbae4b7e92bfab8392c2aad2dae9b" args="" -->
<a class="el" href="structDBusMemBlock.html">DBusMemBlock</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusMemBlock.html#a88abbae4b7e92bfab8392c2aad2dae9b">next</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">next block in the list, which is already used up; only saved so we can free all the blocks when we free the mem pool. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusMemBlock.html#ad23a73654095952ea4e2c222c41e5441">used_so_far</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">bytes of this block already allocated as elements. <a href="#ad23a73654095952ea4e2c222c41e5441"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af685833ddb17150a20cbe538f23f3113"></a><!-- doxytag: member="DBusMemBlock::elements" ref="af685833ddb17150a20cbe538f23f3113" args="[ELEMENT_PADDING]" -->
unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusMemBlock.html#af685833ddb17150a20cbe538f23f3113">elements</a> [<a class="el" href="group__DBusMemPoolInternals.html#ga412163ea9cb4effae42afc1147d8b9b8">ELEMENT_PADDING</a>]</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">the block data, actually allocated to required size <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="structDBusMemBlock.html" title="DBusMemBlock object represents a single malloc()-returned block that gets chunked up into objects in ...">DBusMemBlock</a> object represents a single malloc()-returned block that gets chunked up into objects in the memory pool. </p>
<p>Definition at line <a class="el" href="dbus-mempool_8c_source.html#l00082">82</a> of file <a class="el" href="dbus-mempool_8c_source.html">dbus-mempool.c</a>.</p>
</div><hr/><h2>Field Documentation</h2>
<a class="anchor" id="ad23a73654095952ea4e2c222c41e5441"></a><!-- doxytag: member="DBusMemBlock::used_so_far" ref="ad23a73654095952ea4e2c222c41e5441" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">long <a class="el" href="structDBusMemBlock.html#ad23a73654095952ea4e2c222c41e5441">DBusMemBlock::used_so_far</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>bytes of this block already allocated as elements. </p>
<p>Definition at line <a class="el" href="dbus-mempool_8c_source.html#l00090">90</a> of file <a class="el" href="dbus-mempool_8c_source.html">dbus-mempool.c</a>.</p>
<p>Referenced by <a class="el" href="dbus-mempool_8c_source.html#l00214">_dbus_mem_pool_alloc()</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="dbus-mempool_8c_source.html">dbus-mempool.c</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Mar 3 2016 17:50:34 for D-Bus by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>
</body>
</html>