watcher: add a centralized an generic facility to monitor file descriptors

This commit is contained in:
Martin Willi
2013-07-18 16:00:27 +02:00
parent e5b5a66712
commit 32b2a5e04b
6 changed files with 504 additions and 3 deletions
+6
View File
@@ -92,6 +92,7 @@
#include "networking/host_resolver.h"
#include "processing/processor.h"
#include "processing/scheduler.h"
#include "processing/watcher.h"
#include "crypto/crypto_factory.h"
#include "crypto/proposal/proposal_keywords.h"
#include "fetcher/fetcher_manager.h"
@@ -196,6 +197,11 @@ struct library_t {
*/
scheduler_t *scheduler;
/**
* File descriptor monitoring
*/
watcher_t *watcher;
/**
* resolve hosts by DNS name
*/