summaryrefslogtreecommitdiff
path: root/dbus
diff options
context:
space:
mode:
authorRadoslaw Pajak <r.pajak@samsung.com>2013-12-12 11:40:11 +0100
committerLubomir Rintel <lkundrak@v3.sk>2015-02-11 11:55:29 +0100
commitabf276101e57a42236e5d1774afb9f4848d9ab68 (patch)
tree5af7ef875ea533e2a12959f8a6820d4f11320f9c /dbus
parent2ba7adad45e763a83c7434443c194ec1e4012bb4 (diff)
ListNames and ListQueuedOwners updated to work with new kdbus
org.freedesktop.DBus methods ListNames and ListQueuedOwners updated to work with upstream-merged kdbus. KDBUS_CMD_NAME_LIST_QUEUED ioctl had to be readded, because kdbus native listing queued owners through KDBUS_CMD_NAME_LIST with KDBUS_NAME_LIST_QUEUED flag has results different than DBus api defines. Kdbus version lists all queued owners on the bus, while KDBUS_NAME_LIST_QUEUED complies with DBus because it sends queued owners only for given well-known name. Change-Id: I43a42ef9db3c127bd34016e206ddbb13591d2a70 Signed-off-by: Radoslaw Pajak <r.pajak@samsung.com>
Diffstat (limited to 'dbus')
-rw-r--r--dbus/kdbus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbus/kdbus.h b/dbus/kdbus.h
index 13863ac9..6d7913af 100644
--- a/dbus/kdbus.h
+++ b/dbus/kdbus.h
@@ -814,6 +814,7 @@ enum kdbus_ioctl_type {
KDBUS_CMD_NAME_ACQUIRE = _IOWR(KDBUS_IOC_MAGIC, 0x50, struct kdbus_cmd_name),
KDBUS_CMD_NAME_RELEASE = _IOW (KDBUS_IOC_MAGIC, 0x51, struct kdbus_cmd_name),
KDBUS_CMD_NAME_LIST = _IOWR(KDBUS_IOC_MAGIC, 0x52, struct kdbus_cmd_name_list),
+ KDBUS_CMD_NAME_LIST_QUEUED = _IOWR(KDBUS_IOC_MAGIC, 0x58, struct kdbus_cmd_conn_info),
KDBUS_CMD_CONN_INFO = _IOWR(KDBUS_IOC_MAGIC, 0x60, struct kdbus_cmd_conn_info),