}
NTSTATUS sys_notify_watch(struct sys_notify_context *ctx,
+ connection_struct *conn,
struct notify_entry *e,
const char *path,
void (*callback)(struct sys_notify_context *ctx,
struct notify_event *ev),
void *private_data, void *handle)
{
- return SMB_VFS_NOTIFY_WATCH(ctx->conn, ctx, e, path, callback,
+ return SMB_VFS_NOTIFY_WATCH(conn, ctx, e, path, callback,
private_data, handle);
}
this call will modify e.filter and e.subdir_filter
to remove bits handled by the backend
*/
- status = sys_notify_watch(notify->sys_notify_ctx, &e, e.path,
+ status = sys_notify_watch(notify->sys_notify_ctx, conn,
+ &e, e.path,
sys_notify_callback, listel,
&listel->sys_notify_handle);
if (NT_STATUS_IS_OK(status)) {
TALLOC_CTX *mem_ctx,
struct event_context *ev);
NTSTATUS sys_notify_watch(struct sys_notify_context *ctx,
+ connection_struct *conn,
struct notify_entry *e,
const char *path,
void (*callback)(struct sys_notify_context *ctx,