summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-12-29 23:27:06 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2010-12-29 23:27:06 +0100
commit757edd54cca1d3bc19617284bba5d008a976f704 (patch)
tree53b1c4b0293e3fa91e642b5e4d6d404f9d05827b /config.h
parent5d94fe647e59aaec7775f1e1bd4a4982b677af01 (diff)
Read music root and httpd port from audist.conf.
Diffstat (limited to 'config.h')
-rw-r--r--config.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/config.h b/config.h
new file mode 100644
index 0000000..2969b2c
--- /dev/null
+++ b/config.h
@@ -0,0 +1,13 @@
+#ifndef CONFIG_H
+#define CONFIG_H
+
+#include <boost/program_options.hpp>
+
+namespace po = boost::program_options;
+
+namespace config {
+ extern po::variables_map vm;
+ void init();
+};
+
+#endif