Code

Renamed ncmpcrc.sample config.sample.
[ncmpc.git] / options.h
2 #define MPD_HOST_ENV "MPD_HOST"
3 #define MPD_PORT_ENV "MPD_PORT"
5 typedef struct 
6 {
7   char *host;
8   char *username;
9   char *password;
10   int   port;
11   int   reconnect;
12   int   debug;
13   int   find_wrap;
14   int   auto_center;
15   
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;
24   int   wide_cursor;
26 } options_t;
28 extern options_t options;
30 options_t *options_init(void);
31 options_t *options_parse(int argc, const char **argv);