annotate Plugins/Input/mpg123/xmms-id3.h @ 240:18cb7405b5e9 trunk

[svn] Revert unicode fixes, cause player to bomb out.
author nenolod
date Sun, 27 Nov 2005 11:43:05 -0800
parents 539a0fa7f030
children f12d7e208b43
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
61
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
1 /*********************************************************************
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
2 *
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
3 * Copyright (C) 1998, 1999, 2002, Espen Skoglund
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
4 * Department of Computer Science, University of Tromsų
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
5 *
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
6 * Filename: id3.h
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
7 * Description: Include file for accessing the ID3 library.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
8 * Author: Espen Skoglund <espensk@stud.cs.uit.no>
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
9 * Created at: Thu Nov 5 15:55:10 1998
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
10 *
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
11 * $Id: xmms-id3.h,v 1.1 2004/07/20 21:47:22 descender Exp $
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
12 *
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
13 * This program is free software; you can redistribute it and/or
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
14 * modify it under the terms of the GNU General Public License
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
15 * as published by the Free Software Foundation; either version 2
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
16 * of the License, or (at your option) any later version.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
17 *
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
18 * This program is distributed in the hope that it will be useful,
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
21 * GNU General Public License for more details.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
22 *
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
23 * You should have received a copy of the GNU General Public License
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
24 * along with this program; if not, write to the Free Software
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
25 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
26 *
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
27 ********************************************************************/
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
28 #ifndef ID3_H
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
29 #define ID3_H
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
30
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
31 #include <glib.h>
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
32 #include <libaudacious/vfs.h>
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
33
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
34 /*
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
35 * Option flags to id3_open_*().
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
36 */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
37 #define ID3_OPENF_NONE 0x0000
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
38 #define ID3_OPENF_NOCHK 0x0001
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
39 #define ID3_OPENF_CREATE 0x0002
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
40
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
41
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
42 /*
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
43 * The size of the read buffer used by file operations.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
44 */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
45 #define ID3_FD_BUFSIZE 8192
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
46
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
47
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
48 /*
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
49 * Structure describing the ID3 tag.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
50 */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
51 struct id3_tag {
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
52 int id3_type; /* Memory or file desriptor */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
53 int id3_oflags; /* Flags from open call */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
54 int id3_flags; /* Flags from tag header */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
55 int id3_altered; /* Set when tag has been altered */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
56 int id3_newtag; /* Set if this is a new tag */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
57
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
58 int id3_version; /* Major ID3 version number */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
59 int id3_revision; /* ID3 revision number */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
60
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
61 int id3_tagsize; /* Total size of ID3 tag */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
62 int id3_pos; /* Current position within tag */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
63
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
64 char *id3_error_msg; /* Last error message */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
65
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
66 char id3_buffer[256]; /* Used for various strings */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
67
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
68 union {
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
69 /*
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
70 * Memory specific fields.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
71 */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
72 struct {
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
73 void *id3_ptr;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
74 } me;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
75
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
76 /*
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
77 * File desc. specific fields.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
78 */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
79 struct {
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
80 int id3_fd;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
81 void *id3_buf;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
82 } fd;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
83
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
84 /*
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
85 * File ptr. specific fields.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
86 */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
87 struct {
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
88 VFSFile *id3_fp;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
89 void *id3_buf;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
90 } fp;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
91 } s;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
92
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
93 /*
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
94 * Functions for doing operations within ID3 tag.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
95 */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
96 int (*id3_seek) (struct id3_tag *, int);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
97 void *(*id3_read) (struct id3_tag *, void *, int);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
98
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
99 /*
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
100 * Linked list of ID3 frames.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
101 */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
102 GList *id3_frame;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
103 };
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
104
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
105 #define ID3_TYPE_NONE 0
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
106 #define ID3_TYPE_MEM 1
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
107 #define ID3_TYPE_FD 2
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
108 #define ID3_TYPE_FP 3
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
109
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
110
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
111 /*
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
112 * Structure describing an ID3 frame.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
113 */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
114 struct id3_frame {
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
115 struct id3_tag *fr_owner;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
116 struct id3_framedesc *fr_desc;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
117 int fr_flags;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
118 unsigned char fr_encryption;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
119 unsigned char fr_grouping;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
120 unsigned char fr_altered;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
121
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
122 void *fr_data; /* Pointer to frame data, excluding headers */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
123 int fr_size; /* Size of uncompressed frame */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
124
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
125 void *fr_raw_data; /* Frame data */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
126 int fr_raw_size; /* Frame size */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
127
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
128 void *fr_data_z; /* The decompressed compressed frame */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
129 int fr_size_z; /* Size of decompressed compressed frame */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
130 };
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
131
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
132
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
133 /*
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
134 * Structure describing an ID3 frame type.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
135 */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
136 struct id3_framedesc {
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
137 guint32 fd_id;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
138 char fd_idstr[4];
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
139 char *fd_description;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
140 };
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
141
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
142
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
143 /*
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
144 * Text encodings.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
145 */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
146 #define ID3_ENCODING_ISO_8859_1 0x00
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
147 #define ID3_ENCODING_UTF16 0x01
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
148 #define ID3_ENCODING_UTF16BE 0x02
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
149 #define ID3_ENCODING_UTF8 0x03
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
150
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
151
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
152
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
153 /*
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
154 * ID3 frame id numbers.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
155 */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
156 #define ID3_FRAME_ID(a,b,c,d) ((a << 24) | (b << 16) | (c << 8) | d)
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
157
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
158 #define ID3_AENC ID3_FRAME_ID('A','E','N','C')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
159 #define ID3_APIC ID3_FRAME_ID('A','P','I','C')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
160 #define ID3_ASPI ID3_FRAME_ID('A','S','P','I')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
161 #define ID3_COMM ID3_FRAME_ID('C','O','M','M')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
162 #define ID3_COMR ID3_FRAME_ID('C','O','M','R')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
163 #define ID3_ENCR ID3_FRAME_ID('E','N','C','R')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
164 #define ID3_EQUA ID3_FRAME_ID('E','Q','U','A')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
165 #define ID3_EQU2 ID3_FRAME_ID('E','Q','U','2')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
166 #define ID3_ETCO ID3_FRAME_ID('E','T','C','O')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
167 #define ID3_GEOB ID3_FRAME_ID('G','E','O','B')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
168 #define ID3_GRID ID3_FRAME_ID('G','R','I','D')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
169 #define ID3_IPLS ID3_FRAME_ID('I','P','L','S')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
170 #define ID3_LINK ID3_FRAME_ID('L','I','N','K')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
171 #define ID3_MCDI ID3_FRAME_ID('M','C','D','I')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
172 #define ID3_MLLT ID3_FRAME_ID('M','L','L','T')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
173 #define ID3_OWNE ID3_FRAME_ID('O','W','N','E')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
174 #define ID3_PRIV ID3_FRAME_ID('P','R','I','V')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
175 #define ID3_PCNT ID3_FRAME_ID('P','C','N','T')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
176 #define ID3_POPM ID3_FRAME_ID('P','O','P','M')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
177 #define ID3_POSS ID3_FRAME_ID('P','O','S','S')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
178 #define ID3_RBUF ID3_FRAME_ID('R','B','U','F')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
179 #define ID3_RVAD ID3_FRAME_ID('R','V','A','D')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
180 #define ID3_RVA2 ID3_FRAME_ID('R','V','A','2')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
181 #define ID3_RVRB ID3_FRAME_ID('R','V','R','B')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
182 #define ID3_SEEK ID3_FRAME_ID('S','E','E','K')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
183 #define ID3_SIGN ID3_FRAME_ID('S','I','G','N')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
184 #define ID3_SYLT ID3_FRAME_ID('S','Y','L','T')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
185 #define ID3_SYTC ID3_FRAME_ID('S','Y','T','C')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
186 #define ID3_TALB ID3_FRAME_ID('T','A','L','B')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
187 #define ID3_TBPM ID3_FRAME_ID('T','B','P','M')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
188 #define ID3_TCOM ID3_FRAME_ID('T','C','O','M')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
189 #define ID3_TCON ID3_FRAME_ID('T','C','O','N')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
190 #define ID3_TCOP ID3_FRAME_ID('T','C','O','P')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
191 #define ID3_TDAT ID3_FRAME_ID('T','D','A','T')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
192 #define ID3_TDEN ID3_FRAME_ID('T','D','E','N')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
193 #define ID3_TDLY ID3_FRAME_ID('T','D','L','Y')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
194 #define ID3_TDOR ID3_FRAME_ID('T','D','O','R')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
195 #define ID3_TDRC ID3_FRAME_ID('T','D','R','C')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
196 #define ID3_TDRL ID3_FRAME_ID('T','D','R','L')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
197 #define ID3_TDTG ID3_FRAME_ID('T','D','T','G')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
198 #define ID3_TENC ID3_FRAME_ID('T','E','N','C')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
199 #define ID3_TEXT ID3_FRAME_ID('T','E','X','T')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
200 #define ID3_TFLT ID3_FRAME_ID('T','F','L','T')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
201 #define ID3_TIME ID3_FRAME_ID('T','I','M','E')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
202 #define ID3_TIPL ID3_FRAME_ID('T','I','P','L')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
203 #define ID3_TIT1 ID3_FRAME_ID('T','I','T','1')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
204 #define ID3_TIT2 ID3_FRAME_ID('T','I','T','2')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
205 #define ID3_TIT3 ID3_FRAME_ID('T','I','T','3')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
206 #define ID3_TKEY ID3_FRAME_ID('T','K','E','Y')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
207 #define ID3_TLAN ID3_FRAME_ID('T','L','A','N')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
208 #define ID3_TLEN ID3_FRAME_ID('T','L','E','N')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
209 #define ID3_TMCL ID3_FRAME_ID('T','M','C','L')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
210 #define ID3_TMED ID3_FRAME_ID('T','M','E','D')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
211 #define ID3_TMOO ID3_FRAME_ID('T','M','O','O')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
212 #define ID3_TOAL ID3_FRAME_ID('T','O','A','L')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
213 #define ID3_TOFN ID3_FRAME_ID('T','O','F','N')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
214 #define ID3_TOLY ID3_FRAME_ID('T','O','L','Y')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
215 #define ID3_TOPE ID3_FRAME_ID('T','O','P','E')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
216 #define ID3_TORY ID3_FRAME_ID('T','O','R','Y')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
217 #define ID3_TOWN ID3_FRAME_ID('T','O','W','N')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
218 #define ID3_TPE1 ID3_FRAME_ID('T','P','E','1')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
219 #define ID3_TPE2 ID3_FRAME_ID('T','P','E','2')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
220 #define ID3_TPE3 ID3_FRAME_ID('T','P','E','3')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
221 #define ID3_TPE4 ID3_FRAME_ID('T','P','E','4')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
222 #define ID3_TPOS ID3_FRAME_ID('T','P','O','S')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
223 #define ID3_TPRO ID3_FRAME_ID('T','P','R','O')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
224 #define ID3_TPUB ID3_FRAME_ID('T','P','U','B')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
225 #define ID3_TRCK ID3_FRAME_ID('T','R','C','K')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
226 #define ID3_TRDA ID3_FRAME_ID('T','R','D','A')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
227 #define ID3_TRSN ID3_FRAME_ID('T','R','S','N')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
228 #define ID3_TRSO ID3_FRAME_ID('T','R','S','O')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
229 #define ID3_TSIZ ID3_FRAME_ID('T','S','I','Z')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
230 #define ID3_TSOA ID3_FRAME_ID('T','S','O','A')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
231 #define ID3_TSOP ID3_FRAME_ID('T','S','O','P')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
232 #define ID3_TSOT ID3_FRAME_ID('T','S','O','T')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
233 #define ID3_TSRC ID3_FRAME_ID('T','S','R','C')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
234 #define ID3_TSSE ID3_FRAME_ID('T','S','S','E')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
235 #define ID3_TSST ID3_FRAME_ID('T','S','S','T')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
236 #define ID3_TYER ID3_FRAME_ID('T','Y','E','R')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
237 #define ID3_TXXX ID3_FRAME_ID('T','X','X','X')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
238 #define ID3_UFID ID3_FRAME_ID('U','F','I','D')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
239 #define ID3_USER ID3_FRAME_ID('U','S','E','R')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
240 #define ID3_USLT ID3_FRAME_ID('U','S','L','T')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
241 #define ID3_WCOM ID3_FRAME_ID('W','C','O','M')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
242 #define ID3_WCOP ID3_FRAME_ID('W','C','O','P')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
243 #define ID3_WOAF ID3_FRAME_ID('W','O','A','F')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
244 #define ID3_WOAR ID3_FRAME_ID('W','O','A','R')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
245 #define ID3_WOAS ID3_FRAME_ID('W','O','A','S')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
246 #define ID3_WORS ID3_FRAME_ID('W','O','R','S')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
247 #define ID3_WPAY ID3_FRAME_ID('W','P','A','Y')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
248 #define ID3_WPUB ID3_FRAME_ID('W','P','U','B')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
249 #define ID3_WXXX ID3_FRAME_ID('W','X','X','X')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
250
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
251 /*
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
252 * Version 2.2.0
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
253 */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
254
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
255 #define ID3_FRAME_ID_22(a, b, c) ((a << 16) | (b << 8) | c)
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
256
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
257 #define ID3_BUF ID3_FRAME_ID_22('B', 'U', 'F')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
258 #define ID3_CNT ID3_FRAME_ID_22('C', 'N', 'T')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
259 #define ID3_COM ID3_FRAME_ID_22('C', 'O', 'M')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
260 #define ID3_CRA ID3_FRAME_ID_22('C', 'R', 'A')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
261 #define ID3_CRM ID3_FRAME_ID_22('C', 'R', 'M')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
262 #define ID3_ETC ID3_FRAME_ID_22('E', 'T', 'C')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
263 #define ID3_EQU ID3_FRAME_ID_22('E', 'Q', 'U')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
264 #define ID3_GEO ID3_FRAME_ID_22('G', 'E', 'O')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
265 #define ID3_IPL ID3_FRAME_ID_22('I', 'P', 'L')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
266 #define ID3_LNK ID3_FRAME_ID_22('L', 'N', 'K')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
267 #define ID3_MCI ID3_FRAME_ID_22('M', 'C', 'I')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
268 #define ID3_MLL ID3_FRAME_ID_22('M', 'L', 'L')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
269 #define ID3_PIC ID3_FRAME_ID_22('P', 'I', 'C')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
270 #define ID3_POP ID3_FRAME_ID_22('P', 'O', 'P')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
271 #define ID3_REV ID3_FRAME_ID_22('R', 'E', 'V')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
272 #define ID3_RVA ID3_FRAME_ID_22('R', 'V', 'A')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
273 #define ID3_SLT ID3_FRAME_ID_22('S', 'L', 'T')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
274 #define ID3_STC ID3_FRAME_ID_22('S', 'T', 'C')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
275 #define ID3_TAL ID3_FRAME_ID_22('T', 'A', 'L')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
276 #define ID3_TBP ID3_FRAME_ID_22('T', 'B', 'P')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
277 #define ID3_TCM ID3_FRAME_ID_22('T', 'C', 'M')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
278 #define ID3_TCO ID3_FRAME_ID_22('T', 'C', 'O')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
279 #define ID3_TCR ID3_FRAME_ID_22('T', 'C', 'R')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
280 #define ID3_TDA ID3_FRAME_ID_22('T', 'D', 'A')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
281 #define ID3_TDY ID3_FRAME_ID_22('T', 'D', 'Y')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
282 #define ID3_TEN ID3_FRAME_ID_22('T', 'E', 'N')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
283 #define ID3_TFT ID3_FRAME_ID_22('T', 'F', 'T')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
284 #define ID3_TIM ID3_FRAME_ID_22('T', 'I', 'M')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
285 #define ID3_TKE ID3_FRAME_ID_22('T', 'K', 'E')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
286 #define ID3_TLA ID3_FRAME_ID_22('T', 'L', 'A')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
287 #define ID3_TLE ID3_FRAME_ID_22('T', 'L', 'E')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
288 #define ID3_TMT ID3_FRAME_ID_22('T', 'M', 'T')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
289 #define ID3_TOA ID3_FRAME_ID_22('T', 'O', 'A')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
290 #define ID3_TOF ID3_FRAME_ID_22('T', 'O', 'F')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
291 #define ID3_TOL ID3_FRAME_ID_22('T', 'O', 'L')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
292 #define ID3_TOR ID3_FRAME_ID_22('T', 'O', 'R')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
293 #define ID3_TOT ID3_FRAME_ID_22('T', 'O', 'T')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
294 #define ID3_TP1 ID3_FRAME_ID_22('T', 'P', '1')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
295 #define ID3_TP2 ID3_FRAME_ID_22('T', 'P', '2')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
296 #define ID3_TP3 ID3_FRAME_ID_22('T', 'P', '3')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
297 #define ID3_TP4 ID3_FRAME_ID_22('T', 'P', '4')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
298 #define ID3_TPA ID3_FRAME_ID_22('T', 'P', 'A')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
299 #define ID3_TPB ID3_FRAME_ID_22('T', 'P', 'B')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
300 #define ID3_TRC ID3_FRAME_ID_22('T', 'R', 'C')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
301 #define ID3_TRD ID3_FRAME_ID_22('T', 'R', 'D')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
302 #define ID3_TRK ID3_FRAME_ID_22('T', 'R', 'K')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
303 #define ID3_TSI ID3_FRAME_ID_22('T', 'S', 'I')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
304 #define ID3_TSS ID3_FRAME_ID_22('T', 'S', 'S')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
305 #define ID3_TT1 ID3_FRAME_ID_22('T', 'T', '1')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
306 #define ID3_TT2 ID3_FRAME_ID_22('T', 'T', '2')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
307 #define ID3_TT3 ID3_FRAME_ID_22('T', 'T', '3')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
308 #define ID3_TXT ID3_FRAME_ID_22('T', 'X', 'T')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
309 #define ID3_TXX ID3_FRAME_ID_22('T', 'X', 'X')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
310 #define ID3_TYE ID3_FRAME_ID_22('T', 'Y', 'E')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
311 #define ID3_UFI ID3_FRAME_ID_22('U', 'F', 'I')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
312 #define ID3_ULT ID3_FRAME_ID_22('U', 'L', 'T')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
313 #define ID3_WAF ID3_FRAME_ID_22('W', 'A', 'F')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
314 #define ID3_WAR ID3_FRAME_ID_22('W', 'A', 'R')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
315 #define ID3_WAS ID3_FRAME_ID_22('W', 'A', 'S')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
316 #define ID3_WCM ID3_FRAME_ID_22('W', 'C', 'M')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
317 #define ID3_WCP ID3_FRAME_ID_22('W', 'C', 'P')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
318 #define ID3_WPB ID3_FRAME_ID_22('W', 'P', 'B')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
319 #define ID3_WXX ID3_FRAME_ID_22('W', 'X', 'X')
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
320
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
321
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
322 /*
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
323 * Prototypes.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
324 */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
325
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
326 /* From id3.c */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
327 struct id3_tag *id3_open_mem(void *, int);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
328 struct id3_tag *id3_open_fd(int, int);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
329 struct id3_tag *id3_open_fp(VFSFile *, int);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
330 int id3_set_output(struct id3_tag *, char *);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
331 int id3_close(struct id3_tag *);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
332 int id3_tell(struct id3_tag *);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
333 int id3_alter_file(struct id3_tag *);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
334 int id3_write_tag(struct id3_tag *, int);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
335
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
336 /* From id3_frame.c */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
337 int id3_read_frame(struct id3_tag *id3);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
338 struct id3_frame *id3_get_frame(struct id3_tag *, guint32, int);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
339 int id3_delete_frame(struct id3_frame *frame);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
340 struct id3_frame *id3_add_frame(struct id3_tag *, guint32);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
341 int id3_decompress_frame(struct id3_frame *);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
342 void id3_destroy_frames(struct id3_tag *id);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
343 void id3_frame_clear_data(struct id3_frame *frame);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
344
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
345 /* From id3_frame_text.c */
240
18cb7405b5e9 [svn] Revert unicode fixes, cause player to bomb out.
nenolod
parents: 227
diff changeset
346 char *id3_utf16_to_ascii(void *);
61
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
347 gint8 id3_get_encoding(struct id3_frame *);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
348 int id3_set_encoding(struct id3_frame *, gint8);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
349 char *id3_get_text(struct id3_frame *);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
350 char *id3_get_text_desc(struct id3_frame *);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
351 int id3_get_text_number(struct id3_frame *);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
352 int id3_set_text(struct id3_frame *, char *);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
353 int id3_set_text_number(struct id3_frame *, int);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
354 gboolean id3_frame_is_text(struct id3_frame *frame);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
355
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
356 /* From id3_frame_content.c */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
357 char *id3_get_content(struct id3_frame *);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
358
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
359 /* From id3_frame_url.c */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
360 char *id3_get_url(struct id3_frame *);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
361 char *id3_get_url_desc(struct id3_frame *);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
362
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
363 /* From id3_tag.c */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
364 void id3_init_tag(struct id3_tag *id3);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
365 int id3_read_tag(struct id3_tag *id3);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
366
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
367 #endif /* ID3_H */