|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /usr/share/devhelp/books/dbus/api/ |
Upload File : |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>D-Bus: DBusRealString Struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li id="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul></div>
<h1>DBusRealString Struct Reference</h1><!-- doxytag: class="DBusRealString" -->Internals of <a class="el" href="structDBusString.html">DBusString</a>.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="dbus-string-private_8h-source.html">dbus-string-private.h</a>></code>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d60d27edba516b0a179ce1ead1e74725"></a><!-- doxytag: member="DBusRealString::str" ref="d60d27edba516b0a179ce1ead1e74725" args="" -->
unsigned char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusRealString.html#d60d27edba516b0a179ce1ead1e74725">str</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">String data, plus nul termination. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ed6f543f7b748c4f5cf92b9aedd5f68d"></a><!-- doxytag: member="DBusRealString::len" ref="ed6f543f7b748c4f5cf92b9aedd5f68d" args="" -->
int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusRealString.html#ed6f543f7b748c4f5cf92b9aedd5f68d">len</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Length without nul. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e12ec58c271e47f3f89fae1410b7c5e5"></a><!-- doxytag: member="DBusRealString::allocated" ref="e12ec58c271e47f3f89fae1410b7c5e5" args="" -->
int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusRealString.html#e12ec58c271e47f3f89fae1410b7c5e5">allocated</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Allocated size of data. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eb48dcb099660ffc277883166fa72159"></a><!-- doxytag: member="DBusRealString::max_length" ref="eb48dcb099660ffc277883166fa72159" args="" -->
int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusRealString.html#eb48dcb099660ffc277883166fa72159">max_length</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Max length of this string, without nul byte. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="79675cfbe443cc779e3c668fbcb99578"></a><!-- doxytag: member="DBusRealString::constant" ref="79675cfbe443cc779e3c668fbcb99578" args="" -->
unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusRealString.html#79675cfbe443cc779e3c668fbcb99578">constant</a>: 1</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">String data is not owned by <a class="el" href="structDBusString.html">DBusString</a>. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="865d892d7cacedd598b828c15c5815c5"></a><!-- doxytag: member="DBusRealString::locked" ref="865d892d7cacedd598b828c15c5815c5" args="" -->
unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusRealString.html#865d892d7cacedd598b828c15c5815c5">locked</a>: 1</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structDBusString.html">DBusString</a> has been locked and can't be changed. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusRealString.html#062f6b092cc6c4baf01f2a820e2ba5ad">invalid</a>: 1</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structDBusString.html">DBusString</a> is invalid (e.g. <a href="#062f6b092cc6c4baf01f2a820e2ba5ad"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="21fb373a65e36646787392a3dfe62443"></a><!-- doxytag: member="DBusRealString::align_offset" ref="21fb373a65e36646787392a3dfe62443" args="" -->
unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusRealString.html#21fb373a65e36646787392a3dfe62443">align_offset</a>: 3</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">str - align_offset is the actual malloc block <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Internals of <a class="el" href="structDBusString.html">DBusString</a>.
<p>
<a class="el" href="structDBusString.html">DBusString</a> internals. <a class="el" href="structDBusString.html">DBusString</a> is an opaque objects, it must be used via accessor functions.
<p>
<p>
Definition at line <a class="el" href="dbus-string-private_8h-source.html#l00044">44</a> of file <a class="el" href="dbus-string-private_8h-source.html">dbus-string-private.h</a>.<hr><h2>Field Documentation</h2>
<a class="anchor" name="062f6b092cc6c4baf01f2a820e2ba5ad"></a><!-- doxytag: member="DBusRealString::invalid" ref="062f6b092cc6c4baf01f2a820e2ba5ad" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="structDBusRealString.html#062f6b092cc6c4baf01f2a820e2ba5ad">DBusRealString::invalid</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<a class="el" href="structDBusString.html">DBusString</a> is invalid (e.g.
<p>
already freed)
<p>
Definition at line <a class="el" href="dbus-string-private_8h-source.html#l00052">52</a> of file <a class="el" href="dbus-string-private_8h-source.html">dbus-string-private.h</a>.
<p>
Referenced by <a class="el" href="dbus-string_8c-source.html#l00229">_dbus_string_init_const_len()</a>, and <a class="el" href="dbus-string_8c-source.html#l00131">_dbus_string_init_preallocated()</a>.
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="dbus-string-private_8h-source.html">dbus-string-private.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 14 22:26:15 2009 for D-Bus by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>