diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-09-23 00:38:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:38:45 -0500 |
commit | f3b412fbd6dd94d64eb6a63d88baef2816891c29 (patch) | |
tree | 61b6086157d30cf1dd64c8cc720638cd484c78d1 /source4/dynconfig.c | |
parent | 92d74c340843f52aaced18dcc243965387fcaedb (diff) | |
download | samba-f3b412fbd6dd94d64eb6a63d88baef2816891c29.tar.gz samba-f3b412fbd6dd94d64eb6a63d88baef2816891c29.tar.bz2 samba-f3b412fbd6dd94d64eb6a63d88baef2816891c29.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.
(This used to be commit 29919a71059b29fa27a49b1f5b84bb8881de65fc)
Diffstat (limited to 'source4/dynconfig.c')
-rw-r--r-- | source4/dynconfig.c | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/source4/dynconfig.c b/source4/dynconfig.c index 20567dcafc..caf75762d5 100644 --- a/source4/dynconfig.c +++ b/source4/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; |