.TH "LIBMTP_file_struct" 3 "Version 1.1.21" "libmtp" \" -*- nroff -*- .ad l .nh .SH NAME libmtp \- .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Data Fields" .in +1c .ti -1c .RI "uint32_t \fBitem_id\fP" .br .ti -1c .RI "uint32_t \fBparent_id\fP" .br .ti -1c .RI "uint32_t \fBstorage_id\fP" .br .ti -1c .RI "char * \fBfilename\fP" .br .ti -1c .RI "uint64_t \fBfilesize\fP" .br .ti -1c .RI "time_t \fBmodificationdate\fP" .br .ti -1c .RI "\fBLIBMTP_filetype_t\fP \fBfiletype\fP" .br .ti -1c .RI "\fBLIBMTP_file_t\fP * \fBnext\fP" .br .in -1c .SH "Detailed Description" .PP MTP file struct .PP \fBExamples\fP .in +1c \fBdelfile\&.c\fP, \fBdetect\&.c\fP, \fBfiles\&.c\fP, \fBgetfile\&.c\fP, \fBnewfolder\&.c\fP, \fBsendfile\&.c\fP, \fBsendtr\&.c\fP, and \fBtracks\&.c\fP\&. .SH "Field Documentation" .PP .SS "char* LIBMTP_file_struct::filename" Filename of this file .PP \fBExamples\fP .in +1c \fBdetect\&.c\fP, and \fBfiles\&.c\fP\&. .PP Referenced by \fBLIBMTP_destroy_file_t()\fP, \fBLIBMTP_new_file_t()\fP, \fBLIBMTP_Send_Track_From_File_Descriptor()\fP, \fBLIBMTP_Send_Track_From_Handler()\fP, and \fBLIBMTP_Set_File_Name()\fP\&. .SS "uint64_t LIBMTP_file_struct::filesize" Size of file in bytes .PP \fBExamples\fP .in +1c \fBfiles\&.c\fP\&. .PP Referenced by \fBLIBMTP_Get_File_To_File_Descriptor()\fP, \fBLIBMTP_Get_File_To_Handler()\fP, \fBLIBMTP_Send_File_From_File_Descriptor()\fP, \fBLIBMTP_Send_File_From_Handler()\fP, \fBLIBMTP_Send_Track_From_File_Descriptor()\fP, and \fBLIBMTP_Send_Track_From_Handler()\fP\&. .SS "\fBLIBMTP_filetype_t\fP LIBMTP_file_struct::filetype" Filetype used for the current file .PP \fBExamples\fP .in +1c \fBfiles\&.c\fP, and \fBtracks\&.c\fP\&. .PP Referenced by \fBLIBMTP_Get_File_To_File_Descriptor()\fP, \fBLIBMTP_Get_File_To_Handler()\fP, \fBLIBMTP_Send_Track_From_File_Descriptor()\fP, \fBLIBMTP_Send_Track_From_Handler()\fP, \fBLIBMTP_Set_File_Name()\fP, and \fBLIBMTP_Set_Object_Filename()\fP\&. .SS "uint32_t LIBMTP_file_struct::item_id" Unique item ID .PP \fBExamples\fP .in +1c \fBdetect\&.c\fP, \fBfiles\&.c\fP, and \fBtracks\&.c\fP\&. .PP Referenced by \fBLIBMTP_Send_File_From_File_Descriptor()\fP, \fBLIBMTP_Send_File_From_Handler()\fP, \fBLIBMTP_Send_Track_From_File_Descriptor()\fP, \fBLIBMTP_Send_Track_From_Handler()\fP, and \fBLIBMTP_Set_File_Name()\fP\&. .SS "time_t LIBMTP_file_struct::modificationdate" Date of last alteration of the file .SS "\fBLIBMTP_file_t\fP* LIBMTP_file_struct::next" Next file in list or NULL if last file .PP \fBExamples\fP .in +1c \fBdetect\&.c\fP, \fBfiles\&.c\fP, and \fBtracks\&.c\fP\&. .PP Referenced by \fBLIBMTP_Get_Filelisting_With_Callback()\fP, \fBLIBMTP_Get_Files_And_Folders()\fP, \fBLIBMTP_Send_Track_From_File_Descriptor()\fP, and \fBLIBMTP_Send_Track_From_Handler()\fP\&. .SS "uint32_t LIBMTP_file_struct::parent_id" ID of parent folder .PP \fBExamples\fP .in +1c \fBfiles\&.c\fP\&. .PP Referenced by \fBLIBMTP_Send_File_From_File_Descriptor()\fP, \fBLIBMTP_Send_File_From_Handler()\fP, \fBLIBMTP_Send_Track_From_File_Descriptor()\fP, and \fBLIBMTP_Send_Track_From_Handler()\fP\&. .SS "uint32_t LIBMTP_file_struct::storage_id" ID of storage holding this file .PP \fBExamples\fP .in +1c \fBfiles\&.c\fP\&. .PP Referenced by \fBLIBMTP_Send_File_From_File_Descriptor()\fP, \fBLIBMTP_Send_File_From_Handler()\fP, \fBLIBMTP_Send_Track_From_File_Descriptor()\fP, and \fBLIBMTP_Send_Track_From_Handler()\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libmtp from the source code\&.