Code

Imported ncmpc (mpc-ncures).
[ncmpc.git] / options.h
2 #define MPD_HOST_ENV "MPD_HOST"
3 #define MPD_PORT_ENV "MPD_PORT"
6 typedef struct 
7 {
8   char *host;
9   int   port;
11 } options_t;
13 void options_init(void);
14 options_t *options_parse(int argc, char **argv);
15 options_t *get_options(void);