view src/scrobbler/scrobbler.h @ 3006:169f6ee38cad

Defining C functions in headers is awkward, move to the one C file that actually uses it.
author Tony Vroon <chainsaw@gentoo.org>
date Wed, 08 Apr 2009 22:30:45 +0100
parents 3134a0987162
children 5a11abf0075c
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 *);
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