\doxysection{oggz.\+h}
\label{oggz_8h_source}\index{oggz.h@{oggz.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*}}
\DoxyCodeLine{00002\ \textcolor{comment}{\ \ \ Copyright\ (C)\ 2003\ Commonwealth\ Scientific\ and\ Industrial\ Research}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ \ \ Organisation\ (CSIRO)\ Australia}}
\DoxyCodeLine{00004\ \textcolor{comment}{}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ \ \ Redistribution\ and\ use\ in\ source\ and\ binary\ forms,\ with\ or\ without}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ \ \ modification,\ are\ permitted\ provided\ that\ the\ following\ conditions}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ \ \ are\ met:}}
\DoxyCodeLine{00008\ \textcolor{comment}{}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ \ \ -\/\ Redistributions\ of\ source\ code\ must\ retain\ the\ above\ copyright}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ \ \ notice,\ this\ list\ of\ conditions\ and\ the\ following\ disclaimer.}}
\DoxyCodeLine{00011\ \textcolor{comment}{}}
\DoxyCodeLine{00012\ \textcolor{comment}{\ \ \ -\/\ Redistributions\ in\ binary\ form\ must\ reproduce\ the\ above\ copyright}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ \ \ notice,\ this\ list\ of\ conditions\ and\ the\ following\ disclaimer\ in\ the}}
\DoxyCodeLine{00014\ \textcolor{comment}{\ \ \ documentation\ and/or\ other\ materials\ provided\ with\ the\ distribution.}}
\DoxyCodeLine{00015\ \textcolor{comment}{}}
\DoxyCodeLine{00016\ \textcolor{comment}{\ \ \ -\/\ Neither\ the\ name\ of\ CSIRO\ Australia\ nor\ the\ names\ of\ its}}
\DoxyCodeLine{00017\ \textcolor{comment}{\ \ \ contributors\ may\ be\ used\ to\ endorse\ or\ promote\ products\ derived\ from}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ \ \ this\ software\ without\ specific\ prior\ written\ permission.}}
\DoxyCodeLine{00019\ \textcolor{comment}{}}
\DoxyCodeLine{00020\ \textcolor{comment}{\ \ \ THIS\ SOFTWARE\ IS\ PROVIDED\ BY\ THE\ COPYRIGHT\ HOLDERS\ AND\ CONTRIBUTORS}}
\DoxyCodeLine{00021\ \textcolor{comment}{\ \ \ \`{}\`{}AS\ IS''\ AND\ ANY\ EXPRESS\ OR\ IMPLIED\ WARRANTIES,\ INCLUDING,\ BUT\ NOT}}
\DoxyCodeLine{00022\ \textcolor{comment}{\ \ \ LIMITED\ TO,\ THE\ IMPLIED\ WARRANTIES\ OF\ MERCHANTABILITY\ AND\ FITNESS\ FOR\ A}}
\DoxyCodeLine{00023\ \textcolor{comment}{\ \ \ PARTICULAR\ PURPOSE\ ARE\ DISCLAIMED.\ \ IN\ NO\ EVENT\ SHALL\ THE\ ORGANISATION\ OR}}
\DoxyCodeLine{00024\ \textcolor{comment}{\ \ \ CONTRIBUTORS\ BE\ LIABLE\ FOR\ ANY\ DIRECT,\ INDIRECT,\ INCIDENTAL,\ SPECIAL,}}
\DoxyCodeLine{00025\ \textcolor{comment}{\ \ \ EXEMPLARY,\ OR\ CONSEQUENTIAL\ DAMAGES\ (INCLUDING,\ BUT\ NOT\ LIMITED\ TO,}}
\DoxyCodeLine{00026\ \textcolor{comment}{\ \ \ PROCUREMENT\ OF\ SUBSTITUTE\ GOODS\ OR\ SERVICES;\ LOSS\ OF\ USE,\ DATA,\ OR}}
\DoxyCodeLine{00027\ \textcolor{comment}{\ \ \ PROFITS;\ OR\ BUSINESS\ INTERRUPTION)\ HOWEVER\ CAUSED\ AND\ ON\ ANY\ THEORY\ OF}}
\DoxyCodeLine{00028\ \textcolor{comment}{\ \ \ LIABILITY,\ WHETHER\ IN\ CONTRACT,\ STRICT\ LIABILITY,\ OR\ TORT\ (INCLUDING}}
\DoxyCodeLine{00029\ \textcolor{comment}{\ \ \ NEGLIGENCE\ OR\ OTHERWISE)\ ARISING\ IN\ ANY\ WAY\ OUT\ OF\ THE\ USE\ OF\ THIS}}
\DoxyCodeLine{00030\ \textcolor{comment}{\ \ \ SOFTWARE,\ EVEN\ IF\ ADVISED\ OF\ THE\ POSSIBILITY\ OF\ SUCH\ DAMAGE.}}
\DoxyCodeLine{00031\ \textcolor{comment}{*/}}
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\#ifndef\ OGGZ\_H\_INCLUDED}}
\DoxyCodeLine{00034\ \textcolor{preprocessor}{\#define\ OGGZ\_H\_INCLUDED}}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00036\ \textcolor{preprocessor}{\#include\ <stdio.h>}}
\DoxyCodeLine{00037\ \textcolor{preprocessor}{\#include\ <sys/types.h>}}
\DoxyCodeLine{00038\ }
\DoxyCodeLine{00039\ \textcolor{preprocessor}{\#include\ <ogg/ogg.h>}}
\DoxyCodeLine{00040\ \textcolor{preprocessor}{\#include\ <oggz/oggz\_constants.h>}}
\DoxyCodeLine{00041\ \textcolor{preprocessor}{\#include\ <oggz/oggz\_table.h>}}
\DoxyCodeLine{00042\ }
\DoxyCodeLine{00043\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{00044\ \textcolor{keyword}{extern}\ \textcolor{stringliteral}{"{}C"{}}\ \{}
\DoxyCodeLine{00045\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00046\ }
\DoxyCodeLine{00095\ }
\DoxyCodeLine{00307\ }
\DoxyCodeLine{00341\ }
\DoxyCodeLine{00347\ }
\DoxyCodeLine{00382\ }
\DoxyCodeLine{00436\ }
\DoxyCodeLine{00441\ \textcolor{keyword}{typedef}\ \textcolor{keywordtype}{void}\ OGGZ;}
\DoxyCodeLine{00442\ }
\DoxyCodeLine{00449\ OGGZ\ *\ oggz\_new\ (\textcolor{keywordtype}{int}\ flags);}
\DoxyCodeLine{00450\ }
\DoxyCodeLine{00458\ OGGZ\ *\ oggz\_open\ (\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *\ filename,\ \textcolor{keywordtype}{int}\ flags);}
\DoxyCodeLine{00459\ }
\DoxyCodeLine{00467\ OGGZ\ *\ oggz\_open\_stdio\ (FILE\ *\ file,\ \textcolor{keywordtype}{int}\ flags);}
\DoxyCodeLine{00468\ }
\DoxyCodeLine{00477\ \textcolor{keywordtype}{int}\ oggz\_flush\ (OGGZ\ *\ oggz);}
\DoxyCodeLine{00478\ }
\DoxyCodeLine{00500\ \textcolor{keywordtype}{long}\ oggz\_run\ (OGGZ\ *\ oggz);}
\DoxyCodeLine{00501\ }
\DoxyCodeLine{00510\ \textcolor{keywordtype}{int}\ oggz\_run\_set\_blocksize\ (OGGZ\ *\ oggz,\ \textcolor{keywordtype}{long}\ blocksize);}
\DoxyCodeLine{00511\ }
\DoxyCodeLine{00519\ \textcolor{keywordtype}{int}\ oggz\_close\ (OGGZ\ *\ oggz);}
\DoxyCodeLine{00520\ }
\DoxyCodeLine{00531\ \textcolor{keywordtype}{int}\ oggz\_get\_bos\ (OGGZ\ *\ oggz,\ \textcolor{keywordtype}{long}\ serialno);}
\DoxyCodeLine{00532\ }
\DoxyCodeLine{00543\ \textcolor{keywordtype}{int}\ oggz\_get\_eos\ (OGGZ\ *\ oggz,\ \textcolor{keywordtype}{long}\ serialno);}
\DoxyCodeLine{00544\ }
\DoxyCodeLine{00555\ \textcolor{keywordtype}{int}\ oggz\_get\_numtracks\ (OGGZ\ *\ oggz);}
\DoxyCodeLine{00556\ }
\DoxyCodeLine{00564\ \textcolor{keywordtype}{long}\ oggz\_serialno\_new\ (OGGZ\ *\ oggz);}
\DoxyCodeLine{00565\ }
\DoxyCodeLine{00572\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *}
\DoxyCodeLine{00573\ oggz\_content\_type\ (OggzStreamContent\ content);}
\DoxyCodeLine{00574\ }
\DoxyCodeLine{00575\ \textcolor{preprocessor}{\#include\ <oggz/oggz\_off\_t.h>}}
\DoxyCodeLine{00576\ \textcolor{preprocessor}{\#include\ <oggz/oggz\_read.h>}}
\DoxyCodeLine{00577\ \textcolor{preprocessor}{\#include\ <oggz/oggz\_stream.h>}}
\DoxyCodeLine{00578\ \textcolor{preprocessor}{\#include\ <oggz/oggz\_seek.h>}}
\DoxyCodeLine{00579\ \textcolor{preprocessor}{\#include\ <oggz/oggz\_write.h>}}
\DoxyCodeLine{00580\ \textcolor{preprocessor}{\#include\ <oggz/oggz\_io.h>}}
\DoxyCodeLine{00581\ \textcolor{preprocessor}{\#include\ <oggz/oggz\_comments.h>}}
\DoxyCodeLine{00582\ \textcolor{preprocessor}{\#include\ <oggz/oggz\_deprecated.h>}}
\DoxyCodeLine{00583\ }
\DoxyCodeLine{00584\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{00585\ \}}
\DoxyCodeLine{00586\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00587\ }
\DoxyCodeLine{00588\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ OGGZ\_H\_INCLUDED\ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
