diff options
author | Volker Lendecke <vl@samba.org> | 2020-03-26 12:29:13 +0100 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2020-04-08 14:46:40 +0000 |
commit | e4aa9a970a483ea16aa5b5bc9f7bbf542a4eeecd (patch) | |
tree | 141fbae7a2e15491eb6f89e715cdd324f0ee562f /source3/include | |
parent | b89ab75cd6a77d2c069051f7bb174882cb5d1e68 (diff) | |
download | samba-e4aa9a970a483ea16aa5b5bc9f7bbf542a4eeecd.tar.gz |
libsmb: Pass "struct timespec" to SMBC_setatr()
Prepare to set higher-precision timestamps. No change in behaviour so
far: The {.tv_nsec=SAMBA_UTIME_OMIT} implicitly sets .tv_sec=0, and
SMBC_setatr() only looks at .tv_sec
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/libsmb_internal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/libsmb_internal.h b/source3/include/libsmb_internal.h index d23b33c43b9..be88e8e300d 100644 --- a/source3/include/libsmb_internal.h +++ b/source3/include/libsmb_internal.h @@ -411,10 +411,10 @@ SMBC_getatr(SMBCCTX * context, bool SMBC_setatr(SMBCCTX * context, SMBCSRV *srv, char *path, - time_t create_time, - time_t access_time, - time_t write_time, - time_t change_time, + struct timespec create_time, + struct timespec access_time, + struct timespec write_time, + struct timespec change_time, uint16_t mode); off_t |