diff options
| author | Bandan Das | 2018-02-23 17:48:29 +0100 |
|---|---|---|
| committer | Gerd Hoffmann | 2018-02-26 12:18:36 +0100 |
| commit | 53735bef108c5ccddf0f8a65cde4da53a48dbd47 (patch) | |
| tree | a64853ec14a781b46f30d42229914fe80059461d /scripts/switch-timer-api | |
| parent | usb-mtp: Introduce write support for MTP objects (diff) | |
| download | qemu-53735bef108c5ccddf0f8a65cde4da53a48dbd47.tar.gz qemu-53735bef108c5ccddf0f8a65cde4da53a48dbd47.tar.xz qemu-53735bef108c5ccddf0f8a65cde4da53a48dbd47.zip | |
usb-mtp: Advertise SendObjectInfo for write support
This patch implements a dummy ObjectInfo structure so that
it's easy to typecast the incoming data. If the metadata is
valid, write_pending is set. Also, the incoming filename
is utf-16, so, instead of depending on external libraries, just
implement a simple function to get the filename
Signed-off-by: Bandan Das <bsd@redhat.com>
Message-id: 20180223164829.29683-6-bsd@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
