Typedefs | |
typedef LIBMTP_device_entry_struct | LIBMTP_device_entry_t |
typedef LIBMTP_mtpdevice_struct | LIBMTP_mtpdevice_t |
typedef LIBMTP_file_struct | LIBMTP_file_t |
typedef LIBMTP_track_struct | LIBMTP_track_t |
typedef LIBMTP_playlist_struct | LIBMTP_playlist_t |
typedef LIBMTP_folder_struct | LIBMTP_folder_t |
typedef LIBMTP_object_struct | LIBMTP_object_t |
typedef int(*) | LIBMTP_progressfunc_t (uint64_t const sent, uint64_t const total, void const *const data) |
Enumerations | |
enum | LIBMTP_filetype_t { LIBMTP_FILETYPE_WAV, LIBMTP_FILETYPE_MP3, LIBMTP_FILETYPE_WMA, LIBMTP_FILETYPE_OGG, LIBMTP_FILETYPE_AUDIBLE, LIBMTP_FILETYPE_MP4, LIBMTP_FILETYPE_UNDEF_AUDIO, LIBMTP_FILETYPE_WMV, LIBMTP_FILETYPE_AVI, LIBMTP_FILETYPE_MPEG, LIBMTP_FILETYPE_ASF, LIBMTP_FILETYPE_QT, LIBMTP_FILETYPE_UNDEF_VIDEO, LIBMTP_FILETYPE_JPEG, LIBMTP_FILETYPE_JFIF, LIBMTP_FILETYPE_TIFF, LIBMTP_FILETYPE_BMP, LIBMTP_FILETYPE_GIF, LIBMTP_FILETYPE_PICT, LIBMTP_FILETYPE_PNG, LIBMTP_FILETYPE_VCALENDAR1, LIBMTP_FILETYPE_VCALENDAR2, LIBMTP_FILETYPE_VCARD2, LIBMTP_FILETYPE_VCARD3, LIBMTP_FILETYPE_WINDOWSIMAGEFORMAT, LIBMTP_FILETYPE_WINEXEC, LIBMTP_FILETYPE_TEXT, LIBMTP_FILETYPE_HTML, LIBMTP_FILETYPE_UNKNOWN } |
typedef struct LIBMTP_device_entry_struct LIBMTP_device_entry_t |
typedef struct LIBMTP_file_struct LIBMTP_file_t |
typedef struct LIBMTP_folder_struct LIBMTP_folder_t |
typedef struct LIBMTP_mtpdevice_struct LIBMTP_mtpdevice_t |
typedef struct LIBMTP_object_struct LIBMTP_object_t |
typedef struct LIBMTP_playlist_struct LIBMTP_playlist_t |
typedef int(* ) LIBMTP_progressfunc_t(uint64_t const sent, uint64_t const total, void const *const data) |
The callback type definition. Notice that a progress percentage ratio is easy to calculate by dividing sent
by total
.
sent | the number of bytes sent so far | |
total | the total number of bytes to send | |
data | a user-defined dereferencable pointer |
typedef struct LIBMTP_track_struct LIBMTP_track_t |