diff options
author | todd stecher <todd.stecher@gmail.com> | 2009-01-23 14:40:19 -0800 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-01-23 21:05:38 -0800 |
commit | 48b0016cff4bad621b94fc0bf678ec15260dd7d7 (patch) | |
tree | 960f825709d1a8eb2af5fb0afb31553262ee290f /source3/modules/vfs_catia.c | |
parent | 7bb3860f49cd8b09c2015f6646c07fe5ebaa0de3 (diff) | |
download | samba-48b0016cff4bad621b94fc0bf678ec15260dd7d7.tar.gz |
Extend NTIMES to allow setting create_time
1) Add in smb_file_time struct to clarify code and make room for createtime.
2) Get and set create time from SMB messages.
3) Fixup existing VFS modules + examples Some OS'es allow for the
setting of the birthtime through kernel interfaces. This value is
generically used for Windows createtime, but is not settable in the
code today.
Diffstat (limited to 'source3/modules/vfs_catia.c')
-rw-r--r-- | source3/modules/vfs_catia.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_catia.c b/source3/modules/vfs_catia.c index 47d178a33f1..d0c341fdd38 100644 --- a/source3/modules/vfs_catia.c +++ b/source3/modules/vfs_catia.c @@ -252,9 +252,9 @@ static char *catia_getwd(vfs_handle_struct *handle, char *buf) } static int catia_ntimes(vfs_handle_struct *handle, - const char *path, const struct timespec ts[2]) + const char *path, struct smb_file_time *ft) { - return SMB_VFS_NEXT_NTIMES(handle, path, ts); + return SMB_VFS_NEXT_NTIMES(handle, path, ft); } static bool catia_symlink(vfs_handle_struct *handle, |