Code

Added list-format and status-format conf options
[ncmpc.git] / src / 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   char *config_file;
11   char *key_file;
12   char *list_format;
13   char *status_format;
14   int   port;
15   int   reconnect;
16   int   debug;
17   int   find_wrap;
18   int   auto_center;
19   int   wide_cursor;  
20   int   enable_colors;
21   int   enable_beep;
23 } options_t;
25 extern options_t options;
27 options_t *options_init(void);
28 options_t *options_parse(int argc, const char **argv);