Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
off_t size,
bool fail_after_createfile);
+bool map_info2_flags_to_sbuf(const SMB_STRUCT_STAT *psbuf,
+ const uint32_t smb_fflags,
+ const uint32_t smb_fmask,
+ int *stat_fflags);
+
enum perm_type {
PERM_NEW_FILE,
PERM_NEW_DIR,
}
}
-static bool map_info2_flags_to_sbuf(const SMB_STRUCT_STAT *psbuf,
- const uint32_t smb_fflags,
- const uint32_t smb_fmask,
- int *stat_fflags)
+bool map_info2_flags_to_sbuf(const SMB_STRUCT_STAT *psbuf,
+ const uint32_t smb_fflags,
+ const uint32_t smb_fmask,
+ int *stat_fflags)
{
uint32_t max_fmask = 0;
size_t i;