summaryrefslogtreecommitdiff
path: root/src/class/mtp/mtp_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/class/mtp/mtp_device.h')
-rw-r--r--src/class/mtp/mtp_device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/class/mtp/mtp_device.h b/src/class/mtp/mtp_device.h
index b10c3abda..4956628d3 100644
--- a/src/class/mtp/mtp_device.h
+++ b/src/class/mtp/mtp_device.h
@@ -72,6 +72,9 @@ typedef MTP_DEVICE_INFO_STRUCT(
// Application API
//--------------------------------------------------------------------+
+// check if mtp interface is mounted
+bool tud_mtp_mounted(void);
+
// send data phase
bool tud_mtp_data_send(mtp_container_info_t* p_container);
@@ -81,6 +84,8 @@ bool tud_mtp_data_receive(mtp_container_info_t* p_container);
// send response
bool tud_mtp_response_send(mtp_container_info_t* p_container);
+bool tud_mtp_event_send(mtp_event_t* event);
+
//--------------------------------------------------------------------+
// Control request Callbacks
//--------------------------------------------------------------------+