table of contents
other versions
- wheezy 1.1.3-35-g0ece104-5
- wheezy-backports 1.1.8-1~bpo70+1
- jessie 1.1.8-1
- jessie-backports 1.1.12-1~bpo8+1
- testing 1.1.13-1
- unstable 1.1.13-1
LIBMTP_file_struct(3) | libmtp | LIBMTP_file_struct(3) |
NAME¶
libmtp - LIBMTP_file_structSYNOPSIS¶
#include <libmtp.h>Data Fields¶
uint32_t item_id
Detailed Description¶
MTP file struct Examples:delfile.c, detect.c, files.c, getfile.c, newfolder.c, sendfile.c, and sendtr.c.
Field Documentation¶
char* LIBMTP_file_struct::filename¶
Filename of this file Examples:detect.c, and files.c. Referenced by LIBMTP_destroy_file_t(), LIBMTP_new_file_t(), 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 Examples:files.c. Referenced by 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 Examples:files.c. Referenced by 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¶
Unique item ID Examples:detect.c, and files.c. Referenced by LIBMTP_Send_File_From_File_Descriptor(), LIBMTP_Send_File_From_Handler(), LIBMTP_Send_Track_From_File_Descriptor(), LIBMTP_Send_Track_From_Handler(), and LIBMTP_Set_File_Name().
time_t LIBMTP_file_struct::modificationdate¶
Date of last alteration of the fileLIBMTP_file_t* LIBMTP_file_struct::next¶
Next file in list or NULL if last file Examples:detect.c, and files.c. 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 Examples:files.c. Referenced by 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 Examples:files.c. Referenced by LIBMTP_Send_File_From_File_Descriptor(), LIBMTP_Send_File_From_Handler(), LIBMTP_Send_Track_From_File_Descriptor(), and LIBMTP_Send_Track_From_Handler().
Author¶
Generated automatically by Doxygen for libmtp from the source code.Sun Feb 17 2013 | Version 1.1.3 |