summaryrefslogtreecommitdiff
path: root/src/dbus.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-19 03:04:04 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-19 03:04:04 +0200
commit5e8d1c9a9f15b7453474dc4879bdb4021c3f50a1 (patch)
treeff305b07ce88ea21de22fc86b53c246e40d857c1 /src/dbus.h
parentf9704703f35a281d9f8fa12018bd396b2be30d36 (diff)
dbus: to make sure that systemd stays controllable during early bootup, register our services on our own micro usb server in addition to the bus
Diffstat (limited to 'src/dbus.h')
-rw-r--r--src/dbus.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/dbus.h b/src/dbus.h
index 264bdff625..af837f283f 100644
--- a/src/dbus.h
+++ b/src/dbus.h
@@ -56,10 +56,8 @@ typedef struct BusProperty {
" </method>\n" \
" </interface>\n"
-int bus_init_system(Manager *m);
-int bus_init_api(Manager *m);
-void bus_done_system(Manager *m);
-void bus_done_api(Manager *m);
+int bus_init(Manager *m);
+void bus_done(Manager *m);
unsigned bus_dispatch(Manager *m);
@@ -68,9 +66,10 @@ void bus_timeout_event(Manager *m, Watch *w, int events);
int bus_query_pid(Manager *m, const char *name);
-DBusHandlerResult bus_default_message_handler(Manager *m, DBusMessage *message, const char* introspection, const BusProperty *properties);
+DBusHandlerResult bus_default_message_handler(Manager *m, DBusConnection *c, DBusMessage *message, const char* introspection, const BusProperty *properties);
+DBusHandlerResult bus_send_error_reply(Manager *m, DBusConnection *c, DBusMessage *message, DBusError *bus_error, int error);
-DBusHandlerResult bus_send_error_reply(Manager *m, DBusMessage *message, DBusError *bus_error, int error);
+int bus_broadcast(Manager *m, DBusMessage *message);
int bus_property_append_string(Manager *m, DBusMessageIter *i, const char *property, void *data);
int bus_property_append_strv(Manager *m, DBusMessageIter *i, const char *property, void *data);