Re: [PATCH obexd v0 05/11] client: transfer api merges put and get

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mikel

On Mon, Mar 12, 2012 at 10:32 AM, Mikel Astiz <mikel.astiz.oss@xxxxxxxxx> wrote:
> From: Mikel Astiz <mikel.astiz@xxxxxxxxxxxx>
>
> A new enum type is used to distinguish put and get transfers.
>
> This is more convenient since it is done when registering the transfer,
> and not when it is actually started. The main benefits would be:
>    - Some actions can be taken during creation, such as opening files.
>    - session.c gets simplified.
>    - The size of a put transfer can be exposed in D-Bus, while queued.
>    - The type of transfer (put or get) can be exposed in D-Bus.
>
> None of these D-Bus changes are included in this patch.

In this case I would prefer register_put/register_get instead of yet
another parameter and a enum with 2 values.

-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux