diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-08-08 18:44:15 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-08-08 18:44:15 +0200 |
commit | 9ed63f16131637fc0e76bd40b5452cfc45bccfc7 (patch) | |
tree | c60b6216b04de3bf0e88b996180e4a8220853603 /src/shared/dbus-common.h | |
parent | fd4d89b2c0b31da01d134301e30916931ae3c7d9 (diff) | |
parent | b9c26b413497a0014ac2058a0ec04849a83df1ea (diff) |
Merge remote-tracking branch 'simonpe/cleanup'
Diffstat (limited to 'src/shared/dbus-common.h')
-rw-r--r-- | src/shared/dbus-common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/shared/dbus-common.h b/src/shared/dbus-common.h index a6703a78d0..e49c3b5258 100644 --- a/src/shared/dbus-common.h +++ b/src/shared/dbus-common.h @@ -203,3 +203,13 @@ void bus_async_unregister_and_exit(DBusConnection *bus, const char *name); DBusHandlerResult bus_exit_idle_filter(DBusConnection *bus, DBusMessage *m, void *userdata); pid_t bus_get_unix_process_id(DBusConnection *connection, const char *name, DBusError *error); + +bool bus_error_is_no_service(const DBusError *error); +int bus_method_call_with_reply(DBusConnection *bus, + const char *destination, + const char *path, + const char *interface, + const char *method, + DBusMessage **return_reply, + DBusError *return_error, + int first_arg_type, ...); |