\doxysection{oggz\+\_\+comments.\+h}
\label{oggz__comments_8h_source}\index{oggz\_comments.h@{oggz\_comments.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\_COMMENT\_H\_\_}}
\DoxyCodeLine{34 \textcolor{preprocessor}{\#define \_\_OGGZ\_COMMENT\_H\_\_}}
\DoxyCodeLine{35 }
\DoxyCodeLine{86 \textcolor{preprocessor}{\#include <oggz/oggz.h>}}
\DoxyCodeLine{87 }
\DoxyCodeLine{91 \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\{}
\DoxyCodeLine{93   \textcolor{keywordtype}{char} * name;}
\DoxyCodeLine{94 }
\DoxyCodeLine{96   \textcolor{keywordtype}{char} * value;}
\DoxyCodeLine{97 \} OggzComment;}
\DoxyCodeLine{98 }
\DoxyCodeLine{99 \textcolor{preprocessor}{\#ifdef \_\_cplusplus}}
\DoxyCodeLine{100 \textcolor{keyword}{extern} \textcolor{stringliteral}{"{}C"{}} \{}
\DoxyCodeLine{101 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{102 }
\DoxyCodeLine{112 \textcolor{keyword}{const} \textcolor{keywordtype}{char} *}
\DoxyCodeLine{113 oggz\_comment\_get\_vendor (OGGZ * oggz, \textcolor{keywordtype}{long} serialno);}
\DoxyCodeLine{114 }
\DoxyCodeLine{128 \textcolor{keywordtype}{int}}
\DoxyCodeLine{129 oggz\_comment\_set\_vendor (OGGZ * oggz, \textcolor{keywordtype}{long} serialno,}
\DoxyCodeLine{130                          \textcolor{keyword}{const} \textcolor{keywordtype}{char} * vendor\_string);}
\DoxyCodeLine{131 }
\DoxyCodeLine{140 \textcolor{keyword}{const} OggzComment *}
\DoxyCodeLine{141 oggz\_comment\_first (OGGZ * oggz, \textcolor{keywordtype}{long} serialno);}
\DoxyCodeLine{142 }
\DoxyCodeLine{153 \textcolor{keyword}{const} OggzComment *}
\DoxyCodeLine{154 oggz\_comment\_next (OGGZ * oggz, \textcolor{keywordtype}{long} serialno, \textcolor{keyword}{const} OggzComment * comment);}
\DoxyCodeLine{155 }
\DoxyCodeLine{167 \textcolor{keyword}{const} OggzComment *}
\DoxyCodeLine{168 oggz\_comment\_first\_byname (OGGZ * oggz, \textcolor{keywordtype}{long} serialno, \textcolor{keywordtype}{char} * name);}
\DoxyCodeLine{169 }
\DoxyCodeLine{182 \textcolor{keyword}{const} OggzComment *}
\DoxyCodeLine{183 oggz\_comment\_next\_byname (OGGZ * oggz, \textcolor{keywordtype}{long} serialno,}
\DoxyCodeLine{184                           \textcolor{keyword}{const} OggzComment * comment);}
\DoxyCodeLine{185 }
\DoxyCodeLine{196 \textcolor{keywordtype}{int}}
\DoxyCodeLine{197 oggz\_comment\_add (OGGZ * oggz, \textcolor{keywordtype}{long} serialno, OggzComment * comment);}
\DoxyCodeLine{198 }
\DoxyCodeLine{210 \textcolor{keywordtype}{int}}
\DoxyCodeLine{211 oggz\_comment\_add\_byname (OGGZ * oggz, \textcolor{keywordtype}{long} serialno,}
\DoxyCodeLine{212                          \textcolor{keyword}{const} \textcolor{keywordtype}{char} * name, \textcolor{keyword}{const} \textcolor{keywordtype}{char} * value);}
\DoxyCodeLine{213 }
\DoxyCodeLine{226 \textcolor{keywordtype}{int}}
\DoxyCodeLine{227 oggz\_comment\_remove (OGGZ * oggz, \textcolor{keywordtype}{long} serialno, OggzComment * comment);}
\DoxyCodeLine{228 }
\DoxyCodeLine{240 \textcolor{keywordtype}{int}}
\DoxyCodeLine{241 oggz\_comment\_remove\_byname (OGGZ * oggz, \textcolor{keywordtype}{long} serialno, \textcolor{keywordtype}{char} * name);}
\DoxyCodeLine{242 }
\DoxyCodeLine{265 ogg\_packet *}
\DoxyCodeLine{266 oggz\_comments\_generate(OGGZ * oggz, \textcolor{keywordtype}{long} serialno,}
\DoxyCodeLine{267                        \textcolor{keywordtype}{int} FLAC\_final\_metadata\_block);}
\DoxyCodeLine{268   }
\DoxyCodeLine{269 \textcolor{comment}{/*}}
\DoxyCodeLine{270 \textcolor{comment}{ * Copy comments between two streams.}}
\DoxyCodeLine{271 \textcolor{comment}{ * \(\backslash\)param src A OGGZ* handle}}
\DoxyCodeLine{272 \textcolor{comment}{ * \(\backslash\)param src\_serialno Identify a logical bitstream within \(\backslash\)a src}}
\DoxyCodeLine{273 \textcolor{comment}{ * \(\backslash\)param dest A OGGZ* handle (created with OGGZ\_WRITE)}}
\DoxyCodeLine{274 \textcolor{comment}{ * \(\backslash\)param dest\_serialno Identify a logical bitstream within \(\backslash\)a dest}}
\DoxyCodeLine{275 \textcolor{comment}{ * \(\backslash\)retval OGGZ\_ERR\_BAD \(\backslash\)a oggz is not a valid OGGZ* handle}}
\DoxyCodeLine{276 \textcolor{comment}{ * \(\backslash\)retval OGGZ\_ERR\_INVALID Operation not suitable for \(\backslash\)a dest}}
\DoxyCodeLine{277 \textcolor{comment}{ */}}
\DoxyCodeLine{278 \textcolor{keywordtype}{int}}
\DoxyCodeLine{279 oggz\_comments\_copy (OGGZ * src, \textcolor{keywordtype}{long} src\_serialno,}
\DoxyCodeLine{280                     OGGZ * dest, \textcolor{keywordtype}{long} dest\_serialno);}
\DoxyCodeLine{281 }
\DoxyCodeLine{287 \textcolor{keywordtype}{void} oggz\_packet\_destroy (ogg\_packet *packet);}
\DoxyCodeLine{288 }
\DoxyCodeLine{289 \textcolor{preprocessor}{\#ifdef \_\_cplusplus}}
\DoxyCodeLine{290 \}}
\DoxyCodeLine{291 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{292 }
\DoxyCodeLine{293 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* \_\_OGGZ\_COMMENTS\_H\_\_ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
