\doxysection{oggz\+\_\+packet.\+h}
\label{oggz__packet_8h_source}\index{oggz\_packet.h@{oggz\_packet.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{comment}{/*}}
\DoxyCodeLine{2 \textcolor{comment}{   Copyright (C) 2009 Annodex Association}}
\DoxyCodeLine{3 \textcolor{comment}{}}
\DoxyCodeLine{4 \textcolor{comment}{   Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{5 \textcolor{comment}{   modification, are permitted provided that the following conditions}}
\DoxyCodeLine{6 \textcolor{comment}{   are met:}}
\DoxyCodeLine{7 \textcolor{comment}{}}
\DoxyCodeLine{8 \textcolor{comment}{   -\/ Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{9 \textcolor{comment}{   notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{10 \textcolor{comment}{}}
\DoxyCodeLine{11 \textcolor{comment}{   -\/ Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{12 \textcolor{comment}{   notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{13 \textcolor{comment}{   documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{14 \textcolor{comment}{}}
\DoxyCodeLine{15 \textcolor{comment}{   -\/ Neither the name of the Annodex Association nor the names of its}}
\DoxyCodeLine{16 \textcolor{comment}{   contributors may be used to endorse or promote products derived from}}
\DoxyCodeLine{17 \textcolor{comment}{   this software without specific prior written permission.}}
\DoxyCodeLine{18 \textcolor{comment}{}}
\DoxyCodeLine{19 \textcolor{comment}{   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS}}
\DoxyCodeLine{20 \textcolor{comment}{   ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT}}
\DoxyCodeLine{21 \textcolor{comment}{   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A}}
\DoxyCodeLine{22 \textcolor{comment}{   PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE ASSOCIATION OR}}
\DoxyCodeLine{23 \textcolor{comment}{   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,}}
\DoxyCodeLine{24 \textcolor{comment}{   EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,}}
\DoxyCodeLine{25 \textcolor{comment}{   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR}}
\DoxyCodeLine{26 \textcolor{comment}{   PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF}}
\DoxyCodeLine{27 \textcolor{comment}{   LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING}}
\DoxyCodeLine{28 \textcolor{comment}{   NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS}}
\DoxyCodeLine{29 \textcolor{comment}{   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.}}
\DoxyCodeLine{30 \textcolor{comment}{*/}}
\DoxyCodeLine{31 }
\DoxyCodeLine{32 \textcolor{preprocessor}{\#ifndef \_\_OGGZ\_PACKET\_H\_\_}}
\DoxyCodeLine{33 \textcolor{preprocessor}{\#define \_\_OGGZ\_PACKET\_H\_\_}}
\DoxyCodeLine{34 }
\DoxyCodeLine{41 \textcolor{comment}{/************************************************************}}
\DoxyCodeLine{42 \textcolor{comment}{ * OggzPacket}}
\DoxyCodeLine{43 \textcolor{comment}{ */}}
\DoxyCodeLine{44 }
\DoxyCodeLine{48 \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\{}
\DoxyCodeLine{53   ogg\_int64\_t calc\_granulepos;}
\DoxyCodeLine{54 }
\DoxyCodeLine{59   oggz\_off\_t begin\_page\_offset;}
\DoxyCodeLine{60 }
\DoxyCodeLine{65   oggz\_off\_t end\_page\_offset;}
\DoxyCodeLine{66 }
\DoxyCodeLine{68   \textcolor{keywordtype}{int} pages;}
\DoxyCodeLine{69 }
\DoxyCodeLine{78   \textcolor{keywordtype}{int} begin\_segment\_index;}
\DoxyCodeLine{79 \} oggz\_position;}
\DoxyCodeLine{80 }
\DoxyCodeLine{84 \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\{}
\DoxyCodeLine{86   ogg\_packet op;}
\DoxyCodeLine{87 }
\DoxyCodeLine{89   oggz\_position pos;}
\DoxyCodeLine{90 \} oggz\_packet;}
\DoxyCodeLine{91 }
\DoxyCodeLine{92 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* \_\_OGGZ\_PACKET\_H\_\_ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
