FN_LOCAL_BOOL(level2_oplocks, level2_oplocks)
FN_LOCAL_BOOL(kernel_share_modes, kernel_share_modes)
FN_LOCAL_BOOL(onlyuser, onlyuser)
-FN_LOCAL_PARM_BOOL(manglednames, manglednames)
+FN_LOCAL_PARM_BOOL(mangled_names, mangled_names)
FN_LOCAL_BOOL(symlinks, symlinks)
FN_LOCAL_BOOL(syncalways, syncalways)
FN_LOCAL_BOOL(strict_allocate, strict_allocate)
.label = "mangled names",
.type = P_BOOL,
.p_class = P_LOCAL,
- .offset = LOCAL_VAR(manglednames),
+ .offset = LOCAL_VAR(mangled_names),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL,
.kernel_oplocks = false,
.level2_oplocks = true,
.onlyuser = false,
- .manglednames = true,
+ .mangled_names = true,
.bWidelinks = false,
.symlinks = true,
.syncalways = false,
bool mangle_must_mangle(const char *fname,
const struct share_params *p)
{
- if (!lp_manglednames(p)) {
+ if (!lp_mangled_names(p)) {
return False;
}
return mangle_fns->must_mangle(fname, p);
/* name mangling can be disabled for speed, in which case
we just truncate the string */
- if (!lp_manglednames(p)) {
+ if (!lp_mangled_names(p)) {
strlcpy(out, in, 13);
return True;
}
ZERO_STRUCT(state);
state.conn = conn;
state.info_level = info_level;
- state.check_mangled_names = lp_manglednames(conn->params);
+ state.check_mangled_names = lp_mangled_names(conn->params);
state.has_wild = dptr_has_wild(dirptr);
state.got_exact_match = false;