add emacs indentation variables to source files in line with current vim settings
[monky] / src / mpd.h
1 /* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */
2
3 #ifndef MPD_H_
4 #define MPD_H_
5
6 //#include "conky.h"
7
8 struct mpd_s {
9         char *title;
10         char *artist;
11         char *album;
12         const char *status;
13         const char *random;
14         const char *repeat;
15         char *track;
16         char *name;
17         char *file;
18         int is_playing;
19         int volume;
20         float progress;
21         int bitrate;
22         int length;
23         int elapsed;
24 };
25
26 /* functions for setting the configuration values */
27 void mpd_set_host(const char *);
28 void mpd_set_password(const char *, int);
29 void mpd_clear_password(void);
30 int mpd_set_port(const char *);
31
32 /* text object functions */
33 void init_mpd(void);
34 struct mpd_s *mpd_get_info(void);
35 void free_mpd(void);
36 void update_mpd(void);
37
38 #endif /*MPD_H_*/