summaryrefslogtreecommitdiff
path: root/bus/stats.h
diff options
context:
space:
mode:
authorAlban Crequy <alban.crequy@collabora.co.uk>2014-06-30 13:44:58 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-09-25 12:59:50 +0100
commit7793e774ddb0d6569bf9ebc52acb064099116eec (patch)
treef769d94c3e5a618ad1b8f8fb90b7abd9978ce68b /bus/stats.h
parent15f9e7bb7c658ab20fb217572e03b7d53faac894 (diff)
downloaddbus-7793e774ddb0d6569bf9ebc52acb064099116eec.tar.gz
Implement GetAllMatchRules on the Stats interface
Usage: $ dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus \ org.freedesktop.DBus.Debug.Stats.GetAllMatchRules method return sender=org.freedesktop.DBus -> dest=:1.13 reply_serial=2 array [ dict entry( string ":1.4" array [ ] ) dict entry( string ":1.9" array [ string "type='signal',interface='org.freedesktop.DBus',member='NameOwnerChanged'" ] ) dict entry( string ":1.11" array [ string "eavesdrop='true'" ] ) ] Bug: https://bugs.freedesktop.org/show_bug.cgi?id=24307 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'bus/stats.h')
-rw-r--r--bus/stats.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bus/stats.h b/bus/stats.h
index 0f843db5..dcb022c4 100644
--- a/bus/stats.h
+++ b/bus/stats.h
@@ -35,4 +35,9 @@ dbus_bool_t bus_stats_handle_get_connection_stats (DBusConnection *connection,
DBusMessage *message,
DBusError *error);
+dbus_bool_t bus_stats_handle_get_all_match_rules (DBusConnection *caller_connection,
+ BusTransaction *transaction,
+ DBusMessage *message,
+ DBusError *error);
+
#endif /* multiple-inclusion guard */