added libjson-c. added driver, webinterface and userspace daemon for the
[openwrt-10.03/.git] / package / fonera-mp3 / src / lib / mp3_file.h
1 /*
2 * a.lp_mp3 - Open Source Atmel AVR / Fox Board based MP3 Players
3 * Copyright (c) 2003-2006 K. John '2B|!2B' Crispin
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA02111-1307USA
18 *
19 * Feedback, Bugs.... mail john{AT}phrozen.org
20 *
21 */ 
22
23 typedef struct _MP3_FILE_ID3 {
24         unsigned char album[256];
25         unsigned char artist[256];
26         unsigned char track[256];
27 } MP3_FILE_ID3;
28
29 int mp3_file_setup(unsigned char *filename, MP3_FILE_ID3 *id3);
30 int mp3_file_handle(void);
31 int mp3_file_cleanup(void);