2 #define MPD_HOST_ENV "MPD_HOST"
3 #define MPD_PORT_ENV "MPD_PORT"
5 #define NCMPCRC_ENV "NCMPCRC"
8 typedef struct
9 {
10 char *host;
11 int port;
12 int reconnect;
13 int debug;
14 int find_wrap;
16 int enable_colors;
17 int bg_color;
18 int title_color;
19 int line_color;
20 int list_color;
21 int progress_color;
22 int status_color;
23 int alert_color;
25 } options_t;
27 extern options_t options;
29 options_t *options_init(void);
30 options_t *options_parse(int argc, const char **argv);