summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/ndr_notify.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-04-14 20:39:14 +0200
committerVolker Lendecke <vl@samba.org>2009-04-16 15:07:06 +0200
commit32a36e470333abae2745e27074a24ab54777b41e (patch)
tree48c56c9ea94b63dd69b19d0ce348dda4a0bb679c /source3/librpc/gen_ndr/ndr_notify.h
parentea3a022ca3ed97f0ac3f16536832e8ec43683f8c (diff)
downloadsamba-32a36e470333abae2745e27074a24ab54777b41e.tar.gz
samba-32a36e470333abae2745e27074a24ab54777b41e.tar.bz2
samba-32a36e470333abae2745e27074a24ab54777b41e.zip
Add notify_onelevel.tdb
This optimizes non-recursive notifys. For non-recursive notifies we can use a per-directory file-id indexed notify record. This matters for the Windows Explorer and IIS cases which do not use recursive notifies. In these cases, we do not have to shuffle around the whole notify record on every change. For the cluster case, this improves correctness of the notifies, ctdb only distributes the tdb seqnum once a second, so we can lose notifies.
Diffstat (limited to 'source3/librpc/gen_ndr/ndr_notify.h')
-rw-r--r--source3/librpc/gen_ndr/ndr_notify.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/ndr_notify.h b/source3/librpc/gen_ndr/ndr_notify.h
index 23d3d3fc0a..fa2972dbc6 100644
--- a/source3/librpc/gen_ndr/ndr_notify.h
+++ b/source3/librpc/gen_ndr/ndr_notify.h
@@ -10,6 +10,9 @@
enum ndr_err_code ndr_push_notify_entry(struct ndr_push *ndr, int ndr_flags, const struct notify_entry *r);
enum ndr_err_code ndr_pull_notify_entry(struct ndr_pull *ndr, int ndr_flags, struct notify_entry *r);
void ndr_print_notify_entry(struct ndr_print *ndr, const char *name, const struct notify_entry *r);
+enum ndr_err_code ndr_push_notify_entry_array(struct ndr_push *ndr, int ndr_flags, const struct notify_entry_array *r);
+enum ndr_err_code ndr_pull_notify_entry_array(struct ndr_pull *ndr, int ndr_flags, struct notify_entry_array *r);
+void ndr_print_notify_entry_array(struct ndr_print *ndr, const char *name, const struct notify_entry_array *r);
void ndr_print_notify_depth(struct ndr_print *ndr, const char *name, const struct notify_depth *r);
enum ndr_err_code ndr_push_notify_array(struct ndr_push *ndr, int ndr_flags, const struct notify_array *r);
enum ndr_err_code ndr_pull_notify_array(struct ndr_pull *ndr, int ndr_flags, struct notify_array *r);