Code

code style, indent with tabs
[ncmpc.git] / src / options.h
2 #define MPD_HOST_ENV "MPD_HOST"
3 #define MPD_PORT_ENV "MPD_PORT"
5 typedef struct {
6         char *host;
7         char *username;
8         char *password;
9         char *config_file;
10         char *key_file;
11         char *list_format;
12         char *status_format;
13         char *xterm_title_format;
14         char *scroll_sep;
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         int lyrics_timeout;
23         gboolean reconnect;
24         gboolean debug;
25         gboolean find_wrap;
26         gboolean find_show_last_pattern;
27         gboolean list_wrap;
28         gboolean auto_center;
29         gboolean wide_cursor;
30         gboolean enable_colors;
31         gboolean audible_bell;
32         gboolean visible_bell;
33         gboolean enable_xterm_title;
34         gboolean enable_mouse;
35         gboolean scroll;
36 } options_t;
38 extern options_t options;
40 options_t *options_init(void);
41 options_t *options_parse(int argc, const char **argv);