2007-02-24 15:49:25 -05:00
|
|
|
/*
|
2007-08-02 14:48:26 -04:00
|
|
|
* ezstream - source client for Icecast with external en-/decoder support
|
|
|
|
* Copyright (C) 2003, 2004, 2005, 2006 Ed Zaleski <oddsock@oddsock.org>
|
2015-01-07 17:44:44 -05:00
|
|
|
* Copyright (C) 2007 Moritz Grimm <mgrimm@mrsserver.net>
|
2007-02-24 15:49:25 -05:00
|
|
|
*
|
2007-08-02 14:48:26 -04:00
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
2007-02-24 15:49:25 -05:00
|
|
|
*
|
2007-08-02 14:48:26 -04:00
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
2007-02-24 15:49:25 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __UTIL_H__
|
|
|
|
#define __UTIL_H__
|
|
|
|
|
2009-03-15 06:59:55 -04:00
|
|
|
#include <shout/shout.h>
|
|
|
|
|
2007-08-25 08:24:51 -04:00
|
|
|
#define ICONV_REPLACE 0
|
|
|
|
#define ICONV_TRANSLIT 1
|
|
|
|
#define ICONV_IGNORE 2
|
|
|
|
|
2007-08-23 20:52:13 -04:00
|
|
|
int strrcmp(const char *, const char *);
|
|
|
|
int strrcasecmp(const char *, const char *);
|
2009-03-15 13:18:56 -04:00
|
|
|
shout_t * stream_setup(const char *, unsigned short, const char *);
|
2007-08-25 08:24:51 -04:00
|
|
|
char * CHARtoUTF8(const char *, int);
|
|
|
|
char * UTF8toCHAR(const char *, int);
|
2007-08-31 07:47:54 -04:00
|
|
|
int ez_gettimeofday(void *);
|
2007-02-24 15:49:25 -05:00
|
|
|
|
|
|
|
#endif /* __UTIL_H__ */
|