aboutsummaryrefslogtreecommitdiffstats
path: root/options.h
blob: 143be3b2df484b29bb4c33dcffa442ce6117cbe3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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, char **argv);
options_t *get_options(void);