summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-08-15 00:43:31 +0200
committerMichael Adam <obnox@samba.org>2008-08-15 23:19:57 +0200
commitcc83d5b9f114a6ff1a7d6e1f0ed08c2fc35f53a0 (patch)
tree41ccae9eeda8dddcfd8d50daf57a264f3f9c44ac /source3
parente9739694b62c623f56fd4051ee0921abf9f09d5a (diff)
downloadsamba-cc83d5b9f114a6ff1a7d6e1f0ed08c2fc35f53a0.tar.gz
samba-cc83d5b9f114a6ff1a7d6e1f0ed08c2fc35f53a0.tar.bz2
samba-cc83d5b9f114a6ff1a7d6e1f0ed08c2fc35f53a0.zip
dynconfig: add support for MODULESDIR.
Michael (This used to be commit 34309f097f5c7321930bf6c2ea2447de1008130c)
Diffstat (limited to 'source3')
-rw-r--r--source3/dynconfig.c1
-rw-r--r--source3/include/dynconfig.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/source3/dynconfig.c b/source3/dynconfig.c
index 241a659a51..3a54507599 100644
--- a/source3/dynconfig.c
+++ b/source3/dynconfig.c
@@ -73,6 +73,7 @@ DEFINE_DYN_CONFIG_PARAM(LOGFILEBASE) /** Log file directory. **/
DEFINE_DYN_CONFIG_PARAM(LMHOSTSFILE) /** Statically configured LanMan hosts. **/
DEFINE_DYN_CONFIG_PARAM(CODEPAGEDIR)
DEFINE_DYN_CONFIG_PARAM(LIBDIR)
+DEFINE_DYN_CONFIG_PARAM(MODULESDIR)
DEFINE_DYN_CONFIG_PARAM(SHLIBEXT)
DEFINE_DYN_CONFIG_PARAM(LOCKDIR)
DEFINE_DYN_CONFIG_PARAM(PIDDIR)
diff --git a/source3/include/dynconfig.h b/source3/include/dynconfig.h
index 8a9bb5ef97..758bde33cc 100644
--- a/source3/include/dynconfig.h
+++ b/source3/include/dynconfig.h
@@ -55,6 +55,10 @@ const char *get_dyn_LIBDIR(void);
const char *set_dyn_LIBDIR(const char *newpath);
bool is_default_dyn_LIBDIR(void);
+const char *get_dyn_MODULESDIR(void);
+const char *set_dyn_MODULESDIR(const char *newpath);
+bool is_default_dyn_MODULESDIR(void);
+
const char *get_dyn_SHLIBEXT(void);
const char *set_dyn_SHLIBEXT(const char *newpath);
bool is_default_dyn_SHLIBEXT(void);