summaryrefslogtreecommitdiffstats
path: root/src/server/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/globals.h')
-rw-r--r--src/server/globals.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/server/globals.h b/src/server/globals.h
index d3424b6..2dd6e13 100644
--- a/src/server/globals.h
+++ b/src/server/globals.h
@@ -116,9 +116,14 @@ struct _dnbd3_client
};
// #######################################################
+#define CONFIG_FILENAME "server.conf"
+/**
+ * Base directory where the configuration files reside. Will never have a trailing slash.
+ */
+extern char *_configDir;
/**
- * Base directory where all images are stored in. Will always have a trailing slash
+ * Base directory where all images are stored in. Will never have a trailing slash.
*/
extern char *_basePath;
@@ -129,4 +134,6 @@ extern int _vmdkLegacyMode;
extern int _shutdown;
+void globals_loadConfig();
+
#endif /* GLOBALS_H_ */