Current File : //usr/share/doc/dbus/api/dbus-hash_8h_source.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: dbus-hash.h Source File</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
   &#160;<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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">dbus-hash.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* -*- mode: C; c-file-style: &quot;gnu&quot;; indent-tabs-mode: nil; -*- */</span>
<a name="l00002"></a>00002 <span class="comment">/* dbus-hash.h Generic hash table utility (internal to D-Bus implementation)</span>
<a name="l00003"></a>00003 <span class="comment"> * </span>
<a name="l00004"></a>00004 <span class="comment"> * Copyright (C) 2002  Red Hat, Inc.</span>
<a name="l00005"></a>00005 <span class="comment"> *</span>
<a name="l00006"></a>00006 <span class="comment"> * Licensed under the Academic Free License version 2.1</span>
<a name="l00007"></a>00007 <span class="comment"> * </span>
<a name="l00008"></a>00008 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span>
<a name="l00009"></a>00009 <span class="comment"> * it under the terms of the GNU General Public License as published by</span>
<a name="l00010"></a>00010 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span>
<a name="l00011"></a>00011 <span class="comment"> * (at your option) any later version.</span>
<a name="l00012"></a>00012 <span class="comment"> *</span>
<a name="l00013"></a>00013 <span class="comment"> * This program is distributed in the hope that it will be useful,</span>
<a name="l00014"></a>00014 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00015"></a>00015 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
<a name="l00016"></a>00016 <span class="comment"> * GNU General Public License for more details.</span>
<a name="l00017"></a>00017 <span class="comment"> * </span>
<a name="l00018"></a>00018 <span class="comment"> * You should have received a copy of the GNU General Public License</span>
<a name="l00019"></a>00019 <span class="comment"> * along with this program; if not, write to the Free Software</span>
<a name="l00020"></a>00020 <span class="comment"> * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA</span>
<a name="l00021"></a>00021 <span class="comment"> *</span>
<a name="l00022"></a>00022 <span class="comment"> */</span>
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <span class="preprocessor">#ifndef DBUS_HASH_H</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#define DBUS_HASH_H</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span>
<a name="l00027"></a>00027 <span class="preprocessor">#ifdef HAVE_STDINT_H</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#include &lt;stdint.h&gt;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#endif</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span>
<a name="l00031"></a>00031 <span class="preprocessor">#ifdef HAVE_INTTYPES_H</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#include &lt;inttypes.h&gt;</span>
<a name="l00033"></a>00033 <span class="preprocessor">#endif</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span>
<a name="l00035"></a>00035 <span class="preprocessor">#include &lt;dbus/dbus-memory.h&gt;</span>
<a name="l00036"></a>00036 <span class="preprocessor">#include &lt;dbus/dbus-types.h&gt;</span>
<a name="l00037"></a>00037 <span class="preprocessor">#include &lt;dbus/dbus-sysdeps.h&gt;</span>
<a name="l00038"></a>00038 
<a name="l00039"></a>00039 <a class="code" href="group__DBusMacros.html#ga875146b01015e9ced22b25d76d549ab2" title="Macro used prior to declaring functions in the D-Bus header files.">DBUS_BEGIN_DECLS</a>
<a name="l00040"></a>00040 
<a name="l00049"></a><a class="code" href="structDBusHashIter.html">00049</a> <span class="keyword">struct </span><a class="code" href="structDBusHashIter.html" title="Hash iterator object.">DBusHashIter</a>
<a name="l00050"></a>00050 {
<a name="l00051"></a><a class="code" href="structDBusHashIter.html#a4e6bbed1c783d5968eb4dd17b96873ed">00051</a>   <span class="keywordtype">void</span> *<a class="code" href="structDBusHashIter.html#a4e6bbed1c783d5968eb4dd17b96873ed" title="Do not use.">dummy1</a>; 
<a name="l00052"></a><a class="code" href="structDBusHashIter.html#ae06a55fb213d4adbc5c16de926711980">00052</a>   <span class="keywordtype">void</span> *<a class="code" href="structDBusHashIter.html#ae06a55fb213d4adbc5c16de926711980" title="Do not use.">dummy2</a>; 
<a name="l00053"></a><a class="code" href="structDBusHashIter.html#a9e9daf7426ca6180dc264133f15920a1">00053</a>   <span class="keywordtype">void</span> *<a class="code" href="structDBusHashIter.html#a9e9daf7426ca6180dc264133f15920a1" title="Do not use.">dummy3</a>; 
<a name="l00054"></a><a class="code" href="structDBusHashIter.html#a8436378d32717add82277b8ffd4c18ec">00054</a>   <span class="keywordtype">void</span> *<a class="code" href="structDBusHashIter.html#a8436378d32717add82277b8ffd4c18ec" title="Do not use.">dummy4</a>; 
<a name="l00055"></a><a class="code" href="structDBusHashIter.html#a909e0b74032c3f3254a836cdd815f2c2">00055</a>   <span class="keywordtype">int</span>   <a class="code" href="structDBusHashIter.html#a909e0b74032c3f3254a836cdd815f2c2" title="Do not use.">dummy5</a>; 
<a name="l00056"></a><a class="code" href="structDBusHashIter.html#a991c36684620a38201d6989d7b02457a">00056</a>   <span class="keywordtype">int</span>   <a class="code" href="structDBusHashIter.html#a991c36684620a38201d6989d7b02457a" title="Do not use.">dummy6</a>; 
<a name="l00057"></a>00057 };
<a name="l00058"></a>00058 
<a name="l00059"></a><a class="code" href="group__DBusHashTable.html#gae11437504d2f1ec62272264214968988">00059</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a> <a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>;
<a name="l00060"></a><a class="code" href="group__DBusHashTable.html#gae8ee983d1bea5d9c49dab9714bc91a68">00060</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structDBusHashIter.html" title="Hash iterator object.">DBusHashIter</a>  <a class="code" href="structDBusHashIter.html" title="Hash iterator object.">DBusHashIter</a>;
<a name="l00061"></a>00061 
<a name="l00062"></a>00062 <span class="comment">/* Allowing an arbitrary function as with GLib</span>
<a name="l00063"></a>00063 <span class="comment"> * would be nicer for a public API, but for</span>
<a name="l00064"></a>00064 <span class="comment"> * an internal API this saves typing, we can add</span>
<a name="l00065"></a>00065 <span class="comment"> * more whenever we feel like it.</span>
<a name="l00066"></a>00066 <span class="comment"> */</span>
<a name="l00067"></a><a class="code" href="group__DBusHashTable.html#gab0ab9767ffa5b6720a13b3d741630852">00067</a> <span class="keyword">typedef</span> <span class="keyword">enum</span>
<a name="l00068"></a>00068 {
<a name="l00069"></a><a class="code" href="group__DBusHashTable.html#ggab0ab9767ffa5b6720a13b3d741630852a481fd0166d28da725b3e97f15192434e">00069</a>   <a class="code" href="group__DBusHashTable.html#ggab0ab9767ffa5b6720a13b3d741630852a481fd0166d28da725b3e97f15192434e" title="Hash keys are strings.">DBUS_HASH_STRING</a>,        
<a name="l00070"></a><a class="code" href="group__DBusHashTable.html#ggab0ab9767ffa5b6720a13b3d741630852a26446bd9fbb15c6c381b35a810207141">00070</a>   <a class="code" href="group__DBusHashTable.html#ggab0ab9767ffa5b6720a13b3d741630852a26446bd9fbb15c6c381b35a810207141" title="Hash keys are integers.">DBUS_HASH_INT</a>,           
<a name="l00071"></a><a class="code" href="group__DBusHashTable.html#ggab0ab9767ffa5b6720a13b3d741630852a477caf35cc3676d6412c9b57f1d0f6c7">00071</a>   <a class="code" href="group__DBusHashTable.html#ggab0ab9767ffa5b6720a13b3d741630852a477caf35cc3676d6412c9b57f1d0f6c7" title="Hash keys are integer capable to hold a pointer.">DBUS_HASH_UINTPTR</a>        
<a name="l00072"></a>00072 } <a class="code" href="group__DBusHashTable.html#gab0ab9767ffa5b6720a13b3d741630852" title="Indicates the type of a key in the hash table.">DBusHashType</a>;
<a name="l00073"></a>00073 
<a name="l00074"></a>00074 <a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>* <a class="code" href="group__DBusHashTable.html#gac8e434348a354b9606d4c50c127a5eb4" title="Constructs a new hash table.">_dbus_hash_table_new</a>                (<a class="code" href="group__DBusHashTable.html#gab0ab9767ffa5b6720a13b3d741630852" title="Indicates the type of a key in the hash table.">DBusHashType</a>      type,
<a name="l00075"></a>00075                                                     <a class="code" href="group__DBusMemory.html#ga061bcded226d76c7d7de35beaa165cb5" title="The type of a function which frees a block of memory.">DBusFreeFunction</a>  key_free_function,
<a name="l00076"></a>00076                                                     <a class="code" href="group__DBusMemory.html#ga061bcded226d76c7d7de35beaa165cb5" title="The type of a function which frees a block of memory.">DBusFreeFunction</a>  value_free_function);
<a name="l00077"></a>00077 <a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>* <a class="code" href="group__DBusHashTable.html#ga4ad4622378885e5d911c26956e174a45" title="Increments the reference count for a hash table.">_dbus_hash_table_ref</a>                (<a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>    *table);
<a name="l00078"></a>00078 <span class="keywordtype">void</span>           <a class="code" href="group__DBusHashTable.html#ga96b777e00764b44e0f3216fd8478f5a9" title="Decrements the reference count for a hash table, freeing the hash table if the count reaches zero...">_dbus_hash_table_unref</a>              (<a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>    *table);
<a name="l00079"></a>00079 <span class="keywordtype">void</span>           <a class="code" href="group__DBusHashTable.html#gad169f3790ca67f8a0adafcdc88ef7188" title="Removed all entries from a hash table.">_dbus_hash_table_remove_all</a>         (<a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>    *table);
<a name="l00080"></a>00080 <span class="keywordtype">void</span>           <a class="code" href="group__DBusHashTable.html#ga1b0e6df8a8617ef0f8f25adfba3acc4c" title="Initializes a hash table iterator.">_dbus_hash_iter_init</a>                (<a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>    *table,
<a name="l00081"></a>00081                                                     <a class="code" href="structDBusHashIter.html" title="Hash iterator object.">DBusHashIter</a>     *iter);
<a name="l00082"></a>00082 <a class="code" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349" title="A boolean, valid values are TRUE and FALSE.">dbus_bool_t</a>    <a class="code" href="group__DBusHashTable.html#ga723e61fcc91ca673e90ff872c07ea19c" title="Move the hash iterator forward one step, to the next hash entry.">_dbus_hash_iter_next</a>                (<a class="code" href="structDBusHashIter.html" title="Hash iterator object.">DBusHashIter</a>     *iter);
<a name="l00083"></a>00083 <span class="keywordtype">void</span>           <a class="code" href="group__DBusHashTable.html#ga0ef12d773a546f070cff91cbf1e8d16e" title="Removes the current entry from the hash table.">_dbus_hash_iter_remove_entry</a>        (<a class="code" href="structDBusHashIter.html" title="Hash iterator object.">DBusHashIter</a>     *iter);
<a name="l00084"></a>00084 <span class="keywordtype">void</span>*          <a class="code" href="group__DBusHashTable.html#ga34bf277ee37f919bd00516b5ae4e12b5" title="Gets the value of the current entry.">_dbus_hash_iter_get_value</a>           (<a class="code" href="structDBusHashIter.html" title="Hash iterator object.">DBusHashIter</a>     *iter);
<a name="l00085"></a>00085 <span class="keywordtype">void</span>           <a class="code" href="group__DBusHashTable.html#ga24193343c0948019d4a302fc18bfd5d9" title="Sets the value of the current entry.">_dbus_hash_iter_set_value</a>           (<a class="code" href="structDBusHashIter.html" title="Hash iterator object.">DBusHashIter</a>     *iter,
<a name="l00086"></a>00086                                                     <span class="keywordtype">void</span>             *value);
<a name="l00087"></a>00087 <span class="keywordtype">int</span>            <a class="code" href="group__DBusHashTable.html#ga7a1b9fd35f9f7bdd86f9d71a6379053f" title="Gets the key for the current entry.">_dbus_hash_iter_get_int_key</a>         (<a class="code" href="structDBusHashIter.html" title="Hash iterator object.">DBusHashIter</a>     *iter);
<a name="l00088"></a>00088 <span class="keyword">const</span> <span class="keywordtype">char</span>*    <a class="code" href="group__DBusHashTable.html#gaa0cff082174b1ab0380902ce4ae43d08" title="Gets the key for the current entry.">_dbus_hash_iter_get_string_key</a>      (<a class="code" href="structDBusHashIter.html" title="Hash iterator object.">DBusHashIter</a>     *iter);
<a name="l00089"></a>00089 uintptr_t      <a class="code" href="group__DBusHashTable.html#gaab14d583840d0a1b5c829d76959dcbf0" title="Gets the key for the current entry.">_dbus_hash_iter_get_uintptr_key</a>     (<a class="code" href="structDBusHashIter.html" title="Hash iterator object.">DBusHashIter</a>     *iter);
<a name="l00090"></a>00090 <a class="code" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349" title="A boolean, valid values are TRUE and FALSE.">dbus_bool_t</a>    <a class="code" href="group__DBusHashTable.html#gab156c35d6dd9ff6e408a835db28323fb" title="A low-level but efficient interface for manipulating the hash table.">_dbus_hash_iter_lookup</a>              (<a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>    *table,
<a name="l00091"></a>00091                                                     <span class="keywordtype">void</span>             *key,
<a name="l00092"></a>00092                                                     <a class="code" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349" title="A boolean, valid values are TRUE and FALSE.">dbus_bool_t</a>       create_if_not_found,
<a name="l00093"></a>00093                                                     <a class="code" href="structDBusHashIter.html" title="Hash iterator object.">DBusHashIter</a>     *iter);
<a name="l00094"></a>00094 <span class="keywordtype">void</span>*          <a class="code" href="group__DBusHashTable.html#gad51eb3fe682721dd4f6a920ca87cb730" title="Looks up the value for a given string in a hash table of type DBUS_HASH_STRING.">_dbus_hash_table_lookup_string</a>      (<a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>    *table,
<a name="l00095"></a>00095                                                     <span class="keyword">const</span> <span class="keywordtype">char</span>       *key);
<a name="l00096"></a>00096 <span class="keywordtype">void</span>*          <a class="code" href="group__DBusHashTable.html#ga36ff49c4c35599e6fcdadc7f6805c49e" title="Looks up the value for a given integer in a hash table of type DBUS_HASH_INT.">_dbus_hash_table_lookup_int</a>         (<a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>    *table,
<a name="l00097"></a>00097                                                     <span class="keywordtype">int</span>               key);
<a name="l00098"></a>00098 <span class="keywordtype">void</span>*          <a class="code" href="group__DBusHashTable.html#gae0ac411f87a797767f36c6e64fd807b3" title="Looks up the value for a given integer in a hash table of type DBUS_HASH_UINTPTR.">_dbus_hash_table_lookup_uintptr</a>     (<a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>    *table,
<a name="l00099"></a>00099                                                     uintptr_t         key);
<a name="l00100"></a>00100 <a class="code" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349" title="A boolean, valid values are TRUE and FALSE.">dbus_bool_t</a>    <a class="code" href="group__DBusHashTable.html#ga388d50ce1a07bf0790b9f2ecdb08a396" title="Removes the hash entry for the given key.">_dbus_hash_table_remove_string</a>      (<a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>    *table,
<a name="l00101"></a>00101                                                     <span class="keyword">const</span> <span class="keywordtype">char</span>       *key);
<a name="l00102"></a>00102 <a class="code" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349" title="A boolean, valid values are TRUE and FALSE.">dbus_bool_t</a>    <a class="code" href="group__DBusHashTable.html#gacdebe75bd692605a69dc73c15e0eefd0" title="Removes the hash entry for the given key.">_dbus_hash_table_remove_int</a>         (<a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>    *table,
<a name="l00103"></a>00103                                                     <span class="keywordtype">int</span>               key);
<a name="l00104"></a>00104 <a class="code" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349" title="A boolean, valid values are TRUE and FALSE.">dbus_bool_t</a>    <a class="code" href="group__DBusHashTable.html#ga0ad8fa1108bad2b4bd5b4ce539d32d64" title="Removes the hash entry for the given key.">_dbus_hash_table_remove_uintptr</a>     (<a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>    *table,
<a name="l00105"></a>00105                                                     uintptr_t         key);
<a name="l00106"></a>00106 <a class="code" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349" title="A boolean, valid values are TRUE and FALSE.">dbus_bool_t</a>    <a class="code" href="group__DBusHashTable.html#ga43e98a91a11952824c544330e19f6c22" title="Creates a hash entry with the given key and value.">_dbus_hash_table_insert_string</a>      (<a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>    *table,
<a name="l00107"></a>00107                                                     <span class="keywordtype">char</span>             *key,
<a name="l00108"></a>00108                                                     <span class="keywordtype">void</span>             *value);
<a name="l00109"></a>00109 <a class="code" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349" title="A boolean, valid values are TRUE and FALSE.">dbus_bool_t</a>    <a class="code" href="group__DBusHashTable.html#gaca20a83f3214db08fa34df2c49c8edd5" title="Creates a hash entry with the given key and value.">_dbus_hash_table_insert_int</a>         (<a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>    *table,
<a name="l00110"></a>00110                                                     <span class="keywordtype">int</span>               key,
<a name="l00111"></a>00111                                                     <span class="keywordtype">void</span>             *value);
<a name="l00112"></a>00112 <a class="code" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349" title="A boolean, valid values are TRUE and FALSE.">dbus_bool_t</a>    <a class="code" href="group__DBusHashTable.html#ga811d833032ca919a9063ca835482d01a" title="Creates a hash entry with the given key and value.">_dbus_hash_table_insert_uintptr</a>     (<a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>    *table,
<a name="l00113"></a>00113                                                     uintptr_t         key,
<a name="l00114"></a>00114                                                     <span class="keywordtype">void</span>             *value);
<a name="l00115"></a>00115 <span class="keywordtype">int</span>            <a class="code" href="group__DBusHashTable.html#gad48297fc27442c19a7c4bd4d1ef9ef77" title="Gets the number of hash entries in a hash table.">_dbus_hash_table_get_n_entries</a>      (<a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>    *table);
<a name="l00116"></a>00116 
<a name="l00117"></a>00117 <span class="comment">/* Preallocation */</span>
<a name="l00118"></a>00118 
<a name="l00120"></a><a class="code" href="group__DBusHashTable.html#ga175dc6ab841ed32bb6acf6e4c0df36a8">00120</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__DBusHashTable.html#ga175dc6ab841ed32bb6acf6e4c0df36a8" title="A preallocated hash entry.">DBusPreallocatedHash</a> <a class="code" href="group__DBusHashTable.html#ga175dc6ab841ed32bb6acf6e4c0df36a8" title="A preallocated hash entry.">DBusPreallocatedHash</a>;
<a name="l00121"></a>00121 
<a name="l00122"></a>00122 <a class="code" href="group__DBusHashTable.html#ga175dc6ab841ed32bb6acf6e4c0df36a8" title="A preallocated hash entry.">DBusPreallocatedHash</a> *<a class="code" href="group__DBusHashTable.html#ga7c2fed5599678e550af10eaa7fd5b1d1" title="Preallocate an opaque data blob that allows us to insert into the hash table at a later time without ...">_dbus_hash_table_preallocate_entry</a>          (<a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>        *table);
<a name="l00123"></a>00123 <span class="keywordtype">void</span>                  <a class="code" href="group__DBusHashTable.html#ga159dfec03d53e6e2ff485fc83aed2552" title="Frees an opaque DBusPreallocatedHash that was *not* used in order to insert into the hash table...">_dbus_hash_table_free_preallocated_entry</a>    (<a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>        *table,
<a name="l00124"></a>00124                                                                    <a class="code" href="group__DBusHashTable.html#ga175dc6ab841ed32bb6acf6e4c0df36a8" title="A preallocated hash entry.">DBusPreallocatedHash</a> *preallocated);
<a name="l00125"></a>00125 <span class="keywordtype">void</span>                  <a class="code" href="group__DBusHashTable.html#ga770a9b786a9594350165b7224bd173ee" title="Inserts a string-keyed entry into the hash table, using a preallocated data block from _dbus_hash_tab...">_dbus_hash_table_insert_string_preallocated</a> (<a class="code" href="structDBusHashTable.html" title="Internals of DBusHashTable.">DBusHashTable</a>        *table,
<a name="l00126"></a>00126                                                                    <a class="code" href="group__DBusHashTable.html#ga175dc6ab841ed32bb6acf6e4c0df36a8" title="A preallocated hash entry.">DBusPreallocatedHash</a> *preallocated,
<a name="l00127"></a>00127                                                                    <span class="keywordtype">char</span>                 *key,
<a name="l00128"></a>00128                                                                    <span class="keywordtype">void</span>                 *value);
<a name="l00129"></a>00129 
<a name="l00132"></a>00132 <a class="code" href="group__DBusMacros.html#gae4a9263a43f8220f6e1c0fd07cf6e59a" title="Macro used after declaring functions in the D-Bus header files.">DBUS_END_DECLS</a>
<a name="l00133"></a>00133 
<a name="l00134"></a>00134 <span class="preprocessor">#endif </span><span class="comment">/* DBUS_HASH_H */</span>
</pre></div></div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Thu Mar 3 2016 17:50:30 for D-Bus by &#160;<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>