[systemd-devel] [PATCHv2] bus-driverd: Fix return code in driver_request_name
Lukasz Skalski
l.skalski at partner.samsung.com
Tue Dec 17 08:21:25 PST 2013
On 12/17/2013 05:16 PM, Lennart Poettering wrote:
> On Tue, 17.12.13 15:54, Zbigniew Jędrzejewski-Szmek (zbyszek at in.waw.pl) wrote:
>
>>
>> On Tue, Dec 17, 2013 at 02:31:42PM +0100, Lukasz Skalski wrote:
>>> RequestName return codes should be consistent with Dbus Specification.
>>>
>>> VALUE - DESCRIPTION
>>> 1-The caller is now the primary owner of the name, replacing any previous owner,
>>> 2-The name already had an owner (QUEUE flag was not specified),
>>> 3-The name already has an owner (QUEUE flag was specified),
>>> 4-Application trying to request ownership of a name is already the owner of it.
>> Please turn this into an enum.
>
> We already have an enum for that, defined in bus-protocol.h
>
> Lennart
>
Ok, thanks for info. I'll use enum vale from bus-protocol.h
--
Lukasz Skalski
Samsung R&D Institute Poland
Samsung Electronics
l.skalski at partner.samsung.com
More information about the systemd-devel
mailing list