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 int port;
15 gboolean reconnect;
16 gboolean debug;
17 gboolean find_wrap;
18 gboolean list_wrap;
19 gboolean auto_center;
20 gboolean wide_cursor;
21 gboolean enable_colors;
22 gboolean audible_bell; /* not implemented */
23 gboolean visible_bell; /* not implemented */
24 gboolean enable_xterm_title; /* not implemented */
26 } options_t;
28 extern options_t options;
30 options_t *options_init(void);
31 options_t *options_parse(int argc, const char **argv);