Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/mpd_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@

/* forward declaration */
static int mpd_notify_callback(struct mg_connection *c, enum mg_event ev);
char dirble_api_token[28];
struct t_mpd mpd;

const char * mpd_cmd_strs[] = {
MPD_CMDS(GEN_STR)
Expand Down
6 changes: 4 additions & 2 deletions src/mpd_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,11 @@ struct t_mpd {

int song_id;
unsigned queue_version;
} mpd;
};

extern struct t_mpd mpd;

char dirble_api_token[28];
extern char dirble_api_token[28];

struct t_mpd_client_session {
int song_id;
Expand Down