diff options
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 0083b50820..fd0154d275 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -4523,3 +4523,29 @@ void set_store_dos_attributes(int snum, BOOL val) return; ServicePtrs[(snum)]->bStoreDosAttributes = val; } + +void lp_set_mangling_method(const char *new_method) +{ + string_set(&Globals.szManglingMethod, new_method); +} + +/******************************************************************* + Global state for POSIX pathname processing. +********************************************************************/ + +static BOOL posix_pathnames; + +BOOL lp_posix_pathnames(void) +{ + return posix_pathnames; +} + +/******************************************************************* + Change everything needed to ensure POSIX pathname processing (currently + not much). +********************************************************************/ + +void lp_set_posix_pathnames(void) +{ + posix_pathnames = True; +} |