/usr/share/doc/libbg1-doc/html/structghash.html is in libbg1-doc 1.106-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>bglibs: ghash 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.5.4 -->
<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 class="current"><a href="classes.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
<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>ghash Struct Reference<br>
<small>
[<a class="el" href="group__adt__ghash.html">adt ghash: Generic hash tables.</a>]</small>
</h1><!-- doxytag: class="ghash" --><code>#include <<a class="el" href="ghash_8h-source.html">ghash.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">void ** </td><td class="memItemRight" valign="bottom"><a class="el" href="structghash.html#75a14a2d91ed8df59c5915d6ffa2a438">table</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="structghash.html#85062447ab8fc6ce1ace49ea19352da4">count</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="structghash.html#5059677cb7a590ba556c018fb948160d">size</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="structghash.html#135a3980fc664e44994d77ae07732efe">keysize</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="structghash.html#329f39e342ffbe2785c98942d495e442">entrysize</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__adt.html#gd6ce53fbc11dbf67ca1c126cd17ee81a">adt_hash_fn</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structghash.html#df5a40df7d67fc67ff491e62f1e424b2">hashfn</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__adt.html#g03ed35b7331128b069dc77ab33798782">adt_cmp_fn</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structghash.html#e00fae5ef0ac14fb3585d1a9df7365ca">keycmp</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__adt.html#ga98f7f3499407a5dc1afdcbb20df2e15">adt_copy_fn</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structghash.html#3058447f36633ec2dd3648339199c03f">keycopy</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__adt.html#ga98f7f3499407a5dc1afdcbb20df2e15">adt_copy_fn</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structghash.html#4cbd9f574c6f87da77716502f86edb9c">datacopy</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__adt.html#g87ba7ca9dce36c22fe75a730a1d768a9">adt_free_fn</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structghash.html#bb606fc7cd6c3a8c6e25b571648bd372">keyfree</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__adt.html#g87ba7ca9dce36c22fe75a730a1d768a9">adt_free_fn</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structghash.html#12837bf8bfcdc555608b0108c2e11231">datafree</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The core generic hash table structure. <dl compact><dt><b>Examples: </b></dt><dd>
<p>
<a class="el" href="adt_2ghash__test_8c-example.html#_a0">adt/ghash_test.c</a>.</dl><hr><h2>Field Documentation</h2>
<a class="anchor" name="75a14a2d91ed8df59c5915d6ffa2a438"></a><!-- doxytag: member="ghash::table" ref="75a14a2d91ed8df59c5915d6ffa2a438" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void** <a class="el" href="structghash.html#75a14a2d91ed8df59c5915d6ffa2a438">ghash::table</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The hash table itself is an array of pointers, the actual type of which is dependant on the declaration of the table.
</div>
</div><p>
<a class="anchor" name="85062447ab8fc6ce1ace49ea19352da4"></a><!-- doxytag: member="ghash::count" ref="85062447ab8fc6ce1ace49ea19352da4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned <a class="el" href="structghash.html#85062447ab8fc6ce1ace49ea19352da4">ghash::count</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The count is the number of items stored in the table.
</div>
</div><p>
<a class="anchor" name="5059677cb7a590ba556c018fb948160d"></a><!-- doxytag: member="ghash::size" ref="5059677cb7a590ba556c018fb948160d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned <a class="el" href="structghash.html#5059677cb7a590ba556c018fb948160d">ghash::size</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The size is the number of slots available in the table.
</div>
</div><p>
<a class="anchor" name="135a3980fc664e44994d77ae07732efe"></a><!-- doxytag: member="ghash::keysize" ref="135a3980fc664e44994d77ae07732efe" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned long <a class="el" href="structghash.html#135a3980fc664e44994d77ae07732efe">ghash::keysize</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The size, in bytes, of the key structure in each table entry.
</div>
</div><p>
<a class="anchor" name="329f39e342ffbe2785c98942d495e442"></a><!-- doxytag: member="ghash::entrysize" ref="329f39e342ffbe2785c98942d495e442" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned long <a class="el" href="structghash.html#329f39e342ffbe2785c98942d495e442">ghash::entrysize</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The total size, in bytes, of an entry (key and data).
</div>
</div><p>
<a class="anchor" name="df5a40df7d67fc67ff491e62f1e424b2"></a><!-- doxytag: member="ghash::hashfn" ref="df5a40df7d67fc67ff491e62f1e424b2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__adt.html#gd6ce53fbc11dbf67ca1c126cd17ee81a">adt_hash_fn</a>* <a class="el" href="structghash.html#df5a40df7d67fc67ff491e62f1e424b2">ghash::hashfn</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Pointer to the function which produces a hash of a key.
</div>
</div><p>
<a class="anchor" name="e00fae5ef0ac14fb3585d1a9df7365ca"></a><!-- doxytag: member="ghash::keycmp" ref="e00fae5ef0ac14fb3585d1a9df7365ca" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__adt.html#g03ed35b7331128b069dc77ab33798782">adt_cmp_fn</a>* <a class="el" href="structghash.html#e00fae5ef0ac14fb3585d1a9df7365ca">ghash::keycmp</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Pointer to the function which compares two keys.
</div>
</div><p>
<a class="anchor" name="3058447f36633ec2dd3648339199c03f"></a><!-- doxytag: member="ghash::keycopy" ref="3058447f36633ec2dd3648339199c03f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__adt.html#ga98f7f3499407a5dc1afdcbb20df2e15">adt_copy_fn</a>* <a class="el" href="structghash.html#3058447f36633ec2dd3648339199c03f">ghash::keycopy</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Pointer to the function which copies a key.
</div>
</div><p>
<a class="anchor" name="4cbd9f574c6f87da77716502f86edb9c"></a><!-- doxytag: member="ghash::datacopy" ref="4cbd9f574c6f87da77716502f86edb9c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__adt.html#ga98f7f3499407a5dc1afdcbb20df2e15">adt_copy_fn</a>* <a class="el" href="structghash.html#4cbd9f574c6f87da77716502f86edb9c">ghash::datacopy</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Pointer to the function which copies a data item.
</div>
</div><p>
<a class="anchor" name="bb606fc7cd6c3a8c6e25b571648bd372"></a><!-- doxytag: member="ghash::keyfree" ref="bb606fc7cd6c3a8c6e25b571648bd372" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__adt.html#g87ba7ca9dce36c22fe75a730a1d768a9">adt_free_fn</a>* <a class="el" href="structghash.html#bb606fc7cd6c3a8c6e25b571648bd372">ghash::keyfree</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Pointer to the function which frees a key.
</div>
</div><p>
<a class="anchor" name="12837bf8bfcdc555608b0108c2e11231"></a><!-- doxytag: member="ghash::datafree" ref="12837bf8bfcdc555608b0108c2e11231" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__adt.html#g87ba7ca9dce36c22fe75a730a1d768a9">adt_free_fn</a>* <a class="el" href="structghash.html#12837bf8bfcdc555608b0108c2e11231">ghash::datafree</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Pointer to the function which fressa a data item.
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="ghash_8h-source.html">ghash.h</a></ul>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 19 11:11:50 2009 for bglibs by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address>
</body>
</html>
|