Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 #ifndef __OGGZ_COMMENT_H__
00034 #define __OGGZ_COMMENT_H__
00035
00086 #include <oggz/oggz.h>
00087
00091 typedef struct {
00093 char * name;
00094
00096 char * value;
00097 } OggzComment;
00098
00099 #ifdef __cplusplus
00100 extern "C" {
00101 #endif
00102
00112 const char *
00113 oggz_comment_get_vendor (OGGZ * oggz, long serialno);
00114
00128 int
00129 oggz_comment_set_vendor (OGGZ * oggz, long serialno,
00130 const char * vendor_string);
00131
00140 const OggzComment *
00141 oggz_comment_first (OGGZ * oggz, long serialno);
00142
00153 const OggzComment *
00154 oggz_comment_next (OGGZ * oggz, long serialno, const OggzComment * comment);
00155
00167 const OggzComment *
00168 oggz_comment_first_byname (OGGZ * oggz, long serialno, char * name);
00169
00182 const OggzComment *
00183 oggz_comment_next_byname (OGGZ * oggz, long serialno,
00184 const OggzComment * comment);
00185
00196 int
00197 oggz_comment_add (OGGZ * oggz, long serialno, OggzComment * comment);
00198
00210 int
00211 oggz_comment_add_byname (OGGZ * oggz, long serialno,
00212 const char * name, const char * value);
00213
00226 int
00227 oggz_comment_remove (OGGZ * oggz, long serialno, OggzComment * comment);
00228
00240 int
00241 oggz_comment_remove_byname (OGGZ * oggz, long serialno, char * name);
00242
00265 ogg_packet *
00266 oggz_comments_generate(OGGZ * oggz, long serialno,
00267 int FLAC_final_metadata_block);
00268
00269
00270
00271
00272
00273
00274
00275
00276
00277
00278 int
00279 oggz_comments_copy (OGGZ * src, long src_serialno,
00280 OGGZ * dest, long dest_serialno);
00281
00287 void oggz_packet_destroy (ogg_packet *packet);
00288
00289 #ifdef __cplusplus
00290 }
00291 #endif
00292
00293 #endif