Make the obt_watch functionality work without inotify (via manual refreshes).
authorDana Jansens <danakj@orodu.net>
Sun, 24 Jul 2011 22:13:36 +0000 (18:13 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 16 Oct 2011 22:54:05 +0000 (18:54 -0400)
commit2f3cf493aa7689099346ec1510b04e71a3eb6094
tree0cf539b84346571f916be157cbaa07d17325d9a3
parentc6e2fec8721560b993077a3bbcbe7df41ae09577
Make the obt_watch functionality work without inotify (via manual refreshes).

Adds obt/watch_manual.c which is a filler for when watch_inotify.c can't be
  used.  Other watch_foo.c may also exist in the future I hope.
Adds obt/watch_interface.h which the inotify (and others) subsystem can use
  to call back notification to the main watch system that events have
  occured.
Keep track of all files being watched within the main watch system, so that if
  a directory disappears, we can report the files inside it being removed.
  This change moved a lot of the recursive functionality out from
  watch_inotify.c into the main watch.c, making it much more simple and should
  help make it much easier to add other watch_foo.c subsystems.
Makefile.am
obt/linkbase.c
obt/tests/watchtest.c
obt/watch.c
obt/watch.h
obt/watch_inotify.c
obt/watch_interface.h [new file with mode: 0644]
obt/watch_manual.c [new file with mode: 0644]