source: trunk-3.0/source/include/dynconfig.h@ 101

Last change on this file since 101 was 1, checked in by Paul Smedley, 18 years ago

Initial code import

File size: 1.6 KB
Line 
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
27extern char const *dyn_SBINDIR,
28 *dyn_BINDIR,
29 *dyn_SWATDIR;
30
31#ifdef __OS2__
32#define dyn_CONFIGFILE (getconfigfile())
33#define dyn_LOGFILEBASE (getlogbase())
34#define dyn_LOCKDIR (getlockdir())
35#define dyn_PIDDIR (getpiddir())
36#define dyn_PRIVATE_DIR (getprivatedir())
37#define dyn_SMB_PASSWD_FILE (getsmbpasswd())
38#define dyn_LMHOSTSFILE (getlmhosts())
39#else
40extern pstring dyn_CONFIGFILE;
41extern pstring dyn_LOGFILEBASE, dyn_LMHOSTSFILE;
42extern pstring dyn_LOCKDIR;
43extern pstring dyn_PIDDIR;
44extern pstring dyn_SMB_PASSWD_FILE;
45extern pstring dyn_PRIVATE_DIR;
46#endif /* __OS2__ */
47extern fstring dyn_SHLIBEXT;
48extern pstring dyn_LIBDIR;
49
Note: See TracBrowser for help on using the repository browser.