1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

param: rename lp function and variable from 'defaultcase' to 'default_case'

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Garming Sam 2014-02-03 15:12:09 +13:00 committed by Jeremy Allison
parent 617d9acf70
commit cfa64d20df
5 changed files with 6 additions and 6 deletions

View File

@ -133,7 +133,7 @@ FN_LOCAL_BOOL(acl_check_permissions, acl_check_permissions)
FN_LOCAL_BOOL(acl_group_control, acl_group_control)
FN_LOCAL_BOOL(acl_map_full_control, acl_map_full_control)
FN_LOCAL_BOOL(acl_allow_execute_always, acl_allow_execute_always)
FN_LOCAL_INTEGER(defaultcase, defaultcase)
FN_LOCAL_INTEGER(default_case, default_case)
FN_LOCAL_INTEGER(minprintspace, minprintspace)
FN_LOCAL_INTEGER(printing, printing)
FN_LOCAL_INTEGER(max_reported_jobs, max_reported_jobs)

View File

@ -2370,7 +2370,7 @@ static struct parm_struct parm_table[] = {
.label = "default case",
.type = P_ENUM,
.p_class = P_LOCAL,
.offset = LOCAL_VAR(defaultcase),
.offset = LOCAL_VAR(default_case),
.special = NULL,
.enum_list = enum_case,
.flags = FLAG_ADVANCED | FLAG_SHARE,

View File

@ -195,7 +195,7 @@ static struct loadparm_service sDefault =
.directory_mask = 0755,
.force_directory_mode = 0,
.max_connections = 0,
.defaultcase = CASE_LOWER,
.default_case = CASE_LOWER,
.printing = DEFAULT_PRINTING,
.oplock_contention_limit = 2,
.csc_policy = 0,

View File

@ -323,7 +323,7 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx,
if (conn->case_sensitive && !conn->case_preserve &&
!conn->short_case_preserve) {
if (!strnorm(smb_fname->base_name, lp_defaultcase(SNUM(conn)))) {
if (!strnorm(smb_fname->base_name, lp_default_case(SNUM(conn)))) {
DEBUG(0, ("strnorm %s failed\n", smb_fname->base_name));
status = NT_STATUS_INVALID_PARAMETER;
goto err;
@ -770,7 +770,7 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx,
conn->params) &&
!conn->short_case_preserve)) {
if (!strnorm(start,
lp_defaultcase(SNUM(conn)))) {
lp_default_case(SNUM(conn)))) {
DEBUG(0, ("strnorm %s failed\n",
start));
status = NT_STATUS_INVALID_PARAMETER;

View File

@ -148,6 +148,6 @@ bool name_to_8_3(const char *in,
return mangle_fns->name_to_8_3(in,
out,
cache83,
lp_defaultcase(p->service),
lp_default_case(p->service),
p);
}