summaryrefslogtreecommitdiffstats
path: root/source/dynconfig.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-11-19 03:35:27 +0000
committerMartin Pool <mbp@samba.org>2001-11-19 03:35:27 +0000
commit868999ad3c82ad72f11d5b3208b0e42b1ed95096 (patch)
treea83e1a1781449bbe690abd6f5e0de6277fff6b49 /source/dynconfig.c
parentc4b44cfc3f15f9e85a36981867e534792ccb724e (diff)
downloadsamba-868999ad3c82ad72f11d5b3208b0e42b1ed95096.tar.gz
samba-868999ad3c82ad72f11d5b3208b0e42b1ed95096.tar.xz
samba-868999ad3c82ad72f11d5b3208b0e42b1ed95096.zip
LIBDIR and LOCKDIR are dynamically configured too.
Diffstat (limited to 'source/dynconfig.c')
-rw-r--r--source/dynconfig.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/dynconfig.c b/source/dynconfig.c
index fd77e88309b..34603fee86b 100644
--- a/source/dynconfig.c
+++ b/source/dynconfig.c
@@ -34,6 +34,9 @@
* they can for example consistently be set across the whole of Samba
* by command-line parameters, config file entries, or environment
* variables.
+ *
+ * @todo Perhaps eventually these should be merged into the parameter
+ * table? There's kind of a chicken-and-egg situation there...
**/
char const *dyn_SBINDIR = SBINDIR,
@@ -45,3 +48,17 @@ pstring dyn_CONFIGFILE = CONFIGFILE; /**< Location of smb.conf file. **/
pstring dyn_LOGFILEBASE; /**< Log file directory. **/
pstring dyn_LMHOSTSFILE; /**< Statically configured LanMan hosts. **/
+
+/**
+ * @brief Samba library directory.
+ *
+ * @sa lib_path() to get the path to a file inside the LIBDIR.
+ **/
+pstring dyn_LIBDIR;
+
+/**
+ * @brief Directory holding lock files.
+ *
+ * Not writable, but used to set a default in the parameter table.
+ **/
+const pstring dyn_LOCKDIR;