Mercurial > audlegacy
view Plugins/General/scrobbler/queue.h @ 1621:fae6e0cfcc77 trunk
[svn] - Reapply r2161
author | nhjm449 |
---|---|
date | Tue, 05 Sep 2006 19:57:18 -0700 |
parents | fc478bfe6fe6 |
children |
line wrap: on
line source
#ifndef QUEUE_H #define QUEUE_H 1 #include "libaudacious/titlestring.h" #define I_ARTIST(i) i->artist #define I_TITLE(i) i->title #define I_TIME(i) i->utctime #define I_LEN(i) i->len #define I_MB(i) i->mb #define I_ALBUM(i) i->album typedef struct { char *artist, *title, *mb, *album, *utctime, len[16]; int numtries; void *next; } item_t; void q_put(TitleInput *, int); item_t *q_put2(char *, char *, char *, char *, char *, char *); item_t *q_peek(void); item_t *q_peekall(int); int q_get(void); void q_free(void); int q_len(void); #endif