1 /* plugin_common - Routines common to several plugins
2 * Copyright (C) 2002 Josh Coalson
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 #ifndef FLAC__PLUGIN_COMMON__ID3V1_H
20 #define FLAC__PLUGIN_COMMON__ID3V1_H
24 #include "FLAC/ordinals.h"
43 } FLAC_Plugin__Id3v1_Tag;
45 FLAC__bool FLAC_plugin__id3v1_tag_get(const char *filename, FLAC_Plugin__Id3v1_Tag *tag);
48 #define FLAC_PLUGIN__ID3V1_TAG_INVALID_GENRE 255
50 const char *FLAC_plugin__id3v1_tag_get_genre_as_string(unsigned char genre_code);
51 unsigned FLAC_plugin__id3v1_tag_genre_table_max();