aboutsummaryrefslogblamecommitdiffstats
path: root/options.h
blob: 49af19984540c5169d62d4ead9d73fdb346563e5 (plain) (tree)
1
2
3
4
5
6
7
8
9








                               

                  



                        
                                                      

                             
#define MPD_HOST_ENV "MPD_HOST"
#define MPD_PORT_ENV "MPD_PORT"


typedef struct 
{
  char *host;
  int   port;
  int   reconnect;
  int   debug;

} options_t;

void options_init(void);
options_t *options_parse(int argc, const char **argv);
options_t *get_options(void);