diff options
author | Volker Lendecke <vl@samba.org> | 2014-11-05 11:44:42 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-12-09 04:12:09 +0100 |
commit | de4a1c90a70b31f99e987fa109683862bd0823d1 (patch) | |
tree | 8f5b82f01431fcd39a301fc45c883fa9cebb70a9 /librpc | |
parent | f530d6d97bfb7c64ede37ad8d2ee33118ddcf3d1 (diff) | |
download | samba-de4a1c90a70b31f99e987fa109683862bd0823d1.tar.gz |
notify: Add "dir" to notify_event
"notify_event" only reports names relative to some path that is only
implicitly known via "private_data". Right now "private_data" is the fsp
of the directory holding this notify. I want to use inotify_watch in a
notify-daemon that does not have a fsp available and has more problems
getting the path right out of "private_data". notify_inotify has the
directory under which the event happened available, so make it known to
the callback. Right now no caller uses it yet.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/idl/notify.idl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/librpc/idl/notify.idl b/librpc/idl/notify.idl index ec81e8c64ac..66422ec9f9e 100644 --- a/librpc/idl/notify.idl +++ b/librpc/idl/notify.idl @@ -65,6 +65,7 @@ interface notify /* structure sent between servers in notify messages */ typedef [public] struct { uint32 action; + utf8string dir; utf8string path; pointer private_data; } notify_event; |