watcher: Add a method to query the watcher state
authorMartin Willi <martin@revosec.ch>
Thu, 10 Jul 2014 14:27:18 +0000 (16:27 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 24 Sep 2014 09:19:59 +0000 (11:19 +0200)
commit5ea627bdfad4026ca6cc4fe87f6f1959b8b057fe
treefea915e3c07cb4e81186f5b09d16e1969fe9716d
parent12c0bde6891b5ed21807116d0ab7e8d07e0c5290
watcher: Add a method to query the watcher state

This allows a user to check if the watcher is actually running, and potentially
perform read operations directly instead of relying on watcher.
src/libstrongswan/processing/watcher.c
src/libstrongswan/processing/watcher.h