aboutsummaryrefslogtreecommitdiffstats
path: root/options.h
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-03-19 13:26:18 +0000
committerKalle Wallin <kaw@linux.se>2004-03-19 13:26:18 +0000
commita0592c8cc08b802f86061c88dc6862352b6c3e94 (patch)
treefeda87ba55a404023e62b8d744e2667dccebdc95 /options.h
downloadmpd-a0592c8cc08b802f86061c88dc6862352b6c3e94.tar.gz
mpd-a0592c8cc08b802f86061c88dc6862352b6c3e94.tar.xz
mpd-a0592c8cc08b802f86061c88dc6862352b6c3e94.zip
Imported ncmpc (mpc-ncures).
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@292 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--options.h16
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);
+