-/*
- callback from sys_notify telling us about changes from the OS
-*/
-static void sys_notify_callback(struct sys_notify_context *ctx,
- void *ptr, struct notify_event *ev)
-{
- struct notify_list *listel = talloc_get_type(ptr, struct notify_list);
- ev->private_data = listel;
- DEBUG(10, ("sys_notify_callback called with action=%d, for %s\n",
- ev->action, ev->path));
- listel->callback(listel->private_data, ev);
-}
-