diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-22 01:21:59 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-22 01:42:15 +0100 |
commit | 2be441769f29578764835df58950ac939f4e29eb (patch) | |
tree | 8272fd9837ffd0d4b27025d0126944e786c00e0b /src/libsystemd-bus/sd-bus.c | |
parent | f00c31213a2e521680c2381ef231f05e30c874a7 (diff) |
bus: add calls to query attached objects
Diffstat (limited to 'src/libsystemd-bus/sd-bus.c')
-rw-r--r-- | src/libsystemd-bus/sd-bus.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libsystemd-bus/sd-bus.c b/src/libsystemd-bus/sd-bus.c index 4df649c9f7..85d1154433 100644 --- a/src/libsystemd-bus/sd-bus.c +++ b/src/libsystemd-bus/sd-bus.c @@ -2658,6 +2658,12 @@ _public_ int sd_bus_detach_event(sd_bus *bus) { return 0; } +_public_ sd_event* sd_bus_get_event(sd_bus *bus) { + assert_return(bus, NULL); + + return bus->event; +} + _public_ sd_bus_message* sd_bus_get_current(sd_bus *bus) { assert_return(bus, NULL); |