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/>.
23 * @brief Exported global configurations.
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_SHLIBEXT(void);
59 const char *set_dyn_SHLIBEXT(const char *newpath
);
60 bool is_default_dyn_SHLIBEXT(void);
62 const char *get_dyn_LOCKDIR(void);
63 const char *set_dyn_LOCKDIR(const char *newpath
);
64 bool is_default_dyn_LOCKDIR(void);
66 const char *get_dyn_PIDDIR(void);
67 const char *set_dyn_PIDDIR(const char *newpath
);
68 bool is_default_dyn_PIDDIR(void);
70 const char *get_dyn_SMB_PASSWD_FILE(void);
71 const char *set_dyn_SMB_PASSWD_FILE(const char *newpath
);
72 bool is_default_dyn_SMB_PASSWD_FILE(void);
74 const char *get_dyn_PRIVATE_DIR(void);
75 const char *set_dyn_PRIVATE_DIR(const char *newpath
);
76 bool is_default_dyn_PRIVATE_DIR(void);
79 * For STATEDIR and CACHEDIR, there are only getter functions.
80 * In non-FHS-mode, these are configurable via LOCKDIR.
81 * In FHS-mode, these are their own fixed directories.
83 const char *get_dyn_STATEDIR(void);
85 const char *get_dyn_CACHEDIR(void);