watcher: add a centralized an generic facility to monitor file descriptors
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user