[−][src]Module libmtp_sys::bindings
Re-exports
pub use self::LIBMTP_event_enum as LIBMTP_event_t; |
Structs
LIBMTP_album_struct | MTP Album structure |
LIBMTP_allowed_values_struct | A data structure to hold allowed ranges of values |
LIBMTP_device_entry_struct | A data structure to hold MTP device entries. |
LIBMTP_device_extension_struct | MTP device extension holder struct |
LIBMTP_devicestorage_struct | LIBMTP Device Storage structure |
LIBMTP_error_struct | A data structure to hold errors from the library. |
LIBMTP_file_struct | MTP file struct |
LIBMTP_filesampledata_struct | LIBMTP Object RepresentativeSampleData Structure |
LIBMTP_folder_struct | MTP Folder structure |
LIBMTP_mtpdevice_struct | Main MTP device object struct |
LIBMTP_object_struct | |
LIBMTP_playlist_struct | MTP Playlist structure |
LIBMTP_raw_device_struct | A data structure to hold a raw MTP device connected to the bus. |
LIBMTP_track_struct | MTP track struct |
Constants
Statics
LIBMTP_debug |
Functions
Type Definitions
LIBMTP_album_t | |
LIBMTP_allowed_values_t | |
LIBMTP_datatype_t | These are the data types |
LIBMTP_device_entry_t | |
LIBMTP_device_extension_t | |
LIBMTP_devicecap_t | These are device capabilities |
LIBMTP_devicestorage_t | |
LIBMTP_error_number_t | These are the numbered error codes. You can also get string representations for errors. |
LIBMTP_error_t | |
LIBMTP_event_cb_fn | @} @defgroup files The events API. @{ |
LIBMTP_event_enum | LIBMTP Event structure TODO: add all externally visible events here |
LIBMTP_file_t | |
LIBMTP_filesampledata_t | |
LIBMTP_filetype_t | The filetypes defined here are the external types used by the libmtp library interface. The types used internally as PTP-defined enumerator types is something different. |
LIBMTP_folder_t | |
LIBMTP_mtpdevice_t | < @see LIBMTP_device_extension_struct |
LIBMTP_object_t | |
LIBMTP_playlist_t | |
LIBMTP_progressfunc_t | The callback type definition. Notice that a progress percentage ratio
is easy to calculate by dividing |
LIBMTP_property_t | The properties defined here are the external types used by the libmtp library interface. |
LIBMTP_raw_device_t | |
LIBMTP_track_t | |
MTPDataGetFunc | Callback function for get by handler function @param params the device parameters @param priv a user-defined dereferencable pointer @param wantlen the number of bytes wanted @param data a buffer to write the data to @param gotlen pointer to the number of bytes actually written to data @return LIBMTP_HANDLER_RETURN_OK if successful, LIBMTP_HANDLER_RETURN_ERROR on error or LIBMTP_HANDLER_RETURN_CANCEL to cancel the transfer |
MTPDataPutFunc | Callback function for put by handler function @param params the device parameters @param priv a user-defined dereferencable pointer @param sendlen the number of bytes available @param data a buffer to read the data from @param putlen pointer to the number of bytes actually read from data @return LIBMTP_HANDLER_RETURN_OK if successful, LIBMTP_HANDLER_RETURN_ERROR on error or LIBMTP_HANDLER_RETURN_CANCEL to cancel the transfer |
time_t | |
timeval |