view src/scrobbler/scrobbler.h @ 3193:93cf4d0a0dde

alsa-ng: Prefer "PCM" volume control over "Wave" on systems that have both, for consistency with OSS plugin and maybe other apps (closes AUD-34 and AUD-36).
author John Lindgren <john.lindgren@tds.net>
date Mon, 29 Jun 2009 23:05:56 -0400
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