summaryrefslogtreecommitdiff
path: root/src/libsystemd-rtnl/rtnl-internal.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-11-14 19:23:39 +0100
committerTom Gundersen <teg@jklm.no>2013-11-14 23:22:58 +0100
commitb4f2a5b19718e63767e9e43db5b048caf4209b3f (patch)
treee78a3232464b3d87d8493d5c6b83f68d0478f9ad /src/libsystemd-rtnl/rtnl-internal.h
parent0927756b8d2d8040e5ac69f3bb05182b69939dc2 (diff)
rtnl: add event loop integration
Diffstat (limited to 'src/libsystemd-rtnl/rtnl-internal.h')
-rw-r--r--src/libsystemd-rtnl/rtnl-internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libsystemd-rtnl/rtnl-internal.h b/src/libsystemd-rtnl/rtnl-internal.h
index adad7850c5..c8a97da398 100644
--- a/src/libsystemd-rtnl/rtnl-internal.h
+++ b/src/libsystemd-rtnl/rtnl-internal.h
@@ -60,6 +60,11 @@ struct sd_rtnl {
Hashmap *reply_callbacks;
pid_t original_pid;
+
+ sd_event_source *io_event_source;
+ sd_event_source *time_event_source;
+ sd_event_source *quit_event_source;
+ sd_event *event;
};
#define RTNL_DEFAULT_TIMEOUT ((usec_t) (10 * USEC_PER_SEC))