summaryrefslogtreecommitdiffstats
path: root/common/dbus.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-01-15 18:38:58 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-01-15 18:38:58 +0000
commit467f83c3ac4e4afba959e8cfd8aadb0f1614c9fb (patch)
tree0a783f172e5ba87596094dc857f8c5cb63a1b37f /common/dbus.h
parente1a0779f9e09f4620fdbb977f9e0a67caafdc5f3 (diff)
Preliminary support for catching the unique bus name of an execed service
Diffstat (limited to 'common/dbus.h')
-rw-r--r--common/dbus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/dbus.h b/common/dbus.h
index 393ebcf9..51049391 100644
--- a/common/dbus.h
+++ b/common/dbus.h
@@ -35,6 +35,9 @@ int name_listener_add(DBusConnection *connection, const char *name,
int name_listener_remove(DBusConnection *connection, const char *name,
name_cb_t func, void *user_data);
+dbus_bool_t dbus_bus_get_unix_process_id(DBusConnection *conn, const char *name,
+ unsigned long *pid);
+
DBusHandlerResult simple_introspect(DBusConnection *conn, DBusMessage *msg, void *data);
static inline DBusHandlerResult send_message_and_unref(DBusConnection *conn, DBusMessage *msg)