summaryrefslogtreecommitdiffstats
path: root/source/dynconfig.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-23 00:38:22 +0000
committerJelmer Vernooij <jelmer@samba.org>2005-09-23 00:38:22 +0000
commit78e564615c4d8d1961be7e88d1d0f23dd4ba7704 (patch)
tree17e5a476ed8a11a47b0f85ea5a389c23d797611c /source/dynconfig.c
parentbd2f157470817282be008bebac8a2f2514f1e20d (diff)
downloadsamba-78e564615c4d8d1961be7e88d1d0f23dd4ba7704.tar.gz
samba-78e564615c4d8d1961be7e88d1d0f23dd4ba7704.tar.xz
samba-78e564615c4d8d1961be7e88d1d0f23dd4ba7704.zip
r10438: Move portability functions to lib/replace/; replace now simply ensures
that a given set of (working) POSIX functions are available (without prefixes to their names, etc). See lib/replace/README for a list. Functions that behave different from their POSIX specification (such as sys_select, sys_read, etc) have kept the sys_ prefix.
Diffstat (limited to 'source/dynconfig.c')
-rw-r--r--source/dynconfig.c31
1 files changed, 18 insertions, 13 deletions
diff --git a/source/dynconfig.c b/source/dynconfig.c
index 20567dcafcc..caf75762d55 100644
--- a/source/dynconfig.c
+++ b/source/dynconfig.c
@@ -18,9 +18,6 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "includes.h"
-#include "pstring.h"
-
/**
* @file dynconfig.c
*
@@ -41,25 +38,28 @@
* table? There's kind of a chicken-and-egg situation there...
**/
-const char *dyn_SBINDIR = SBINDIR,
- *dyn_BINDIR = BINDIR;
+/** Directory with super-user binaries */
+const char *dyn_SBINDIR = SBINDIR;
+
+/** Directory with generic binaries */
+const char *dyn_BINDIR = BINDIR;
-const char *dyn_CONFIGFILE = CONFIGFILE; /**< Location of smb.conf file. **/
+/**< Location of smb.conf file. **/
+const char *dyn_CONFIGFILE = CONFIGFILE;
/** Log file directory. **/
-const char *dyn_LOGFILEBASE = LOGFILEBASE;
+const char *dyn_LOGFILEBASE = LOGFILEBASE;
+/** Directory for local RPC (ncalrpc: transport) */
const char *dyn_NCALRPCDIR = NCALRPCDIR;
/** Statically configured LanMan hosts. **/
-const char *dyn_LMHOSTSFILE = LMHOSTSFILE;
+const char *dyn_LMHOSTSFILE = LMHOSTSFILE;
-/**
- * @brief Samba library directory.
- *
- * @sa lib_path() to get the path to a file inside the LIBDIR.
- **/
+/** Samba library directory. */
const char *dyn_LIBDIR = LIBDIR;
+
+/** Shared library extension */
const char *dyn_SHLIBEXT = SHLIBEXT;
/**
@@ -68,7 +68,12 @@ const char *dyn_SHLIBEXT = SHLIBEXT;
* Not writable, but used to set a default in the parameter table.
**/
const char *dyn_LOCKDIR = LOCKDIR;
+
+/** pid file directory */
const char *dyn_PIDDIR = PIDDIR;
+/** Private data directory; holds ldb files and the like */
const char *dyn_PRIVATE_DIR = PRIVATE_DIR;
+
+/** SWAT data file (images, etc) directory */
const char *dyn_SWATDIR = SWATDIR;