Code

included patch from Jonathan Fors
[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   char *xterm_title_format;
15   char **screen_list;
16   char *timedisplay_type;
17   int   port;
18   int   crossfade_time;
19   int   search_mode;
20   int   hide_cursor;
21   int   seek_time;
22   gboolean reconnect;
23   gboolean debug;
24   gboolean find_wrap;
25   gboolean find_show_last_pattern;
26   gboolean list_wrap;
27   gboolean auto_center;
28   gboolean wide_cursor;  
29   gboolean enable_colors;
30   gboolean audible_bell;       
31   gboolean visible_bell;       
32   gboolean enable_xterm_title; 
33   gboolean enable_mouse;
35 } options_t;
37 extern options_t options;
39 options_t *options_init(void);
40 options_t *options_parse(int argc, const char **argv);