summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-10-19 15:57:24 +0200
committerStefan Metzmacher <metze@samba.org>2012-10-19 17:13:35 +0200
commita6726f9023c899415441a619473ea9a7819d7c36 (patch)
treefa94ca86f364ccc9a642f0ea8d8e83951b6abe1f /source3
parent660e90d39174fbfea0e93f40adfe03fefb86916f (diff)
downloadsamba-a6726f9023c899415441a619473ea9a7819d7c36.tar.gz
samba-a6726f9023c899415441a619473ea9a7819d7c36.tar.bz2
samba-a6726f9023c899415441a619473ea9a7819d7c36.zip
s3:open_files.idl: add stat-info to vfs_default_durable_cookie.
Pair-programmed-with: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/librpc/idl/open_files.idl23
1 files changed, 23 insertions, 0 deletions
diff --git a/source3/librpc/idl/open_files.idl b/source3/librpc/idl/open_files.idl
index 0dd98596e4..fa87bc7592 100644
--- a/source3/librpc/idl/open_files.idl
+++ b/source3/librpc/idl/open_files.idl
@@ -52,6 +52,28 @@ interface open_files
"VFS_DEFAULT_DURABLE_COOKIE_MAGIC ";
const uint32 VFS_DEFAULT_DURABLE_COOKIE_VERSION = 0;
+ /* this corresponds to struct stat_ex (SMB_STRUCT_STAT) */
+ typedef struct {
+ hyper st_ex_dev;
+ hyper st_ex_ino;
+ hyper st_ex_mode;
+ hyper st_ex_nlink;
+ hyper st_ex_uid;
+ hyper st_ex_gid;
+ hyper st_ex_rdev;
+ hyper st_ex_size;
+ timespec st_ex_atime;
+ timespec st_ex_mtime;
+ timespec st_ex_ctime;
+ timespec st_ex_btime;
+ boolean8 st_ex_calculated_birthtime;
+ hyper st_ex_blksize;
+ hyper st_ex_blocks;
+ uint32 st_ex_flags;
+ uint32 st_ex_mask;
+ hyper vfs_private;
+ } vfs_default_durable_stat;
+
typedef [public] struct {
[value(VFS_DEFAULT_DURABLE_COOKIE_MAGIC),charset(DOS)] uint8 magic[0x30];
[value(VFS_DEFAULT_DURABLE_COOKIE_VERSION)] uint32 version;
@@ -65,5 +87,6 @@ interface open_files
boolean8 update_write_time_on_close;
boolean8 write_time_forced;
timespec close_write_time;
+ vfs_default_durable_stat stat_info;
} vfs_default_durable_cookie;
}