\doxysection{oggz\+\_\+table.\+h}
\label{oggz__table_8h_source}\index{oggz\_table.h@{oggz\_table.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{comment}{/*}}
\DoxyCodeLine{2 \textcolor{comment}{   Copyright (C) 2003 Commonwealth Scientific and Industrial Research}}
\DoxyCodeLine{3 \textcolor{comment}{   Organisation (CSIRO) Australia}}
\DoxyCodeLine{4 \textcolor{comment}{}}
\DoxyCodeLine{5 \textcolor{comment}{   Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{6 \textcolor{comment}{   modification, are permitted provided that the following conditions}}
\DoxyCodeLine{7 \textcolor{comment}{   are met:}}
\DoxyCodeLine{8 \textcolor{comment}{}}
\DoxyCodeLine{9 \textcolor{comment}{   -\/ Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{10 \textcolor{comment}{   notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{11 \textcolor{comment}{}}
\DoxyCodeLine{12 \textcolor{comment}{   -\/ Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{13 \textcolor{comment}{   notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{14 \textcolor{comment}{   documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{15 \textcolor{comment}{}}
\DoxyCodeLine{16 \textcolor{comment}{   -\/ Neither the name of CSIRO Australia nor the names of its}}
\DoxyCodeLine{17 \textcolor{comment}{   contributors may be used to endorse or promote products derived from}}
\DoxyCodeLine{18 \textcolor{comment}{   this software without specific prior written permission.}}
\DoxyCodeLine{19 \textcolor{comment}{}}
\DoxyCodeLine{20 \textcolor{comment}{   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS}}
\DoxyCodeLine{21 \textcolor{comment}{   ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT}}
\DoxyCodeLine{22 \textcolor{comment}{   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A}}
\DoxyCodeLine{23 \textcolor{comment}{   PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE ORGANISATION OR}}
\DoxyCodeLine{24 \textcolor{comment}{   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,}}
\DoxyCodeLine{25 \textcolor{comment}{   EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,}}
\DoxyCodeLine{26 \textcolor{comment}{   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR}}
\DoxyCodeLine{27 \textcolor{comment}{   PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF}}
\DoxyCodeLine{28 \textcolor{comment}{   LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING}}
\DoxyCodeLine{29 \textcolor{comment}{   NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS}}
\DoxyCodeLine{30 \textcolor{comment}{   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.}}
\DoxyCodeLine{31 \textcolor{comment}{*/}}
\DoxyCodeLine{32 }
\DoxyCodeLine{33 \textcolor{preprocessor}{\#ifndef \_\_OGGZ\_TABLE\_H\_\_}}
\DoxyCodeLine{34 \textcolor{preprocessor}{\#define \_\_OGGZ\_TABLE\_H\_\_}}
\DoxyCodeLine{35 }
\DoxyCodeLine{46 \textcolor{keyword}{typedef} \textcolor{keywordtype}{void} OggzTable;}
\DoxyCodeLine{47 }
\DoxyCodeLine{53 OggzTable *}
\DoxyCodeLine{54 oggz\_table\_new (\textcolor{keywordtype}{void});}
\DoxyCodeLine{55 }
\DoxyCodeLine{60 \textcolor{keywordtype}{void}}
\DoxyCodeLine{61 oggz\_table\_delete (OggzTable * table);}
\DoxyCodeLine{62 }
\DoxyCodeLine{72 \textcolor{keywordtype}{void} *}
\DoxyCodeLine{73 oggz\_table\_insert (OggzTable * table, \textcolor{keywordtype}{long} key, \textcolor{keywordtype}{void} * data);}
\DoxyCodeLine{74 }
\DoxyCodeLine{82 \textcolor{keywordtype}{int}}
\DoxyCodeLine{83 oggz\_table\_remove (OggzTable * table, \textcolor{keywordtype}{long} key);}
\DoxyCodeLine{84 }
\DoxyCodeLine{92 \textcolor{keywordtype}{void} *}
\DoxyCodeLine{93 oggz\_table\_lookup (OggzTable * table, \textcolor{keywordtype}{long} key);}
\DoxyCodeLine{94 }
\DoxyCodeLine{100 \textcolor{keywordtype}{int}}
\DoxyCodeLine{101 oggz\_table\_size (OggzTable * table);}
\DoxyCodeLine{102 }
\DoxyCodeLine{112 \textcolor{keywordtype}{void} *}
\DoxyCodeLine{113 oggz\_table\_nth (OggzTable * table, \textcolor{keywordtype}{int} n, \textcolor{keywordtype}{long} * key);}
\DoxyCodeLine{114 }
\DoxyCodeLine{115 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* \_\_OGGZ\_TABLE\_H\_\_ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
