\doxysection{oggz\+\_\+write.\+h}
\label{oggz__write_8h_source}\index{oggz\_write.h@{oggz\_write.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\_WRITE\_H\_\_}}
\DoxyCodeLine{00034\ \textcolor{preprocessor}{\#define\ \_\_OGGZ\_WRITE\_H\_\_}}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00039\ }
\DoxyCodeLine{00058\ }
\DoxyCodeLine{00082\ }
\DoxyCodeLine{00111\ }
\DoxyCodeLine{00123\ \textcolor{keyword}{typedef}\ int\ (*OggzWriteHungry)\ (OGGZ\ *\ oggz,\ \textcolor{keywordtype}{int}\ empty,\ \textcolor{keywordtype}{void}\ *\ user\_data);}
\DoxyCodeLine{00124\ }
\DoxyCodeLine{00142\ \textcolor{keywordtype}{int}\ oggz\_write\_set\_hungry\_callback\ (OGGZ\ *\ oggz,}
\DoxyCodeLine{00143\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OggzWriteHungry\ hungry,}
\DoxyCodeLine{00144\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{int}\ only\_when\_empty,}
\DoxyCodeLine{00145\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ *\ user\_data);}
\DoxyCodeLine{00186\ \textcolor{keywordtype}{int}\ oggz\_write\_feed\ (OGGZ\ *\ oggz,\ ogg\_packet\ *\ op,\ \textcolor{keywordtype}{long}\ serialno,\ \textcolor{keywordtype}{int}\ flush,}
\DoxyCodeLine{00187\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{int}\ *\ guard);}
\DoxyCodeLine{00188\ }
\DoxyCodeLine{00207\ \textcolor{keywordtype}{long}\ oggz\_write\_output\ (OGGZ\ *\ oggz,\ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{char}\ *\ buf,\ \textcolor{keywordtype}{long}\ n);}
\DoxyCodeLine{00208\ }
\DoxyCodeLine{00226\ \textcolor{keywordtype}{long}\ oggz\_write\ (OGGZ\ *\ oggz,\ \textcolor{keywordtype}{long}\ n);}
\DoxyCodeLine{00227\ }
\DoxyCodeLine{00236\ \textcolor{keywordtype}{long}\ oggz\_write\_get\_next\_page\_size\ (OGGZ\ *\ oggz);}
\DoxyCodeLine{00237\ }
\DoxyCodeLine{00240\ }
\DoxyCodeLine{00241\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ \_\_OGGZ\_WRITE\_H\_\_\ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
