| 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 3 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, see <http://www.gnu.org/licenses/>. | 
|---|
| 18 | */ | 
|---|
| 19 |  | 
|---|
| 20 | /** | 
|---|
| 21 | * @file dynconfig.h | 
|---|
| 22 | * | 
|---|
| 23 | * @brief Exported global configurations. | 
|---|
| 24 | **/ | 
|---|
| 25 |  | 
|---|
| 26 | const char *get_dyn_SBINDIR(void); | 
|---|
| 27 | const char *set_dyn_SBINDIR(const char *newpath); | 
|---|
| 28 | bool is_default_dyn_SBINDIR(void); | 
|---|
| 29 |  | 
|---|
| 30 | const char *get_dyn_BINDIR(void); | 
|---|
| 31 | const char *set_dyn_BINDIR(const char *newpath); | 
|---|
| 32 | bool is_default_dyn_BINDIR(void); | 
|---|
| 33 |  | 
|---|
| 34 | const char *get_dyn_SWATDIR(void); | 
|---|
| 35 | const char *set_dyn_SWATDIR(const char *newpath); | 
|---|
| 36 | bool is_default_dyn_SWATDIR(void); | 
|---|
| 37 |  | 
|---|
| 38 | const char *get_dyn_CONFIGFILE(void); | 
|---|
| 39 | const char *set_dyn_CONFIGFILE(const char *newpath); | 
|---|
| 40 | bool is_default_dyn_CONFIGFILE(void); | 
|---|
| 41 |  | 
|---|
| 42 | const char *get_dyn_LOGFILEBASE(void); | 
|---|
| 43 | const char *set_dyn_LOGFILEBASE(const char *newpath); | 
|---|
| 44 | bool is_default_dyn_LOGFILEBASE(void); | 
|---|
| 45 |  | 
|---|
| 46 | const char *get_dyn_LMHOSTSFILE(void); | 
|---|
| 47 | const char *set_dyn_LMHOSTSFILE(const char *newpath); | 
|---|
| 48 | bool is_default_dyn_LMHOSTSFILE(void); | 
|---|
| 49 |  | 
|---|
| 50 | const char *get_dyn_CODEPAGEDIR(void); | 
|---|
| 51 | const char *set_dyn_CODEPAGEDIR(const char *newpath); | 
|---|
| 52 | bool is_default_dyn_CODEPAGEDIR(void); | 
|---|
| 53 |  | 
|---|
| 54 | const char *get_dyn_LIBDIR(void); | 
|---|
| 55 | const char *set_dyn_LIBDIR(const char *newpath); | 
|---|
| 56 | bool is_default_dyn_LIBDIR(void); | 
|---|
| 57 |  | 
|---|
| 58 | const char *get_dyn_MODULESDIR(void); | 
|---|
| 59 | const char *set_dyn_MODULESDIR(const char *newpath); | 
|---|
| 60 | bool is_default_dyn_MODULESDIR(void); | 
|---|
| 61 |  | 
|---|
| 62 | const char *get_dyn_SHLIBEXT(void); | 
|---|
| 63 | const char *set_dyn_SHLIBEXT(const char *newpath); | 
|---|
| 64 | bool is_default_dyn_SHLIBEXT(void); | 
|---|
| 65 |  | 
|---|
| 66 | const char *get_dyn_LOCKDIR(void); | 
|---|
| 67 | const char *set_dyn_LOCKDIR(const char *newpath); | 
|---|
| 68 | bool is_default_dyn_LOCKDIR(void); | 
|---|
| 69 |  | 
|---|
| 70 | const char *get_dyn_STATEDIR(void); | 
|---|
| 71 | const char *set_dyn_STATEDIR(const char *newpath); | 
|---|
| 72 | bool is_default_dyn_STATEDIR(void); | 
|---|
| 73 |  | 
|---|
| 74 | const char *get_dyn_CACHEDIR(void); | 
|---|
| 75 | const char *set_dyn_CACHEDIR(const char *newpath); | 
|---|
| 76 | bool is_default_dyn_CACHEDIR(void); | 
|---|
| 77 |  | 
|---|
| 78 | const char *get_dyn_PIDDIR(void); | 
|---|
| 79 | const char *set_dyn_PIDDIR(const char *newpath); | 
|---|
| 80 | bool is_default_dyn_PIDDIR(void); | 
|---|
| 81 |  | 
|---|
| 82 | const char *get_dyn_NCALRPCDIR(void); | 
|---|
| 83 | const char *set_dyn_NCALRPCDIR(const char *newpath); | 
|---|
| 84 | bool is_default_dyn_NCALRPCDIR(void); | 
|---|
| 85 |  | 
|---|
| 86 | const char *get_dyn_SMB_PASSWD_FILE(void); | 
|---|
| 87 | const char *set_dyn_SMB_PASSWD_FILE(const char *newpath); | 
|---|
| 88 | bool is_default_dyn_SMB_PASSWD_FILE(void); | 
|---|
| 89 |  | 
|---|
| 90 | const char *get_dyn_PRIVATE_DIR(void); | 
|---|
| 91 | const char *set_dyn_PRIVATE_DIR(const char *newpath); | 
|---|
| 92 | bool is_default_dyn_PRIVATE_DIR(void); | 
|---|