summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-util.h
diff options
context:
space:
mode:
authorSimon Peeters <peeters.simon@gmail.com>2013-11-07 08:58:22 +0100
committerKay Sievers <kay@vrfy.org>2013-11-07 14:18:35 +0100
commit27e72d6b22890ba4a8cbc05c49667cd1cccf1461 (patch)
treed27783aebfae0c243fead854205aaae3cefa3537 /src/libsystemd-bus/bus-util.h
parent8be28fb1e0aa57b2a6ba7736440c9bba54cb86d1 (diff)
bus: make bus_print_all_properties work for non machinectl cases
add a destination parameter and skip properties we can't read
Diffstat (limited to 'src/libsystemd-bus/bus-util.h')
-rw-r--r--src/libsystemd-bus/bus-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-util.h b/src/libsystemd-bus/bus-util.h
index 101a2ec2e0..f982e08ecd 100644
--- a/src/libsystemd-bus/bus-util.h
+++ b/src/libsystemd-bus/bus-util.h
@@ -67,7 +67,7 @@ int bus_open_system_systemd(sd_bus **_bus);
int bus_open_transport(BusTransport transport, const char *host, bool user, sd_bus **bus);
int bus_print_property(const char *name, sd_bus_message *property, bool all);
-int bus_print_all_properties(sd_bus *bus, const char *path, char **filter, bool all);
+int bus_print_all_properties(sd_bus *bus, const char *dest, const char *path, char **filter, bool all);
int bus_property_get_bool(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, sd_bus_error *error, void *userdata);
int bus_property_get_uid(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, sd_bus_error *error, void *userdata);