[PATCH] Allow SYSLOG_FACILITY to be modified with a new configure option called ...
[Samba.git] / source / include / dynconfig.h
blob758bde33cc5279b0a3625c54f039d7311f512205
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>
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 3 of the License, or
9 (at your option) any later version.
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.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 /**
21 * @file dynconfig.h
23 * @brief Exported global configurations.
24 **/
26 const char *get_dyn_SBINDIR(void);
27 const char *set_dyn_SBINDIR(const char *newpath);
28 bool is_default_dyn_SBINDIR(void);
30 const char *get_dyn_BINDIR(void);
31 const char *set_dyn_BINDIR(const char *newpath);
32 bool is_default_dyn_BINDIR(void);
34 const char *get_dyn_SWATDIR(void);
35 const char *set_dyn_SWATDIR(const char *newpath);
36 bool is_default_dyn_SWATDIR(void);
38 const char *get_dyn_CONFIGFILE(void);
39 const char *set_dyn_CONFIGFILE(const char *newpath);
40 bool is_default_dyn_CONFIGFILE(void);
42 const char *get_dyn_LOGFILEBASE(void);
43 const char *set_dyn_LOGFILEBASE(const char *newpath);
44 bool is_default_dyn_LOGFILEBASE(void);
46 const char *get_dyn_LMHOSTSFILE(void);
47 const char *set_dyn_LMHOSTSFILE(const char *newpath);
48 bool is_default_dyn_LMHOSTSFILE(void);
50 const char *get_dyn_CODEPAGEDIR(void);
51 const char *set_dyn_CODEPAGEDIR(const char *newpath);
52 bool is_default_dyn_CODEPAGEDIR(void);
54 const char *get_dyn_LIBDIR(void);
55 const char *set_dyn_LIBDIR(const char *newpath);
56 bool is_default_dyn_LIBDIR(void);
58 const char *get_dyn_MODULESDIR(void);
59 const char *set_dyn_MODULESDIR(const char *newpath);
60 bool is_default_dyn_MODULESDIR(void);
62 const char *get_dyn_SHLIBEXT(void);
63 const char *set_dyn_SHLIBEXT(const char *newpath);
64 bool is_default_dyn_SHLIBEXT(void);
66 const char *get_dyn_LOCKDIR(void);
67 const char *set_dyn_LOCKDIR(const char *newpath);
68 bool is_default_dyn_LOCKDIR(void);
70 const char *get_dyn_PIDDIR(void);
71 const char *set_dyn_PIDDIR(const char *newpath);
72 bool is_default_dyn_PIDDIR(void);
74 const char *get_dyn_SMB_PASSWD_FILE(void);
75 const char *set_dyn_SMB_PASSWD_FILE(const char *newpath);
76 bool is_default_dyn_SMB_PASSWD_FILE(void);
78 const char *get_dyn_PRIVATE_DIR(void);
79 const char *set_dyn_PRIVATE_DIR(const char *newpath);
80 bool is_default_dyn_PRIVATE_DIR(void);
83 * For STATEDIR and CACHEDIR, there are only getter functions.
84 * In non-FHS-mode, these are configurable via LOCKDIR.
85 * In FHS-mode, these are their own fixed directories.
87 const char *get_dyn_STATEDIR(void);
89 const char *get_dyn_CACHEDIR(void);