Code

d3bbc80dc3f27c677e90daa121bbdfa687169ab2
[ncmpc.git] / options.h
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   char *username;
12   char *password;
13   int   port;
14   int   reconnect;
15   int   debug;
16   int   find_wrap;
17   int   auto_center;
18   
19   int   enable_colors;
20   int   bg_color;
21   int   title_color;
22   int   line_color;
23   int   list_color;
24   int   progress_color;
25   int   status_color;
26   int   alert_color;
28 } options_t;
30 extern options_t options;
32 options_t *options_init(void);
33 options_t *options_parse(int argc, const char **argv);