summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-util.h
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-11-02 00:10:12 +0100
committerKay Sievers <kay@vrfy.org>2013-11-02 01:48:22 +0100
commitffc06c3513d9a0693c7f810d03b20705127ba55a (patch)
treef0be63421f887d4510baba8e92482f96d7018861 /src/libsystemd-bus/bus-util.h
parent98e6c5e62ffcec33bd5255ebaafeafdc5a3f1ada (diff)
bus: use internal helper to read org.freedesktop.DBus.Properties::GetAll variables
Diffstat (limited to 'src/libsystemd-bus/bus-util.h')
-rw-r--r--src/libsystemd-bus/bus-util.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-util.h b/src/libsystemd-bus/bus-util.h
index e70006e6eb..ddb926498f 100644
--- a/src/libsystemd-bus/bus-util.h
+++ b/src/libsystemd-bus/bus-util.h
@@ -35,6 +35,17 @@ typedef enum BusTransport {
_BUS_TRANSPORT_INVALID = -1
} BusTransport;
+struct bus_properties_map {
+ const char *type;
+ const char *name;
+ void *ptr;
+};
+
+int bus_map_all_properties(sd_bus *bus,
+ const char *destination,
+ const char *path,
+ const struct bus_properties_map *map);
+
int bus_async_unregister_and_quit(sd_event *e, sd_bus *bus, const char *name);
int bus_event_loop_with_idle(sd_event *e, sd_bus *bus, const char *name, usec_t timeout);