1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>liboggz: oggz_table.h Source File</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
<!-- Generated by Doxygen 1.3.5 -->
7
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="globals.html">Globals</a></div>
8
<h1>oggz_table.h</h1><a href="oggz__table_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>
9
00002 <span class="comment"> Copyright (C) 2003 Commonwealth Scientific and Industrial Research</span>
10
00003 <span class="comment"> Organisation (CSIRO) Australia</span>
11
00004 <span class="comment"></span>
12
00005 <span class="comment"> Redistribution and use in source and binary forms, with or without</span>
13
00006 <span class="comment"> modification, are permitted provided that the following conditions</span>
14
00007 <span class="comment"> are met:</span>
15
00008 <span class="comment"></span>
16
00009 <span class="comment"> - Redistributions of source code must retain the above copyright</span>
17
00010 <span class="comment"> notice, this list of conditions and the following disclaimer.</span>
18
00011 <span class="comment"></span>
19
00012 <span class="comment"> - Redistributions in binary form must reproduce the above copyright</span>
20
00013 <span class="comment"> notice, this list of conditions and the following disclaimer in the</span>
21
00014 <span class="comment"> documentation and/or other materials provided with the distribution.</span>
22
00015 <span class="comment"></span>
23
00016 <span class="comment"> - Neither the name of CSIRO Australia nor the names of its</span>
24
00017 <span class="comment"> contributors may be used to endorse or promote products derived from</span>
25
00018 <span class="comment"> this software without specific prior written permission.</span>
26
00019 <span class="comment"></span>
27
00020 <span class="comment"> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS</span>
28
00021 <span class="comment"> ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT</span>
29
00022 <span class="comment"> LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A</span>
30
00023 <span class="comment"> PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR</span>
31
00024 <span class="comment"> CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,</span>
32
00025 <span class="comment"> EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,</span>
33
00026 <span class="comment"> PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR</span>
34
00027 <span class="comment"> PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF</span>
35
00028 <span class="comment"> LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING</span>
36
00029 <span class="comment"> NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS</span>
37
00030 <span class="comment"> SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span>
38
00031 <span class="comment">*/</span>
40
00033 <span class="preprocessor">#ifndef __OGGZ_TABLE_H__</span>
41
00034 <span class="preprocessor"></span><span class="preprocessor">#define __OGGZ_TABLE_H__</span>
42
00035 <span class="preprocessor"></span>
43
<a name="l00046"></a><a class="code" href="oggz__table_8h.html#a0">00046</a> <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="oggz__table_8h.html#a0">OggzTable</a>;
45
00052 <a class="code" href="oggz__table_8h.html#a0">OggzTable</a> *
46
00053 <a class="code" href="oggz__table_8h.html#a1">oggz_table_new</a> (<span class="keywordtype">void</span>);
48
00059 <span class="keywordtype">void</span>
49
00060 <a class="code" href="oggz__table_8h.html#a2">oggz_table_delete</a> (OggzTable * table);
51
00070 <span class="keywordtype">void</span> *
52
00071 <a class="code" href="oggz__table_8h.html#a3">oggz_table_insert</a> (OggzTable * table, <span class="keywordtype">long</span> key, <span class="keywordtype">void</span> * data);
54
00080 <span class="keywordtype">void</span> *
55
00081 <a class="code" href="oggz__table_8h.html#a4">oggz_table_lookup</a> (OggzTable * table, <span class="keywordtype">long</span> key);
57
00088 <span class="keywordtype">int</span>
58
00089 <a class="code" href="oggz__table_8h.html#a5">oggz_table_size</a> (OggzTable * table);
60
00100 <span class="keywordtype">void</span> *
61
00101 <a class="code" href="oggz__table_8h.html#a6">oggz_table_nth</a> (OggzTable * table, <span class="keywordtype">int</span> n, <span class="keywordtype">long</span> * key);
63
00103 <span class="preprocessor">#endif </span><span class="comment">/* __OGGZ_TABLE_H__ */</span>
64
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Mar 11 13:02:13 2004 for liboggz by
65
<a href="http://www.doxygen.org/index.html">
66
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
67
</a>1.3.5 </small></address>