--- ell/dbus-private.h | 1 + ell/dbus.c | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/ell/dbus-private.h b/ell/dbus-private.h index 07b85d0..558ec50 100644 --- a/ell/dbus-private.h +++ b/ell/dbus-private.h @@ -226,6 +226,7 @@ int _dbus_kernel_remove_match(int fd, uint64_t cookie); uint8_t _dbus_get_version(struct l_dbus *dbus); int _dbus_get_fd(struct l_dbus *dbus); +struct _dbus_object_tree *_dbus_get_tree(struct l_dbus *dbus); struct dbus1_filter_data; diff --git a/ell/dbus.c b/ell/dbus.c index ff94774..70c6f32 100644 --- a/ell/dbus.c +++ b/ell/dbus.c @@ -1214,6 +1214,11 @@ int _dbus_get_fd(struct l_dbus *dbus) return l_io_get_fd(dbus->io); } +struct _dbus_object_tree *_dbus_get_tree(struct l_dbus *dbus) +{ + return dbus->tree; +} + /** * l_dbus_register_interface: * @dbus: D-Bus connection as returned by @l_dbus_new* -- 2.5.0