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>
Wed, 5 Oct 2011 17:34:38 +0000 (13:34 -0400)
commit4f0a95a7efecbf0e2e5d51e20166a42fa1c029af
treea0dcbb3ec861343fea5db19d3da28bc63a512160
parent732d698d2f2fb9180504f44fcfabcbaab21d2a5b
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]