\doxysection{oggz\+\_\+seek.\+h}
\label{oggz__seek_8h_source}\index{oggz\_seek.h@{oggz\_seek.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{comment}{/*}}
\DoxyCodeLine{2 \textcolor{comment}{   Copyright (C) 2003 Commonwealth Scientific and Industrial Research}}
\DoxyCodeLine{3 \textcolor{comment}{   Organisation (CSIRO) Australia}}
\DoxyCodeLine{4 \textcolor{comment}{}}
\DoxyCodeLine{5 \textcolor{comment}{   Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{6 \textcolor{comment}{   modification, are permitted provided that the following conditions}}
\DoxyCodeLine{7 \textcolor{comment}{   are met:}}
\DoxyCodeLine{8 \textcolor{comment}{}}
\DoxyCodeLine{9 \textcolor{comment}{   -\/ Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{10 \textcolor{comment}{   notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{11 \textcolor{comment}{}}
\DoxyCodeLine{12 \textcolor{comment}{   -\/ Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{13 \textcolor{comment}{   notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{14 \textcolor{comment}{   documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{15 \textcolor{comment}{}}
\DoxyCodeLine{16 \textcolor{comment}{   -\/ Neither the name of CSIRO Australia nor the names of its}}
\DoxyCodeLine{17 \textcolor{comment}{   contributors may be used to endorse or promote products derived from}}
\DoxyCodeLine{18 \textcolor{comment}{   this software without specific prior written permission.}}
\DoxyCodeLine{19 \textcolor{comment}{}}
\DoxyCodeLine{20 \textcolor{comment}{   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS}}
\DoxyCodeLine{21 \textcolor{comment}{   ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT}}
\DoxyCodeLine{22 \textcolor{comment}{   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A}}
\DoxyCodeLine{23 \textcolor{comment}{   PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE ORGANISATION OR}}
\DoxyCodeLine{24 \textcolor{comment}{   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,}}
\DoxyCodeLine{25 \textcolor{comment}{   EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,}}
\DoxyCodeLine{26 \textcolor{comment}{   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR}}
\DoxyCodeLine{27 \textcolor{comment}{   PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF}}
\DoxyCodeLine{28 \textcolor{comment}{   LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING}}
\DoxyCodeLine{29 \textcolor{comment}{   NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS}}
\DoxyCodeLine{30 \textcolor{comment}{   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.}}
\DoxyCodeLine{31 \textcolor{comment}{*/}}
\DoxyCodeLine{32 }
\DoxyCodeLine{33 \textcolor{preprocessor}{\#ifndef \_\_OGGZ\_SEEK\_H\_\_}}
\DoxyCodeLine{34 \textcolor{preprocessor}{\#define \_\_OGGZ\_SEEK\_H\_\_}}
\DoxyCodeLine{35 }
\DoxyCodeLine{99 ogg\_int64\_t oggz\_tell\_units (OGGZ * oggz);}
\DoxyCodeLine{100 }
\DoxyCodeLine{109 ogg\_int64\_t oggz\_seek\_units (OGGZ * oggz, ogg\_int64\_t units, \textcolor{keywordtype}{int} whence);}
\DoxyCodeLine{110 }
\DoxyCodeLine{119 ogg\_int64\_t}
\DoxyCodeLine{120 oggz\_tell\_granulepos (OGGZ * oggz);}
\DoxyCodeLine{121 }
\DoxyCodeLine{134 oggz\_off\_t oggz\_tell (OGGZ * oggz);}
\DoxyCodeLine{135 }
\DoxyCodeLine{143 oggz\_off\_t oggz\_seek (OGGZ * oggz, oggz\_off\_t offset, \textcolor{keywordtype}{int} whence);}
\DoxyCodeLine{144 }
\DoxyCodeLine{145 \textcolor{preprocessor}{\#ifdef \_UNIMPLEMENTED}}
\DoxyCodeLine{146 \textcolor{keywordtype}{long} oggz\_seek\_packets (OGGZ * oggz, \textcolor{keywordtype}{long} serialno, \textcolor{keywordtype}{long} packets, \textcolor{keywordtype}{int} whence);}
\DoxyCodeLine{147 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{148 }
\DoxyCodeLine{270 \textcolor{keywordtype}{int} oggz\_get\_preroll (OGGZ * oggz, \textcolor{keywordtype}{long} serialno);}
\DoxyCodeLine{271 }
\DoxyCodeLine{283 \textcolor{keywordtype}{int} oggz\_set\_preroll (OGGZ * oggz, \textcolor{keywordtype}{long} serialno, \textcolor{keywordtype}{int} preroll);}
\DoxyCodeLine{284 }
\DoxyCodeLine{294 \textcolor{keywordtype}{int} oggz\_get\_granuleshift (OGGZ * oggz, \textcolor{keywordtype}{long} serialno);}
\DoxyCodeLine{295 }
\DoxyCodeLine{308 \textcolor{keywordtype}{int} oggz\_set\_granuleshift (OGGZ * oggz, \textcolor{keywordtype}{long} serialno, \textcolor{keywordtype}{int} granuleshift);}
\DoxyCodeLine{309 }
\DoxyCodeLine{322 \textcolor{keywordtype}{int} oggz\_get\_granulerate (OGGZ * oggz, \textcolor{keywordtype}{long} serialno,}
\DoxyCodeLine{323                           ogg\_int64\_t * granulerate\_n,}
\DoxyCodeLine{324                           ogg\_int64\_t * granulerate\_d);}
\DoxyCodeLine{325 }
\DoxyCodeLine{339 \textcolor{keywordtype}{int} oggz\_set\_granulerate (OGGZ * oggz, \textcolor{keywordtype}{long} serialno,}
\DoxyCodeLine{340                           ogg\_int64\_t granule\_rate\_numerator,}
\DoxyCodeLine{341                           ogg\_int64\_t granule\_rate\_denominator);}
\DoxyCodeLine{342 }
\DoxyCodeLine{360 \textcolor{keyword}{typedef} ogg\_int64\_t (*OggzMetric) (OGGZ * oggz, \textcolor{keywordtype}{long} serialno,}
\DoxyCodeLine{361                                    ogg\_int64\_t granulepos, \textcolor{keywordtype}{void} * user\_data);}
\DoxyCodeLine{362 }
\DoxyCodeLine{385 \textcolor{keywordtype}{int} oggz\_set\_metric (OGGZ * oggz, \textcolor{keywordtype}{long} serialno, OggzMetric metric,}
\DoxyCodeLine{386                      \textcolor{keywordtype}{void} * user\_data);}
\DoxyCodeLine{387 }
\DoxyCodeLine{388 \textcolor{preprocessor}{\#ifdef \_UNIMPLEMENTED}}
\DoxyCodeLine{445 \textcolor{keyword}{typedef} int (*OggzOrder) (OGGZ * oggz, ogg\_packet * op, \textcolor{keywordtype}{void} * target,}
\DoxyCodeLine{446                          \textcolor{keywordtype}{void} * user\_data);}
\DoxyCodeLine{454 \textcolor{keywordtype}{int} oggz\_set\_order (OGGZ * oggz, \textcolor{keywordtype}{long} serialno, OggzOrder order,}
\DoxyCodeLine{455                     \textcolor{keywordtype}{void} * user\_data);}
\DoxyCodeLine{456 }
\DoxyCodeLine{457 \textcolor{keywordtype}{long} oggz\_seek\_byorder (OGGZ * oggz, \textcolor{keywordtype}{void} * target);}
\DoxyCodeLine{458 }
\DoxyCodeLine{459 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* \_UNIMPLEMENTED */}\textcolor{preprocessor}{}}
\DoxyCodeLine{460 }
\DoxyCodeLine{474 \textcolor{keywordtype}{int} oggz\_set\_data\_start (OGGZ * oggz, oggz\_off\_t offset);}
\DoxyCodeLine{491 ogg\_int64\_t}
\DoxyCodeLine{492 oggz\_bounded\_seek\_set (OGGZ * oggz,}
\DoxyCodeLine{493                        ogg\_int64\_t unit\_target,}
\DoxyCodeLine{494                        ogg\_int64\_t offset\_begin,}
\DoxyCodeLine{495                        ogg\_int64\_t offset\_end);}
\DoxyCodeLine{496 }
\DoxyCodeLine{497 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* \_\_OGGZ\_SEEK\_H\_\_ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
