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

Hans de Goede hdegoede at redhat.com
Fri Nov 23 04:10:26 PST 2012


Hi,

On 11/23/2012 01:07 PM, Hans de Goede wrote:

<snip>

>> [vdagent-file-xfer]
>> type=directory
>> mime=application/x-xz-compressed-tar
>> name=Downloads
>> time-modified=1353085649
>> time-...
>> can-read=true
>> can-execute=true
>> can-write=false
>> size=515416
>> [vdagent-context]
>> pointer-position=+34+98
>>
>> We need to define the mandatory group (vdagent-file-xfer) and keys (file, type, mime, size..).
>
> I like, may I suggest we use this to implement this:
> http://ndevilla.free.fr/iniparser/

Scrap that, it would be better to use:
http://developer.gnome.org/glib/2.32/glib-Key-value-file-parser.html

This means adding a glib dependency to the agent, but that is fine.

Regards,

Hans


More information about the Spice-devel mailing list