Subversion Repositories Kolibri OS

Rev

Rev 1905 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1905 serge 1
/*
2
	icy: support for SHOUTcast ICY meta info, an attempt to keep it organized
3
 
4
	copyright 2006-7 by the mpg123 project - free software under the terms of the LGPL 2.1
5
	see COPYING and AUTHORS files in distribution or http://mpg123.org
6
	initially written by Thomas Orgis and modelled after patch by Honza
7
*/
8
#ifndef MPG123_ICY_H
9
#define MPG123_ICY_H
10
 
11
#ifndef NO_ICY
12
 
13
#include "compat.h"
14
#include "mpg123.h"
15
 
16
struct icy_meta
17
{
18
	char* data;
19
	off_t interval;
20
	off_t next;
21
};
22
 
23
void init_icy(struct icy_meta *);
24
void clear_icy(struct icy_meta *);
25
void reset_icy(struct icy_meta *);
26
 
27
#else
28
 
3960 Serge 29
#undef init_icy
1905 serge 30
#define init_icy(a)
3960 Serge 31
#undef clear_icy
1905 serge 32
#define clear_icy(a)
3960 Serge 33
#undef reset_icy
1905 serge 34
#define reset_icy(a)
35
 
36
#endif /* NO_ICY */
37
 
38
#endif