Code

New configuraton option: find-show-last
[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   int   port;
17   int   crossfade_time;
18   int   search_mode;
19   int   hide_cursor;
20   int   seek_time;
21   gboolean reconnect;
22   gboolean debug;
23   gboolean find_wrap;
24   gboolean find_show_last_pattern;
25   gboolean list_wrap;
26   gboolean auto_center;
27   gboolean wide_cursor;  
28   gboolean enable_colors;
29   gboolean audible_bell;       
30   gboolean visible_bell;       
31   gboolean enable_xterm_title; 
32   gboolean enable_mouse;
34 } options_t;
36 extern options_t options;
38 options_t *options_init(void);
39 options_t *options_parse(int argc, const char **argv);