ListNames and ListQueuedOwners updated to work with new kdbus
authorRadoslaw Pajak <r.pajak@samsung.com>
Thu, 12 Dec 2013 10:40:11 +0000 (11:40 +0100)
committerRadoslaw Pajak <r.pajak@samsung.com>
Thu, 12 Dec 2013 12:27:14 +0000 (13:27 +0100)
commit61d97215c317a4154df47fbfb882aab60b92fbab
tree963689efa663e40e9524998e14565d72a5d3931e
parent80cd3dcc94755d79aced2dd53003009d83ba0a9d
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>
bus/kdbus-d.c
dbus/kdbus.h