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


Interfaces for writing Ogg files and streams.  


\doxysubsubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef int($\ast$ \textbf{ Oggz\+Write\+Hungry}) (\textbf{ OGGZ} $\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}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \textbf{ oggz\+\_\+write\+\_\+set\+\_\+hungry\+\_\+callback} (\textbf{ OGGZ} $\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{ OGGZ} $\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{ OGGZ} $\ast$oggz, unsigned char $\ast$buf, long n)
\begin{DoxyCompactList}\small\item\em Output data from an \doxyref{OGGZ}{p.}{oggz_8h_a672d218df13da45a4b41d5366211bfee} handle. \end{DoxyCompactList}\item 
long \textbf{ oggz\+\_\+write} (\textbf{ OGGZ} $\ast$oggz, long n)
\begin{DoxyCompactList}\small\item\em Write n bytes from an \doxyref{OGGZ}{p.}{oggz_8h_a672d218df13da45a4b41d5366211bfee} handle. \end{DoxyCompactList}\item 
long \textbf{ oggz\+\_\+write\+\_\+get\+\_\+next\+\_\+page\+\_\+size} (\textbf{ OGGZ} $\ast$oggz)
\begin{DoxyCompactList}\small\item\em Query the number of bytes in the next page to be written. \end{DoxyCompactList}\end{DoxyCompactItemize}


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

