2001-11-19 02:49:53 +00:00
/*
2002-01-30 06:08:46 +00:00
Unix SMB / CIFS implementation .
2001-11-19 02:49:53 +00:00
Copyright ( C ) 2001 by Martin Pool < mbp @ samba . org >
2003-08-01 14:47:39 +00:00
Copyright ( C ) 2003 by Jim McDonough < jmcd @ us . ibm . com >
2001-11-19 02:49:53 +00:00
This program is free software ; you can redistribute it and / or modify
it under the terms of the GNU General Public License as published by
2007-07-09 19:25:36 +00:00
the Free Software Foundation ; either version 3 of the License , or
2001-11-19 02:49:53 +00:00
( at your option ) any later version .
This program is distributed in the hope that it will be useful ,
but WITHOUT ANY WARRANTY ; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
GNU General Public License for more details .
You should have received a copy of the GNU General Public License
2007-07-10 00:52:41 +00:00
along with this program . If not , see < http : //www.gnu.org/licenses/>.
2001-11-19 02:49:53 +00:00
*/
/**
* @ file dynconfig . h
*
* @ brief Exported global configurations .
* */
2007-12-10 11:30:37 -08:00
const char * get_dyn_SBINDIR ( void ) ;
const char * set_dyn_SBINDIR ( const char * newpath ) ;
2008-02-04 16:16:59 +01:00
bool is_default_dyn_SBINDIR ( void ) ;
2007-12-10 11:30:37 -08:00
const char * get_dyn_BINDIR ( void ) ;
const char * set_dyn_BINDIR ( const char * newpath ) ;
2008-02-04 16:16:59 +01:00
bool is_default_dyn_BINDIR ( void ) ;
2007-12-10 11:30:37 -08:00
const char * get_dyn_SWATDIR ( void ) ;
const char * set_dyn_SWATDIR ( const char * newpath ) ;
2008-02-04 16:16:59 +01:00
bool is_default_dyn_SWATDIR ( void ) ;
2007-12-10 11:30:37 -08:00
const char * get_dyn_CONFIGFILE ( void ) ;
const char * set_dyn_CONFIGFILE ( const char * newpath ) ;
2008-02-04 16:16:59 +01:00
bool is_default_dyn_CONFIGFILE ( void ) ;
2007-12-10 11:30:37 -08:00
2008-02-04 17:58:31 +01:00
const char * get_dyn_LOGFILEBASE ( void ) ;
const char * set_dyn_LOGFILEBASE ( const char * newpath ) ;
2008-02-04 16:16:59 +01:00
bool is_default_dyn_LOGFILEBASE ( void ) ;
2007-12-10 11:30:37 -08:00
const char * get_dyn_LMHOSTSFILE ( void ) ;
const char * set_dyn_LMHOSTSFILE ( const char * newpath ) ;
2008-02-13 01:39:49 +01:00
bool is_default_dyn_LMHOSTSFILE ( void ) ;
2007-12-10 11:30:37 -08:00
const char * get_dyn_CODEPAGEDIR ( void ) ;
const char * set_dyn_CODEPAGEDIR ( const char * newpath ) ;
2008-02-04 16:16:59 +01:00
bool is_default_dyn_CODEPAGEDIR ( void ) ;
2007-12-10 11:30:37 -08:00
const char * get_dyn_LIBDIR ( void ) ;
const char * set_dyn_LIBDIR ( const char * newpath ) ;
2008-02-04 16:16:59 +01:00
bool is_default_dyn_LIBDIR ( void ) ;
2007-12-10 11:30:37 -08:00
2008-08-15 00:43:31 +02:00
const char * get_dyn_MODULESDIR ( void ) ;
const char * set_dyn_MODULESDIR ( const char * newpath ) ;
bool is_default_dyn_MODULESDIR ( void ) ;
2007-12-10 11:30:37 -08:00
const char * get_dyn_SHLIBEXT ( void ) ;
const char * set_dyn_SHLIBEXT ( const char * newpath ) ;
2008-02-04 16:16:59 +01:00
bool is_default_dyn_SHLIBEXT ( void ) ;
2007-12-10 11:30:37 -08:00
const char * get_dyn_LOCKDIR ( void ) ;
const char * set_dyn_LOCKDIR ( const char * newpath ) ;
2008-02-04 16:16:59 +01:00
bool is_default_dyn_LOCKDIR ( void ) ;
2007-12-10 11:30:37 -08:00
const char * get_dyn_PIDDIR ( void ) ;
const char * set_dyn_PIDDIR ( const char * newpath ) ;
2008-02-04 16:16:59 +01:00
bool is_default_dyn_PIDDIR ( void ) ;
2007-12-10 11:30:37 -08:00
2008-09-22 19:24:59 +02:00
const char * get_dyn_NCALRPCDIR ( void ) ;
const char * set_dyn_NCALRPCDIR ( const char * newpath ) ;
bool is_default_dyn_NCALRPCDIR ( void ) ;
2007-12-10 11:30:37 -08:00
const char * get_dyn_SMB_PASSWD_FILE ( void ) ;
const char * set_dyn_SMB_PASSWD_FILE ( const char * newpath ) ;
2008-02-04 16:16:59 +01:00
bool is_default_dyn_SMB_PASSWD_FILE ( void ) ;
2007-12-10 11:30:37 -08:00
const char * get_dyn_PRIVATE_DIR ( void ) ;
const char * set_dyn_PRIVATE_DIR ( const char * newpath ) ;
2008-02-04 16:16:59 +01:00
bool is_default_dyn_PRIVATE_DIR ( void ) ;
2007-12-10 11:30:37 -08:00
2008-08-14 23:44:06 +02:00
/*
* For STATEDIR and CACHEDIR , there are only getter functions .
* In non - FHS - mode , these are configurable via LOCKDIR .
* In FHS - mode , these are their own fixed directories .
*/
2007-12-10 11:30:37 -08:00
const char * get_dyn_STATEDIR ( void ) ;
2008-02-04 16:16:59 +01:00
2007-12-10 11:30:37 -08:00
const char * get_dyn_CACHEDIR ( void ) ;