summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-04-04 14:51:43 +0200
committerVolker Lendecke <vl@samba.org>2012-04-17 10:21:02 +0200
commit843432d56f9114a4d0d3021a772953dc5a1193dd (patch)
tree2b180ce533bc337e56e09dee1e2fe8a5c7070f4c /librpc/idl
parentae691cd9cc5f00a1d4465d233cdd9f5b580b2c39 (diff)
downloadsamba-843432d56f9114a4d0d3021a772953dc5a1193dd.tar.gz
samba-843432d56f9114a4d0d3021a772953dc5a1193dd.tar.bz2
samba-843432d56f9114a4d0d3021a772953dc5a1193dd.zip
s3: New notify implementation
From notify_internal.c: /* * The notify database is split up into two databases: One * relatively static index db and the real notify db with the * volatile entries. */ This change is necessary to make notify scale better in a cluster
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/notify.idl13
1 files changed, 13 insertions, 0 deletions
diff --git a/librpc/idl/notify.idl b/librpc/idl/notify.idl
index 845010601e..ec81e8c64a 100644
--- a/librpc/idl/notify.idl
+++ b/librpc/idl/notify.idl
@@ -32,6 +32,13 @@ interface notify
notify_entry entries[num_entries];
} notify_entry_array;
+ typedef [public] struct {
+ server_id server;
+ uint32 filter; /* filter to apply in this directory */
+ uint32 subdir_filter; /* filter to apply in child directories */
+ pointer private_data;
+ } notify_db_entry;
+
/*
to allow for efficient search for matching entries, we
divide them by the directory depth, with a separate array
@@ -62,6 +69,12 @@ interface notify
pointer private_data;
} notify_event;
+ typedef [public] struct {
+ uint32 action;
+ uint32 filter;
+ utf8string path;
+ } notify_remote_event;
+
typedef [v1_enum] enum {
FILE_ACTION_ADDED = 0x00000001,
FILE_ACTION_REMOVED = 0x00000002,