summaryrefslogtreecommitdiff
path: root/src/Instance.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-04 23:58:03 +0100
committerMax Kellermann <max@duempel.org>2014-02-05 00:09:36 +0100
commitd380db25be3a37666d1c908343115ed5490db968 (patch)
treeb65cf15deff49441f779d4e951d11a88e584a75f /src/Instance.hxx
parente8938b1069739eca2bd2f27705c1c7783e834e59 (diff)
Instance: add attribute "event_loop"
Replaces global variable "main_loop".
Diffstat (limited to 'src/Instance.hxx')
-rw-r--r--src/Instance.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Instance.hxx b/src/Instance.hxx
index df5fdfbc4..52b137ab6 100644
--- a/src/Instance.hxx
+++ b/src/Instance.hxx
@@ -34,6 +34,7 @@ class Database;
class UpdateService;
#endif
+class EventLoop;
class Error;
class ClientList;
struct Partition;
@@ -52,6 +53,8 @@ struct Instance final
public NeighborListener
#endif
{
+ EventLoop *event_loop;
+
#ifdef ENABLE_NEIGHBOR_PLUGINS
NeighborGlue *neighbors;
#endif