patch from Steven Richman: adds support for streaming http transport to xmms plugin

This commit is contained in:
Josh Coalson
2004-10-07 00:23:51 +00:00
parent 076adb0334
commit c99aa82edf
8 changed files with 1553 additions and 64 deletions

26
src/plugin_xmms/http.h Normal file
View File

@@ -0,0 +1,26 @@
/* libxmms-flac - XMMS FLAC input plugin
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __HTTP_H__
#define __HTTP_H__
extern int flac_http_open(gchar * url, guint64 offset);
extern void flac_http_close(void);
extern int flac_http_read(gpointer data, gint length);
#endif