summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/notify.h
diff options
context:
space:
mode:
authorSteven Danneman <steven.danneman@isilon.com>2009-02-20 13:23:53 -0800
committerSteven Danneman <steven.danneman@isilon.com>2009-02-20 14:10:30 -0800
commitb329ea1cf35cfe151ac026eefc8ff82b2dfd711c (patch)
tree486f0d6d63c189e42b4bcac004ff0f20e39a4026 /source3/librpc/gen_ndr/notify.h
parent1a0aed36c0fc3815c832be1086a3a66256426414 (diff)
downloadsamba-b329ea1cf35cfe151ac026eefc8ff82b2dfd711c.tar.gz
samba-b329ea1cf35cfe151ac026eefc8ff82b2dfd711c.tar.bz2
samba-b329ea1cf35cfe151ac026eefc8ff82b2dfd711c.zip
s3: Modifications to generic notify structures to allow implementation of OneFS notify.
The OneFS kernel based change notify system takes an fd of the directory to watch in it's initialization syscall. Since we already have this directory open, this commit plumbs that fd down to the VFS layer via the notify_entry struct. We also need to know if the watch is taken out on a snapshot directory. The full file_id struct is also passed down to make this determination. The file_id marshalling wrappers are hand written here, but should eventually be auto-generated by moving the struct file_id into the idl.
Diffstat (limited to 'source3/librpc/gen_ndr/notify.h')
-rw-r--r--source3/librpc/gen_ndr/notify.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/notify.h b/source3/librpc/gen_ndr/notify.h
index c809702e5d..a5ec4a46e6 100644
--- a/source3/librpc/gen_ndr/notify.h
+++ b/source3/librpc/gen_ndr/notify.h
@@ -9,6 +9,8 @@ struct notify_entry {
struct server_id server;
uint32_t filter;
uint32_t subdir_filter;
+ uint32_t dir_fd;
+ struct file_id dir_id;
const char * path;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
uint32_t path_len;
void* private_data;