Add support for morphing a D-Bus connection into a "monitor"
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 23 Jan 2015 19:11:31 +0000 (19:11 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 4 Feb 2015 17:15:08 +0000 (17:15 +0000)
commit00af6389be46d65afcce8cdfd060f278aaaa9466
treef5f32aadd98ef4e46b97453a01fa582600acba4b
parent4a0f1849be319b1b2b7a6d415b57e5544ec191d6
Add support for morphing a D-Bus connection into a "monitor"

This is a special connection that is not allowed to send anything,
and loses all its well-known names.

In future commits, it will get a new set of match rules and the
ability to eavesdrop on messages before the rest of the bus daemon
has had a chance to process them.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46787
Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
bus/connection.c
bus/connection.h
bus/dispatch.c
bus/driver.c
dbus/dbus-shared.h