Sophie

Sophie

distrib > Mandriva > 2007.0 > x86_64 > media > main-release > by-pkgid > 926d2d1e3111287cee1b0a4fad4fb4f6 > files > 195

lib64dbus-1_3-devel-0.92-6mdv2007.0.x86_64.rpm

<!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>A hierarchy of objects with container-contained relationship</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> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>A hierarchy of objects with container-contained relationship<br>
<small>
[<a class="el" href="group__DBusInternals.html">D-BUS internal implementation details</a>]</small>
</h1>DBusObjectTree is used by <a class="el" href="structDBusConnection.html">DBusConnection</a> to track the object tree. 
<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 &nbsp;</td><td valign=bottom><a class="el" href="structDBusObjectSubtree.html">DBusObjectSubtree</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Struct representing a single registered subtree handler, or node that's a parent of a registered subtree handler.</em> <a href="structDBusObjectSubtree.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>struct &nbsp;</td><td valign=bottom><a class="el" href="structDBusObjectTree.html">DBusObjectTree</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Internals of DBusObjectTree.</em> <a href="structDBusObjectTree.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="a25" doxytag="DBusObjectTree::VERBOSE_FIND"></a>
#define&nbsp;</td><td valign=bottom><a class="el" href="group__DBusObjectTree.html#a25">VERBOSE_FIND</a>&nbsp;&nbsp;&nbsp;0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Set to 1 to get a bunch of debug spew about finding the subtree nodes.</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="DBusObjectTree::DBusObjectSubtree"></a>
typedef DBusObjectSubtree&nbsp;</td><td valign=bottom><a class="el" href="group__DBusObjectTree.html#a0">DBusObjectSubtree</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Subnode of the object hierarchy.</em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>DBusObjectTree *&nbsp;</td><td valign=bottom><a class="el" href="group__DBusObjectTree.html#a4">_dbus_object_tree_new</a> (<a class="el" href="structDBusConnection.html">DBusConnection</a> *<a class="el" href="structDBusObjectTree.html#m1">connection</a>)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Creates a new object tree, representing a mapping from paths to handler vtables.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>DBusObjectTree *&nbsp;</td><td valign=bottom><a class="el" href="group__DBusObjectTree.html#a5">_dbus_object_tree_ref</a> (DBusObjectTree *tree)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Increment the reference count.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="group__DBusObjectTree.html#a6">_dbus_object_tree_unref</a> (DBusObjectTree *tree)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Decrement the reference count.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a>&nbsp;</td><td valign=bottom><a class="el" href="group__DBusObjectTree.html#a15">_dbus_object_tree_register</a> (DBusObjectTree *tree, <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> fallback, const char **path, const <a class="el" href="structDBusObjectPathVTable.html">DBusObjectPathVTable</a> *vtable, void *user_data)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Registers a new subtree in the global object tree.</em> <a href="#a15">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="group__DBusObjectTree.html#a16">_dbus_object_tree_unregister_and_unlock</a> (DBusObjectTree *tree, const char **path)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Unregisters an object subtree that was registered with the same path.</em> <a href="#a16">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="group__DBusObjectTree.html#a18">_dbus_object_tree_free_all_unlocked</a> (DBusObjectTree *tree)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Free all the handlers in the tree.</em> <a href="#a18">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>DBusHandlerResult&nbsp;</td><td valign=bottom><a class="el" href="group__DBusObjectTree.html#a21">_dbus_object_tree_dispatch_and_unlock</a> (DBusObjectTree *tree, <a class="el" href="structDBusMessage.html">DBusMessage</a> *message)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Tries to dispatch a message by directing it to handler for the object path listed in the message header, if any.</em> <a href="#a21">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a>&nbsp;</td><td valign=bottom><a class="el" href="group__DBusObjectTree.html#a23">_dbus_object_tree_list_registered_and_unlock</a> (DBusObjectTree *tree, const char **parent_path, char ***child_entries)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Lists the registered fallback handlers and object path handlers at the given parent_path.</em> <a href="#a23">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a>&nbsp;</td><td valign=bottom><a class="el" href="group__DBusObjectTree.html#a24">_dbus_object_tree_test</a> (void)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
DBusObjectTree is used by <a class="el" href="structDBusConnection.html">DBusConnection</a> to track the object tree.
<p>

<p>
 Types and functions related to DBusObjectTree. These are all library-internal. <hr><h2>Function Documentation</h2>
<a name="a21" doxytag="dbus-object-tree.c::_dbus_object_tree_dispatch_and_unlock"></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"> DBusHandlerResult _dbus_object_tree_dispatch_and_unlock </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structDBusObjectTree.html">DBusObjectTree</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>tree</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="structDBusMessage.html">DBusMessage</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>message</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Tries to dispatch a message by directing it to handler for the object path listed in the message header, if any.
<p>
Messages are dispatched first to the registered handler that matches the largest number of path elements; that is, message to /foo/bar/baz would go to the handler for /foo/bar before the one for /foo.
<p>

