diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-04-07 13:15:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:00:47 -0500 |
commit | 2e894625e7c951b5ee66670124b4bef82a8129d9 (patch) | |
tree | f0020b62a5e8258bb9b3bb999ec2f9a63c6ec305 /source4/ntvfs/sysdep/sys_notify.h | |
parent | 5b1a495e96be6f92df3ba2d30095d879041f757e (diff) | |
download | samba-2e894625e7c951b5ee66670124b4bef82a8129d9.tar.gz samba-2e894625e7c951b5ee66670124b4bef82a8129d9.tar.bz2 samba-2e894625e7c951b5ee66670124b4bef82a8129d9.zip |
r14964: - move sidmap code from ntvfs_common to SAMDB
- make ntvfs_common a library
- create sys_notify library
metze
(This used to be commit a3e1d56cf7b688c515f5d6d4d43e0b24c2261d15)
Diffstat (limited to 'source4/ntvfs/sysdep/sys_notify.h')
-rw-r--r-- | source4/ntvfs/sysdep/sys_notify.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source4/ntvfs/sysdep/sys_notify.h b/source4/ntvfs/sysdep/sys_notify.h index 9cb01a1db4..6f8e91efec 100644 --- a/source4/ntvfs/sysdep/sys_notify.h +++ b/source4/ntvfs/sysdep/sys_notify.h @@ -26,7 +26,7 @@ typedef void (*sys_notify_callback_t)(struct sys_notify_context *, void *, struct notify_event *ev); typedef NTSTATUS (*notify_watch_t)(struct sys_notify_context *ctx, - struct notify_event *e, + struct notify_entry *e, sys_notify_callback_t callback, void *private, void **handle); @@ -43,9 +43,10 @@ struct sys_notify_backend { }; NTSTATUS sys_notify_register(struct sys_notify_backend *backend); -struct sys_notify_context *sys_notify_init(int snum, - TALLOC_CTX *mem_ctx, - struct event_context *ev); +struct sys_notify_context *sys_notify_context_create(int snum, + TALLOC_CTX *mem_ctx, + struct event_context *ev); NTSTATUS sys_notify_watch(struct sys_notify_context *ctx, struct notify_entry *e, sys_notify_callback_t callback, void *private, void **handle); +NTSTATUS sys_notify_init(void); |