summaryrefslogtreecommitdiff
path: root/src/resolver.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/resolver.hh')
-rw-r--r--src/resolver.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resolver.hh b/src/resolver.hh
index 856f561..319f8b1 100644
--- a/src/resolver.hh
+++ b/src/resolver.hh
@@ -15,7 +15,9 @@ public:
virtual ~Resolver() {}
- static Resolver* create(Looper* looper);
+ static Resolver* create(Looper* looper, bool delay = false);
+
+ virtual bool setup() = 0;
virtual void* request(std::string const& host, uint16_t port,
Callback const& callback) = 0;