\section{oggz\+\_\+write.\+h File Reference}
\label{oggz__write_8h}\index{oggz\+\_\+write.\+h@{oggz\+\_\+write.\+h}}


Interfaces for writing Ogg files and streams.  


\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef int($\ast$ \textbf{ Oggz\+Write\+Hungry}) (\textbf{ O\+G\+GZ} $\ast$oggz, int empty, void $\ast$user\+\_\+data)
\begin{DoxyCompactList}\small\item\em This is the signature of a callback which Oggz will call when {\itshape oggz} is \doxyref{hungry }{p.}{group__hungry}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \textbf{ oggz\+\_\+write\+\_\+set\+\_\+hungry\+\_\+callback} (\textbf{ O\+G\+GZ} $\ast$oggz, \textbf{ Oggz\+Write\+Hungry} hungry, int only\+\_\+when\+\_\+empty, void $\ast$user\+\_\+data)
\begin{DoxyCompactList}\small\item\em Set a callback for Oggz to call when {\itshape oggz} is \doxyref{hungry }{p.}{group__hungry}. \end{DoxyCompactList}\item 
int \textbf{ oggz\+\_\+write\+\_\+feed} (\textbf{ O\+G\+GZ} $\ast$oggz, ogg\+\_\+packet $\ast$op, long serialno, int flush, int $\ast$guard)
\begin{DoxyCompactList}\small\item\em Add a packet to {\itshape oggz\textquotesingle{}s} packet queue. \end{DoxyCompactList}\item 
long \textbf{ oggz\+\_\+write\+\_\+output} (\textbf{ O\+G\+GZ} $\ast$oggz, unsigned char $\ast$buf, long n)
\begin{DoxyCompactList}\small\item\em Output data from an O\+G\+GZ handle. \end{DoxyCompactList}\item 
long \textbf{ oggz\+\_\+write} (\textbf{ O\+G\+GZ} $\ast$oggz, long n)
\begin{DoxyCompactList}\small\item\em Write n bytes from an O\+G\+GZ handle. \end{DoxyCompactList}\item 
long \textbf{ oggz\+\_\+write\+\_\+get\+\_\+next\+\_\+page\+\_\+size} (\textbf{ O\+G\+GZ} $\ast$oggz)
\begin{DoxyCompactList}\small\item\em Query the number of bytes in the next page to be written. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Interfaces for writing Ogg files and streams. 

