summaryrefslogtreecommitdiff
path: root/bus/driver.h
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-05-31 18:20:25 +0100
committerSimon McVittie <smcv@collabora.com>2017-06-02 10:43:29 +0100
commit093ec67b8f0e0117f614adf262042531e0be4edf (patch)
tree4a93105e30f62ff34f086f0db5f9c891e68e0ebc /bus/driver.h
parent36893e76c43c2e9b5283e8dce787afd4bfbd4ffb (diff)
downloaddbus-093ec67b8f0e0117f614adf262042531e0be4edf.tar.gz
bus/driver: Make non-core interfaces unavailable on most object paths
The o.fd.DBus interface needs to remain available on arbitrary object paths for backwards compatibility, and the Introspectable interface is genuinely useful, but everything else can be skipped. This is arguably an incompatible change for the undocumented Verbose interface, and for the GetAllMatchRules method on the undocumented Stats interface: previously those were available at all object paths. Reviewed-by: Philip Withnall <withnall@endlessm.com> [smcv: Adjust comments, enum order, variable naming as per Philip's review] Signed-off-by: Simon McVittie <smcv@collabora.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101256
Diffstat (limited to 'bus/driver.h')
-rw-r--r--bus/driver.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bus/driver.h b/bus/driver.h
index 201709c4..30513ac8 100644
--- a/bus/driver.h
+++ b/bus/driver.h
@@ -45,7 +45,8 @@ dbus_bool_t bus_driver_send_service_owner_changed (const char *service_name
const char *new_owner,
BusTransaction *transaction,
DBusError *error);
-dbus_bool_t bus_driver_generate_introspect_string (DBusString *xml);
+dbus_bool_t bus_driver_generate_introspect_string (DBusString *xml,
+ dbus_bool_t canonical_path);
dbus_bool_t bus_driver_check_message_is_for_us (DBusMessage *message,
DBusError *error);