summaryrefslogtreecommitdiffstats
path: root/src/shared/bus-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-06-28 16:17:46 +0200
committerLennart Poettering <lennart@poettering.net>2020-06-30 15:09:56 +0200
commit9176326ba2f2167076269acf7573a4a99da82a2d (patch)
tree80726803dcb77e7d402e7619f7c5a3830f3ec94e /src/shared/bus-util.h
parentshared: split out code that maps properties to local structs (diff)
downloadsystemd-9176326ba2f2167076269acf7573a4a99da82a2d.tar.xz
systemd-9176326ba2f2167076269acf7573a4a99da82a2d.zip
shared: split out code for printing properties
No code changes, just some refactoring.
Diffstat (limited to 'src/shared/bus-util.h')
-rw-r--r--src/shared/bus-util.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/shared/bus-util.h b/src/shared/bus-util.h
index 8f700c3cfd..4dbf74fdf7 100644
--- a/src/shared/bus-util.h
+++ b/src/shared/bus-util.h
@@ -10,7 +10,6 @@
#include "sd-event.h"
#include "macro.h"
-#include "set.h"
#include "string-util.h"
#include "time-util.h"
@@ -38,13 +37,6 @@ int bus_connect_user_systemd(sd_bus **_bus);
int bus_connect_transport(BusTransport transport, const char *host, bool user, sd_bus **bus);
int bus_connect_transport_systemd(BusTransport transport, const char *host, bool user, sd_bus **bus);
-typedef int (*bus_message_print_t) (const char *name, const char *expected_value, sd_bus_message *m, bool value, bool all);
-
-int bus_print_property_value(const char *name, const char *expected_value, bool only_value, const char *value);
-int bus_print_property_valuef(const char *name, const char *expected_value, bool only_value, const char *fmt, ...) _printf_(4,5);
-int bus_message_print_all_properties(sd_bus_message *m, bus_message_print_t func, char **filter, bool value, bool all, Set **found_properties);
-int bus_print_all_properties(sd_bus *bus, const char *dest, const char *path, bus_message_print_t func, char **filter, bool value, bool all, Set **found_properties);
-
int bus_property_get_bool(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error);
int bus_property_set_bool(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *value, void *userdata, sd_bus_error *error);
int bus_property_get_id128(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error);