Code

way too much stuff to describe here
[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 *scroll_sep;
16   char **screen_list;
17   char *timedisplay_type;
18   int   port;
19   int   crossfade_time;
20   int   search_mode;
21   int   hide_cursor;
22   int   seek_time;
23   int   lyrics_timeout;
24   gboolean reconnect;
25   gboolean debug;
26   gboolean find_wrap;
27   gboolean find_show_last_pattern;
28   gboolean list_wrap;
29   gboolean auto_center;
30   gboolean wide_cursor;  
31   gboolean enable_colors;
32   gboolean audible_bell;       
33   gboolean visible_bell;       
34   gboolean enable_xterm_title; 
35   gboolean enable_mouse;
36   gboolean show_splash;
37   gboolean scroll;
39 } options_t;
41 extern options_t options;
43 options_t *options_init(void);
44 options_t *options_parse(int argc, const char **argv);