notify_inotify: inotify_watch now takes a mem_ctx
[obnox/samba/samba-obnox.git] / source3 / smbd / proto.h
index 0e43aaf0dfa0b87341f1e4f32aebfc886c5a8924..44ea6f0c7543e68e755b19329f17399e3e584ec1 100644 (file)
@@ -531,7 +531,8 @@ struct sys_notify_context *sys_notify_context_create(TALLOC_CTX *mem_ctx,
 
 /* The following definitions come from smbd/notify_inotify.c  */
 
-int inotify_watch(struct sys_notify_context *ctx,
+int inotify_watch(TALLOC_CTX *mem_ctx,
+                 struct sys_notify_context *ctx,
                  const char *path,
                  uint32_t *filter,
                  uint32_t *subdir_filter,