Mercurial > audlegacy-plugins
diff src/streambrowser/streambrowser.h @ 2735:6d6a3eb67510
some work on the streambrowser
author | Calin Crisan ccrisan@gmail.com |
---|---|
date | Tue, 01 Jul 2008 02:05:25 +0300 |
parents | 28498c0bde64 |
children | d45b4beadf6c |
line wrap: on
line diff
--- a/src/streambrowser/streambrowser.h Mon Jun 23 12:15:36 2008 +0300 +++ b/src/streambrowser/streambrowser.h Tue Jul 01 02:05:25 2008 +0300 @@ -2,11 +2,26 @@ #ifndef STREAMBROWSER_H #define STREAMBROWSER_H -#define DEF_STRING_LEN 256 +#include <glib.h> + +#define DEF_STRING_LEN 1024 +#define DEF_BUFFER_SIZE 512 +#define MAX_UPDATE_THREADS 4 +#define PLAYLIST_TEMP_FILE "file:///tmp/playlist.pls" + + +typedef struct { + + gboolean debug; + +} streambrowser_cfg_t; + +extern streambrowser_cfg_t streambrowser_cfg; void debug(const char *fmt, ...); -void error(const char *fmt, ...); +void failure(const char *fmt, ...); +gboolean fetch_remote_to_local_file(gchar *remote_url, gchar *local_url); #endif // STREAMBROWSER_H