Code

seek-time can now be defined in the conf file
[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   int   port;
16   int   crossfade_time;
17   int   search_mode;
18   int   hide_cursor;
19   int   seek_time;
20   gboolean reconnect;
21   gboolean debug;
22   gboolean find_wrap;
23   gboolean list_wrap;
24   gboolean auto_center;
25   gboolean wide_cursor;  
26   gboolean enable_colors;
27   gboolean audible_bell;       
28   gboolean visible_bell;       
29   gboolean enable_xterm_title; 
30   gboolean enable_mouse;
32 } options_t;
34 extern options_t options;
36 options_t *options_init(void);
37 options_t *options_parse(int argc, const char **argv);