Will be used in clilist.c for SMB_FIND_FILE_UNIX_INFO2
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
sbuf->st_ex_nlink = BIG_UINT(data, 92);
}
+void fetch_file_unix_basic_info2(
+ const uint8_t data[116], SMB_STRUCT_STAT *sbuf)
+{
+ fetch_file_unix_basic_info(data, sbuf);
+ sbuf->st_ex_btime = interpret_long_date((const char *)(data + 100));
+}
+
/****************************************************************************
Stat a file (UNIX extensions).
****************************************************************************/
const char *newname);
uint32_t unix_perms_to_wire(mode_t perms);
mode_t wire_perms_to_unix(uint32_t perms);
+void fetch_file_unix_basic_info2(
+ const uint8_t data[116], SMB_STRUCT_STAT *sbuf);
struct tevent_req *cli_posix_getacl_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct cli_state *cli,