<p>
<dl compact><dt><b>
<a class="el" href="todo.html#_todo000040">Todo: </a></b><dd>
thread problems</dl><dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>tree</em>&nbsp;</td><td>
the global object tree </td></tr>
<tr><td valign=top><em>message</em>&nbsp;</td><td>
the message to dispatch </td></tr>
</table>
</dl><dl compact><dt><b>
Returns: </b><dd>
whether message was handled successfully </dl>
<p>
Definition at line <a class="el" href="dbus-object-tree_8c-source.html#l00673">673</a> of file <a class="el" href="dbus-object-tree_8c-source.html">dbus-object-tree.c</a>.
<p>
References <a class="el" href="dbus-object-tree_8c-source.html#l00058">connection</a>, <a class="el" href="dbus-list_8h-source.html#l00039">DBusList::data</a>, <a class="el" href="dbus-object-tree_8c-source.html#l00078">DBusObjectSubtree::invoke_as_fallback</a>, <a class="el" href="dbus-object-tree_8c-source.html#l00073">DBusObjectSubtree::message_function</a>, <a class="el" href="dbus-object-tree_8c-source.html#l00071">DBusObjectSubtree::parent</a>, and <a class="el" href="dbus-object-tree_8c-source.html#l00074">DBusObjectSubtree::user_data</a>.    </td>
  </tr>
</table>
<a name="a18" doxytag="dbus-object-tree.c::_dbus_object_tree_free_all_unlocked"></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"> void _dbus_object_tree_free_all_unlocked </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structDBusObjectTree.html">DBusObjectTree</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>tree</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Free all the handlers in the tree.
<p>
Lock on tree's connection must not be held.<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>tree</em>&nbsp;</td><td>
the object tree </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="dbus-object-tree_8c-source.html#l00558">558</a> of file <a class="el" href="dbus-object-tree_8c-source.html">dbus-object-tree.c</a>.
<p>
References <a class="el" href="dbus-object-tree_8c-source.html#l00058">connection</a>, and <a class="el" href="dbus-object-tree_8c-source.html#l00060">root</a>.    </td>
  </tr>
</table>
<a name="a23" doxytag="dbus-object-tree.c::_dbus_object_tree_list_registered_and_unlock"></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_object_tree_list_registered_and_unlock </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structDBusObjectTree.html">DBusObjectTree</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>tree</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const char **&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>parent_path</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>char ***&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>child_entries</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Lists the registered fallback handlers and object path handlers at the given parent_path.
<p>
The returned array should be freed with <a class="el" href="group__DBusMemory.html#a4">dbus_free_string_array</a>().<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>tree</em>&nbsp;</td><td>
the object tree </td></tr>
<tr><td valign=top><em>parent_path</em>&nbsp;</td><td>
the path to list the child handlers of </td></tr>
<tr><td valign=top><em>child_entries</em>&nbsp;</td><td>
returns <a class="el" href="group__DBusMacros.html#a4">NULL</a>-terminated array of children </td></tr>
</table>
</dl><dl compact><dt><b>
Returns: </b><dd>
<a class="el" href="group__DBusMacros.html#a3">FALSE</a> if no memory to allocate the child entries </dl>
<p>
Definition at line <a class="el" href="dbus-object-tree_8c-source.html#l00924">924</a> of file <a class="el" href="dbus-object-tree_8c-source.html">dbus-object-tree.c</a>.
<p>
References <a class="el" href="dbus-object-tree_8c-source.html#l00058">connection</a>.    </td>
  </tr>
</table>
<a name="a4" doxytag="dbus-object-tree.c::_dbus_object_tree_new"></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="structDBusObjectTree.html">DBusObjectTree</a>* _dbus_object_tree_new </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structDBusConnection.html">DBusConnection</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>connection</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Creates a new object tree, representing a mapping from paths to handler vtables.
<p>
<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>connection</em>&nbsp;</td><td>
the connection this tree belongs to </td></tr>
</table>
</dl><dl compact><dt><b>
Returns: </b><dd>
the new tree or <a class="el" href="group__DBusMacros.html#a4">NULL</a> if no memory </dl>
<p>
Definition at line <a class="el" href="dbus-object-tree_8c-source.html#l00090">90</a> of file <a class="el" href="dbus-object-tree_8c-source.html">dbus-object-tree.c</a>.
<p>
References <a class="el" href="dbus-object-tree_8c-source.html#l00058">connection</a>, <a class="el" href="dbus-object-tree_8c-source.html#l00078">DBusObjectSubtree::invoke_as_fallback</a>, <a class="el" href="dbus-object-tree_8c-source.html#l00057">refcount</a>, and <a class="el" href="dbus-object-tree_8c-source.html#l00060">root</a>.    </td>
  </tr>
</table>
<a name="a5" doxytag="dbus-object-tree.c::_dbus_object_tree_ref"></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="structDBusObjectTree.html">DBusObjectTree</a>* _dbus_object_tree_ref </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structDBusObjectTree.html">DBusObjectTree</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>tree</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Increment the reference count.
<p>
<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>tree</em>&nbsp;</td><td>
the object tree </td></tr>
</table>
</dl><dl compact><dt><b>
Returns: </b><dd>
the object tree </dl>
<p>
Definition at line <a class="el" href="dbus-object-tree_8c-source.html#l00127">127</a> of file <a class="el" href="dbus-object-tree_8c-source.html">dbus-object-tree.c</a>.
<p>
References <a class="el" href="dbus-object-tree_8c-source.html#l00057">refcount</a>.    </td>
  </tr>
