diff options
author | Kalle Wallin <kaw@linux.se> | 2004-03-25 11:44:59 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-03-25 11:44:59 +0000 |
commit | 268b0823860274d6079c5dd307770a0769d404ef (patch) | |
tree | 25dea360c739fca9ad931caa1f1aab320770338e /options.h | |
parent | 6777db4e48d23b9841ebd5e081c8dd3f4437a586 (diff) | |
download | mpd-268b0823860274d6079c5dd307770a0769d404ef.tar.gz mpd-268b0823860274d6079c5dd307770a0769d404ef.tar.xz mpd-268b0823860274d6079c5dd307770a0769d404ef.zip |
Added support for a configuration file ~/.ncmpcrc and color support.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@473 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -2,6 +2,8 @@ #define MPD_HOST_ENV "MPD_HOST" #define MPD_PORT_ENV "MPD_PORT" +#define NCMPCRC_ENV "NCMPCRC" + typedef struct { @@ -10,9 +12,21 @@ typedef struct int reconnect; int debug; + int enable_colors; + int bg_color; + int title_color; + int line_color; + int list_color; + int progress_color; + int status_color; + int alert_color; + } options_t; -void options_init(void); +extern options_t options; + +options_t *options_init(void); options_t *options_parse(int argc, const char **argv); -options_t *get_options(void); + + |