Delay checking for want_apcupsd.
[monky] / src / mpd.h
1 #ifndef MPD_H_
2 #define MPD_H_
3
4 //#include "conky.h"
5
6 struct mpd_s {
7         char *title;
8         char *artist;
9         char *album;
10         const char *status;
11         const char *random;
12         const char *repeat;
13         char *track;
14         char *name;
15         char *file;
16         int is_playing;
17         int volume;
18         float progress;
19         int bitrate;
20         int length;
21         int elapsed;
22 };
23
24 /* functions for setting the configuration values */
25 void mpd_set_host(const char *);
26 void mpd_set_password(const char *);
27 void mpd_clear_password(void);
28 int mpd_set_port(const char *);
29
30 /* text object functions */
31 void init_mpd(void);
32 struct mpd_s *mpd_get_info(void);
33 void free_mpd(void);
34 void update_mpd(void);
35
36 #endif /*MPD_H_*/