diff options
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/options.h b/options.h new file mode 100644 index 000000000..7bf43de95 --- /dev/null +++ b/options.h @@ -0,0 +1,16 @@ + +#define MPD_HOST_ENV "MPD_HOST" +#define MPD_PORT_ENV "MPD_PORT" + + +typedef struct +{ + char *host; + int port; + +} options_t; + +void options_init(void); +options_t *options_parse(int argc, char **argv); +options_t *get_options(void); + |