From 467f83c3ac4e4afba959e8cfd8aadb0f1614c9fb Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 15 Jan 2007 18:38:58 +0000 Subject: Preliminary support for catching the unique bus name of an execed service --- common/dbus.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/dbus.h') 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) -- cgit