summaryrefslogtreecommitdiff
path: root/src/shared/dbus-common.h
diff options
context:
space:
mode:
authorSimon Peeters <peeters.simon@gmail.com>2012-08-08 02:04:40 +0200
committerSimon Peeters <peeters.simon@gmail.com>2012-08-08 02:04:40 +0200
commitc67de56f50b83ec0d34308a6de80f6c65879b1b5 (patch)
treea03b8389b92daa331b1475e980ff9e8b9db11dc3 /src/shared/dbus-common.h
parentf22f08cd5fc072fc4d7eec4700b42e4308ada42e (diff)
move bus_method_call_with_reply() to dbus-common
Diffstat (limited to 'src/shared/dbus-common.h')
-rw-r--r--src/shared/dbus-common.h10
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, ...);