aboutsummaryrefslogtreecommitdiffstats
path: root/options.h
blob: 49af19984540c5169d62d4ead9d73fdb346563e5 (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, const char **argv);
options_t *get_options(void);