summaryrefslogtreecommitdiff
path: root/src/ptp.h
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2018-03-17 09:20:22 +0100
committerMarcus Meissner <marcus@jet.franken.de>2018-03-17 09:20:22 +0100
commitccd185b000406b3c233f7297c6cf984c913d6a38 (patch)
treec3a239d9c93bcd8f2d1a537fc3ba0474e02abf0d /src/ptp.h
parentb2bcdb987a6603dfce936c6124241939f3c3cd02 (diff)
downloadlibmtp-ccd185b000406b3c233f7297c6cf984c913d6a38.tar.gz
Android P introduces support for these operations, so there's finally
a point to implementing them. Signed-off-by: Philip Langdale <philipl@overt.org>
Diffstat (limited to 'src/ptp.h')
-rw-r--r--src/ptp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ptp.h b/src/ptp.h
index ff724b2..88baa54 100644
--- a/src/ptp.h
+++ b/src/ptp.h
@@ -2676,6 +2676,12 @@ uint16_t ptp_getthumb (PTPParams *params, uint32_t handle,
uint16_t ptp_deleteobject (PTPParams* params, uint32_t handle,
uint32_t ofc);
+uint16_t ptp_moveobject (PTPParams* params, uint32_t handle,
+ uint32_t storage, uint32_t parent);
+
+uint16_t ptp_copyobject (PTPParams* params, uint32_t handle,
+ uint32_t storage, uint32_t parent);
+
uint16_t ptp_sendobjectinfo (PTPParams* params, uint32_t* store,
uint32_t* parenthandle, uint32_t* handle,
PTPObjectInfo* objectinfo);