summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-03-21 11:47:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:59:02 -0500
commit3434cd778c975eb1bb29d257770bd6dbb2335ce9 (patch)
tree57e6d0c3344b1d8db4ff7278e36ad75d2c30c930 /source4/librpc/idl
parent830b7447107f5fe71d9947cc0f099dce4de5d53e (diff)
downloadsamba-3434cd778c975eb1bb29d257770bd6dbb2335ce9.tar.gz
samba-3434cd778c975eb1bb29d257770bd6dbb2335ce9.tar.bz2
samba-3434cd778c975eb1bb29d257770bd6dbb2335ce9.zip
r14616: added notify change support to the posix backend
It doesn't fully work yet, and doesn't yet have all the efficiency that is planned, but it doesn't break anything and I wanted to get the code in the tree to minimise the chance of collisions with the work metze is doing. (This used to be commit 1624ea88e6eef89caacc36e7513aa79df0d579b9)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/notify.idl37
1 files changed, 37 insertions, 0 deletions
diff --git a/source4/librpc/idl/notify.idl b/source4/librpc/idl/notify.idl
new file mode 100644
index 0000000000..6c3414c41a
--- /dev/null
+++ b/source4/librpc/idl/notify.idl
@@ -0,0 +1,37 @@
+#include "idl_types.h"
+
+/*
+ IDL structures for notify change code
+
+ this defines the structures used in the notify database code, and
+ the change notify buffers
+*/
+
+[
+ pointer_default(unique)
+]
+interface notify
+{
+
+ /* structure used in the notify database */
+ typedef [public] struct {
+ uint32 server;
+ uint32 filter;
+ boolean32 recursive;
+ utf8string path;
+ pointer private;
+ } notify_entry;
+
+ typedef [public] struct {
+ uint32 num_entries;
+ notify_entry entries[num_entries];
+ } notify_array;
+
+ /* structure sent between servers in notify messages */
+ typedef [public] struct {
+ uint32 action;
+ utf8string path;
+ pointer private;
+ } notify_event;
+
+}