From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============5558422269068510337==" MIME-Version: 1.0 From: Andrew Zaborowski Subject: [PATCH 6/8] dbus: Private function to retrieve the tree for a connection. Date: Mon, 01 Feb 2016 15:07:22 +0100 Message-ID: <1454335644-17088-6-git-send-email-andrew.zaborowski@intel.com> In-Reply-To: <1454335644-17088-1-git-send-email-andrew.zaborowski@intel.com> List-Id: To: ell@lists.01.org --===============5558422269068510337== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable --- 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 --===============5558422269068510337==--