view src/scrobbler/scrobbler.h @ 3150:062f42c3737e

Fix possible crash in scrobbler plugin
author Tomasz Mon <desowin@gmail.com>
date Tue, 12 May 2009 08:30:43 +0200
parents 5a11abf0075c
children
line wrap: on
line source

#ifndef NET_H
#define NET_H 1

#include <audlegacy/tuple.h>

#define SC_CURL_TIMEOUT 5

gboolean sc_timeout(gpointer data);

int sc_idle(GMutex *);
void sc_init(char *, char *, char *);
void sc_addentry(GMutex *, Tuple *, int);
void sc_cleaner(void);
int sc_catch_error(void);
char *sc_fetch_error(void);
void sc_clear_error(void);
#endif