Code

Changed directory layout (for future use of gettext)
[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   int   port;
13   int   reconnect;
14   int   debug;
15   int   find_wrap;
16   int   auto_center;
17   int   wide_cursor;  
18   int   enable_colors;
20 } options_t;
22 extern options_t options;
24 options_t *options_init(void);
25 options_t *options_parse(int argc, const char **argv);