</table>
<a name="a15" doxytag="dbus-object-tree.c::_dbus_object_tree_register"></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_object_tree_register </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structDBusObjectTree.html">DBusObjectTree</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>tree</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>fallback</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const char **&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>path</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="structDBusObjectPathVTable.html">DBusObjectPathVTable</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>vtable</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>void *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>user_data</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Registers a new subtree in the global object tree.
<p>
<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>tree</em>&nbsp;</td><td>
the global object tree </td></tr>
<tr><td valign=top><em>fallback</em>&nbsp;</td><td>
<a class="el" href="group__DBusMacros.html#a2">TRUE</a> to handle messages to children of this path </td></tr>
<tr><td valign=top><em>path</em>&nbsp;</td><td>
NULL-terminated array of path elements giving path to subtree </td></tr>
<tr><td valign=top><em>vtable</em>&nbsp;</td><td>
the vtable used to traverse this subtree </td></tr>
<tr><td valign=top><em>user_data</em>&nbsp;</td><td>
user data to pass to methods in the vtable </td></tr>
</table>
</dl><dl compact><dt><b>
Returns: </b><dd>
<a class="el" href="group__DBusMacros.html#a3">FALSE</a> if not enough memory </dl>
<p>
Definition at line <a class="el" href="dbus-object-tree_8c-source.html#l00400">400</a> of file <a class="el" href="dbus-object-tree_8c-source.html">dbus-object-tree.c</a>.
<p>
References <a class="el" href="dbus-object-tree_8c-source.html#l00078">DBusObjectSubtree::invoke_as_fallback</a>, <a class="el" href="dbus-connection_8h-source.html#l00226">DBusObjectPathVTable::message_function</a>, <a class="el" href="dbus-object-tree_8c-source.html#l00073">DBusObjectSubtree::message_function</a>, <a class="el" href="dbus-object-tree_8c-source.html#l00072">DBusObjectSubtree::unregister_function</a>, <a class="el" href="dbus-connection_8h-source.html#l00225">DBusObjectPathVTable::unregister_function</a>, and <a class="el" href="dbus-object-tree_8c-source.html#l00074">DBusObjectSubtree::user_data</a>.    </td>
  </tr>
</table>
<a name="a24" doxytag="dbus-object-tree.c::_dbus_object_tree_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_object_tree_test </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Unit test for <a class="el" href="structDBusObjectTree.html">DBusObjectTree</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-object-tree_8c-source.html#l01573">1573</a> of file <a class="el" href="dbus-object-tree_8c-source.html">dbus-object-tree.c</a>.    </td>
  </tr>
</table>
<a name="a6" doxytag="dbus-object-tree.c::_dbus_object_tree_unref"></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"> void _dbus_object_tree_unref </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structDBusObjectTree.html">DBusObjectTree</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>tree</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Decrement the reference count.
<p>
<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>tree</em>&nbsp;</td><td>
the object tree </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="dbus-object-tree_8c-source.html#l00141">141</a> of file <a class="el" href="dbus-object-tree_8c-source.html">dbus-object-tree.c</a>.
<p>
References <a class="el" href="dbus-object-tree_8c-source.html#l00057">refcount</a>.    </td>
  </tr>
</table>
<a name="a16" doxytag="dbus-object-tree.c::_dbus_object_tree_unregister_and_unlock"></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"> void _dbus_object_tree_unregister_and_unlock </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structDBusObjectTree.html">DBusObjectTree</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>tree</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const char **&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>path</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Unregisters an object subtree that was registered with the same path.
<p>
<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>tree</em>&nbsp;</td><td>
the global object tree </td></tr>
<tr><td valign=top><em>path</em>&nbsp;</td><td>
path to the subtree (same as the one passed to <a class="el" href="group__DBusObjectTree.html#a15">_dbus_object_tree_register</a>()) </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="dbus-object-tree_8c-source.html#l00443">443</a> of file <a class="el" href="dbus-object-tree_8c-source.html">dbus-object-tree.c</a>.
<p>
References <a class="el" href="dbus-object-tree_8c-source.html#l00058">connection</a>, <a class="el" href="dbus-object-tree_8c-source.html#l00073">DBusObjectSubtree::message_function</a>, <a class="el" href="dbus-object-tree_8c-source.html#l00076">DBusObjectSubtree::n_subtrees</a>, <a class="el" href="dbus-object-tree_8c-source.html#l00071">DBusObjectSubtree::parent</a>, <a class="el" href="dbus-object-tree_8c-source.html#l00075">DBusObjectSubtree::subtrees</a>, <a class="el" href="dbus-object-tree_8c-source.html#l00072">DBusObjectSubtree::unregister_function</a>, and <a class="el" href="dbus-object-tree_8c-source.html#l00074">DBusObjectSubtree::user_data</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>