chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bus: use internal helper to read org.freedesktop.DBus.Properties::GetAll variables
[elogind.git]
/
src
/
libsystemd-bus
/
bus-util.h
diff --git
a/src/libsystemd-bus/bus-util.h
b/src/libsystemd-bus/bus-util.h
index e70006e6eb681e5c60a8fff82b72e84afc0017f0..ddb926498fb90cf96f52dc4b38c39436ecf97895 100644
(file)
--- 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;
_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);
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);