1 | /*
|
---|
2 | Unix SMB/CIFS implementation.
|
---|
3 | Copyright (C) 2001 by Martin Pool <mbp@samba.org>
|
---|
4 | Copyright (C) 2003 by Jim McDonough <jmcd@us.ibm.com>
|
---|
5 |
|
---|
6 | This program is free software; you can redistribute it and/or modify
|
---|
7 | it under the terms of the GNU General Public License as published by
|
---|
8 | the Free Software Foundation; either version 2 of the License, or
|
---|
9 | (at your option) any later version.
|
---|
10 |
|
---|
11 | This program is distributed in the hope that it will be useful,
|
---|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
14 | GNU General Public License for more details.
|
---|
15 |
|
---|
16 | You should have received a copy of the GNU General Public License
|
---|
17 | along with this program; if not, write to the Free Software
|
---|
18 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
---|
19 | */
|
---|
20 |
|
---|
21 | /**
|
---|
22 | * @file dynconfig.h
|
---|
23 | *
|
---|
24 | * @brief Exported global configurations.
|
---|
25 | **/
|
---|
26 |
|
---|
27 | #ifdef __OS2__
|
---|
28 | #define dyn_SBINDIR (getsbindir())
|
---|
29 | #define dyn_BINDIR (getbindir())
|
---|
30 | #define dyn_SWATDIR (getswatdir())
|
---|
31 | #define dyn_CONFIGFILE (getconfigfile())
|
---|
32 | #define dyn_LOGFILEBASE (getlogbase())
|
---|
33 | #define dyn_LOCKDIR (getlockdir())
|
---|
34 | #define dyn_PIDDIR (getpiddir())
|
---|
35 | #define dyn_PRIVATE_DIR (getprivatedir())
|
---|
36 | #define dyn_SMB_PASSWD_FILE (getsmbpasswd())
|
---|
37 | #define dyn_LMHOSTSFILE (getlmhosts())
|
---|
38 | #define dyn_LIBDIR (getlibdir())
|
---|
39 | #else
|
---|
40 | extern char const *dyn_SBINDIR,
|
---|
41 | *dyn_BINDIR,
|
---|
42 | *dyn_SWATDIR;
|
---|
43 | extern pstring dyn_CONFIGFILE;
|
---|
44 | extern pstring dyn_LOGFILEBASE, dyn_LMHOSTSFILE;
|
---|
45 | extern pstring dyn_LOCKDIR;
|
---|
46 | extern pstring dyn_PIDDIR;
|
---|
47 | extern pstring dyn_SMB_PASSWD_FILE;
|
---|
48 | extern pstring dyn_PRIVATE_DIR;
|
---|
49 | extern pstring dyn_LIBDIR;
|
---|
50 | #endif /* __OS2__ */
|
---|
51 | extern fstring dyn_SHLIBEXT;
|
---|
52 |
|
---|