diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-27 12:42:39 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-11-29 11:22:01 +0100 |
commit | 44ce5603ddbb1b9d75bfff58e40e7f1ea2821c67 (patch) | |
tree | bd10abc110d1f33352b102f0d3c0df83c1a88774 /source3/include | |
parent | b973c5083699ad2b22c72fafe5c4b77f1f4eeccb (diff) | |
download | samba-44ce5603ddbb1b9d75bfff58e40e7f1ea2821c67.tar.gz samba-44ce5603ddbb1b9d75bfff58e40e7f1ea2821c67.tar.bz2 samba-44ce5603ddbb1b9d75bfff58e40e7f1ea2821c67.zip |
s3: Pass the "fake dir create times" parameter to sys_*stat
Step 0 to restore it as a per-share paramter
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 9e0f3a28df..55da2cf8db 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -925,9 +925,12 @@ int sys_fcntl_ptr(int fd, int cmd, void *arg); int sys_fcntl_long(int fd, int cmd, long arg); void update_stat_ex_mtime(struct stat_ex *dst, struct timespec write_ts); void update_stat_ex_create_time(struct stat_ex *dst, struct timespec create_time); -int sys_stat(const char *fname,SMB_STRUCT_STAT *sbuf); -int sys_fstat(int fd,SMB_STRUCT_STAT *sbuf); -int sys_lstat(const char *fname,SMB_STRUCT_STAT *sbuf); +int sys_stat(const char *fname, SMB_STRUCT_STAT *sbuf, + bool fake_dir_create_times); +int sys_fstat(int fd, SMB_STRUCT_STAT *sbuf, + bool fake_dir_create_times); +int sys_lstat(const char *fname,SMB_STRUCT_STAT *sbuf, + bool fake_dir_create_times); int sys_ftruncate(int fd, SMB_OFF_T offset); SMB_OFF_T sys_lseek(int fd, SMB_OFF_T offset, int whence); int sys_fseek(FILE *fp, SMB_OFF_T offset, int whence); |