FN_LOCAL_BOOL(shortpreservecase, shortpreservecase)
FN_LOCAL_BOOL(hide_dot_files, hide_dot_files)
FN_LOCAL_BOOL(hide_special_files, hide_special_files)
-FN_LOCAL_BOOL(hideunreadable, hideunreadable)
+FN_LOCAL_BOOL(hide_unreadable, hide_unreadable)
FN_LOCAL_BOOL(hideunwriteable_files, hideunwriteable_files)
FN_LOCAL_BOOL(access_based_share_enum, access_based_share_enum)
FN_LOCAL_BOOL(guest_ok, guest_ok)
.label = "hide unreadable",
.type = P_BOOL,
.p_class = P_LOCAL,
- .offset = LOCAL_VAR(hideunreadable),
+ .offset = LOCAL_VAR(hide_unreadable),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL,
.shortpreservecase = true,
.hide_dot_files = true,
.hide_special_files = false,
- .hideunreadable = false,
+ .hide_unreadable = false,
.hideunwriteable_files = false,
.browseable = true,
.access_based_share_enum = false,
bool is_visible_file(connection_struct *conn, const char *dir_path,
const char *name, SMB_STRUCT_STAT *pst, bool use_veto)
{
- bool hide_unreadable = lp_hideunreadable(SNUM(conn));
+ bool hide_unreadable = lp_hide_unreadable(SNUM(conn));
bool hide_unwriteable = lp_hideunwriteable_files(SNUM(conn));
bool hide_special = lp_hide_special_files(SNUM(conn));
char *entry = NULL;
break;
}
- if (lp_hideunreadable(SNUM(tcon->compat)) ||
+ if (lp_hide_unreadable(SNUM(tcon->compat)) ||
lp_hideunwriteable_files(SNUM(tcon->compat))) {
*out_share_flags |= SMB2_SHAREFLAG_ACCESS_BASED_DIRECTORY_ENUM;
}