Mercurial > audlegacy-plugins
view src/streambrowser/streambrowser.h @ 2748:fe0d1cff2cd0
memory leak cleanups.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Mon, 30 Jun 2008 23:11:47 -0500 |
parents | 6d6a3eb67510 |
children | d45b4beadf6c |
line wrap: on
line source
#ifndef STREAMBROWSER_H #define STREAMBROWSER_H #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 failure(const char *fmt, ...); gboolean fetch_remote_to_local_file(gchar *remote_url, gchar *local_url); #endif // STREAMBROWSER_H