[Spice-devel] [PATCH spice-protocol V2] vd_agent.h: drag-and-drop support

Hans de Goede hdegoede at redhat.com
Fri Nov 23 04:17:32 PST 2012


Hi,

On 11/23/2012 01:10 PM, Marc-André Lureau wrote:
> Hi
>
> ----- Mensaje original -----
>> Hi Marc-André,
>>
>> On 11/23/2012 12:53 PM, Marc-André Lureau wrote:
>>> Hi
>>>
>>
>> <snip>
>>
>>>>
>>>> +enum {
>>>> +    VD_AGENT_FILE_XFER_RESULT_SUCCESS,
>>>
>>> What does success indicates? When is it sent?
>>
>> I believe that Dunrong Huang based this second version on my protocol
>> proposal,
>> which answers this and a few of your other questions, see this mail:
>> http://lists.freedesktop.org/archives/spice-devel/2012-November/011485.html
>
> Ok, may I suggest XFER_STATUS_CAN_SEND_DATA ?
>

+1

>>> Instead of those fields that will be hard to extend and that mostly
>>> only concern the guest agent, I would consider a key-value text
>>> such as:
>>>
>>> [vdagent-file-xfer]
>>> type=regular
>>> mime=text/plain
>>> name=foo.sh
>>> time-modified=1353085649
>>> time-...
>>> can-read=true
>>> can-execute=true
>>> can-write=false
>>> size=25
>> I like, may I suggest we use this to implement this:
>> http://ndevilla.free.fr/iniparser/
>
> I would go for glib keyfile. But if we still have reasons to avoid glib usage, sure.

See my reply to myself. I'm fine with using glib-keyfile. I wonder what this
means for the windows agent though?

Regards,

Hans

>
> cheers
>


More information about the Spice-devel mailing list