diff options
author | Martin Pool <mbp@samba.org> | 2001-11-19 03:35:27 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2001-11-19 03:35:27 +0000 |
commit | caef2d2884fb202bd6184f9a676ecff94c7ab600 (patch) | |
tree | d092a13a127929ef7255bbc2e69a9dd36c2f00fe /source3/dynconfig.c | |
parent | 4ea31fb67595ae8705701bd9fb8d8a993c4013fb (diff) | |
download | samba-caef2d2884fb202bd6184f9a676ecff94c7ab600.tar.gz samba-caef2d2884fb202bd6184f9a676ecff94c7ab600.tar.bz2 samba-caef2d2884fb202bd6184f9a676ecff94c7ab600.zip |
LIBDIR and LOCKDIR are dynamically configured too.
(This used to be commit 868999ad3c82ad72f11d5b3208b0e42b1ed95096)
Diffstat (limited to 'source3/dynconfig.c')
-rw-r--r-- | source3/dynconfig.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/source3/dynconfig.c b/source3/dynconfig.c index fd77e88309..34603fee86 100644 --- a/source3/dynconfig.c +++ b/source3/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; |