view src/scrobbler/scrobbler.h @ 3172:1b2350bdeaef

alsa-ng: Be less stupid if things don't open.
author William Pitcock <nenolod@atheme.org>
date Fri, 15 May 2009 16:06:55 -0500
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