summaryrefslogtreecommitdiff
path: root/src/core/dbus.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-07-10 19:24:03 +0200
committerLennart Poettering <lennart@poettering.net>2013-07-10 23:41:03 +0200
commit6fa4853328e3d78d092172fa54effb7e785d0a85 (patch)
treedf7ec622c6f825f6470be62f49dfcaac2d020e71 /src/core/dbus.h
parent376dd21dc0757e8a6d3f60d6d21bb802a90f1983 (diff)
core: serialize/deserialize bus subscribers
Diffstat (limited to 'src/core/dbus.h')
-rw-r--r--src/core/dbus.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/dbus.h b/src/core/dbus.h
index c7a058e198..b5c28c6ab6 100644
--- a/src/core/dbus.h
+++ b/src/core/dbus.h
@@ -44,6 +44,11 @@ int bus_fdset_add_all(Manager *m, FDSet *fds);
void bus_broadcast_finished(Manager *m, usec_t firmware_usec, usec_t loader_usec, usec_t kernel_usec, usec_t initrd_usec, usec_t userspace_usec, usec_t total_usec);
+Set *bus_acquire_subscribed(Manager *m, DBusConnection *c);
+
+void bus_serialize(Manager *m, FILE *f);
+int bus_deserialize_item(Manager *m, const char *line);
+
#define BUS_CONNECTION_SUBSCRIBED(m, c) dbus_connection_get_data((c), (m)->subscribed_data_slot)
#define BUS_PENDING_CALL_NAME(m, p) dbus_pending_call_get_data((p), (m)->name_data_slot)