libmtp
1.1.11
|
#include <libmtp.h>
Data Fields | |
uint32_t | item_id |
uint32_t | parent_id |
uint32_t | storage_id |
char * | filename |
uint64_t | filesize |
time_t | modificationdate |
LIBMTP_filetype_t | filetype |
LIBMTP_file_t * | next |
MTP file struct
char* LIBMTP_file_struct::filename |
Filename of this file
Referenced by LIBMTP_destroy_file_t(), LIBMTP_new_file_t(), LIBMTP_Send_File_From_Handler(), LIBMTP_Send_Track_From_File_Descriptor(), LIBMTP_Send_Track_From_Handler(), and LIBMTP_Set_File_Name().
uint64_t LIBMTP_file_struct::filesize |
Size of file in bytes
Referenced by LIBMTP_destroy_file_t(), LIBMTP_Send_File_From_File_Descriptor(), LIBMTP_Send_File_From_Handler(), LIBMTP_Send_Track_From_File_Descriptor(), and LIBMTP_Send_Track_From_Handler().
LIBMTP_filetype_t LIBMTP_file_struct::filetype |
Filetype used for the current file
Referenced by LIBMTP_destroy_file_t(), LIBMTP_Send_File_From_Handler(), LIBMTP_Send_Track_From_File_Descriptor(), LIBMTP_Send_Track_From_Handler(), LIBMTP_Set_File_Name(), and LIBMTP_Set_Object_Filename().
uint32_t LIBMTP_file_struct::item_id |
time_t LIBMTP_file_struct::modificationdate |
Date of last alteration of the file
Referenced by LIBMTP_destroy_file_t(), and LIBMTP_Send_File_From_Handler().
LIBMTP_file_t* LIBMTP_file_struct::next |
Next file in list or NULL if last file
Referenced by LIBMTP_Get_Filelisting_With_Callback(), LIBMTP_Get_Files_And_Folders(), LIBMTP_Send_Track_From_File_Descriptor(), and LIBMTP_Send_Track_From_Handler().
uint32_t LIBMTP_file_struct::parent_id |
ID of parent folder
Referenced by LIBMTP_destroy_file_t(), LIBMTP_Send_File_From_File_Descriptor(), LIBMTP_Send_File_From_Handler(), LIBMTP_Send_Track_From_File_Descriptor(), and LIBMTP_Send_Track_From_Handler().
uint32_t LIBMTP_file_struct::storage_id |
ID of storage holding this file
Referenced by LIBMTP_destroy_file_t(), LIBMTP_Send_File_From_File_Descriptor(), LIBMTP_Send_File_From_Handler(), LIBMTP_Send_Track_From_File_Descriptor(), and LIBMTP_Send_Track_From_Handler().