Add configuration system
[blerg.git] / database / configuration.h
diff --git a/database/configuration.h b/database/configuration.h
new file mode 100644 (file)
index 0000000..90bfb9d
--- /dev/null
@@ -0,0 +1,17 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
+#ifndef _CONFIGURATION_H
+#define _CONFIGURATION_H
+
+#include <stdio.h>
+
+struct blerg_configuration {
+       char base_path[FILENAME_MAX];
+};
+
+int blerg_configuration_init();
+
+extern struct blerg_configuration blergconf;
+
+#endif //_CONFIGURATION_H