.TH "LIBMTP_file_struct" 3 "Sun Feb 17 2013" "Version 1.1.3" "libmtp" \" -*- nroff -*- .ad l .nh .SH NAME libmtp \- LIBMTP_file_struct .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, and \fBsendtr\&.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 LIBMTP_destroy_file_t(), LIBMTP_new_file_t(), LIBMTP_Send_Track_From_File_Descriptor(), LIBMTP_Send_Track_From_Handler(), and LIBMTP_Set_File_Name()\&. .SS "uint64_t LIBMTP_file_struct::filesize" Size of file in bytes .PP \fBExamples: \fP .in +1c \fBfiles\&.c\fP\&. .PP 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()\&. .SS "\fBLIBMTP_filetype_t\fP LIBMTP_file_struct::filetype" Filetype used for the current file .PP \fBExamples: \fP .in +1c \fBfiles\&.c\fP\&. .PP Referenced by LIBMTP_Send_Track_From_File_Descriptor(), LIBMTP_Send_Track_From_Handler(), LIBMTP_Set_File_Name(), and LIBMTP_Set_Object_Filename()\&. .SS "uint32_t LIBMTP_file_struct::item_id" Unique item ID .PP \fBExamples: \fP .in +1c \fBdetect\&.c\fP, and \fBfiles\&.c\fP\&. .PP 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()\&. .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, and \fBfiles\&.c\fP\&. .PP Referenced by LIBMTP_Get_Filelisting_With_Callback(), LIBMTP_Get_Files_And_Folders(), LIBMTP_Send_Track_From_File_Descriptor(), and LIBMTP_Send_Track_From_Handler()\&. .SS "uint32_t LIBMTP_file_struct::parent_id" ID of parent folder .PP \fBExamples: \fP .in +1c \fBfiles\&.c\fP\&. .PP 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()\&. .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 LIBMTP_Send_File_From_File_Descriptor(), LIBMTP_Send_File_From_Handler(), LIBMTP_Send_Track_From_File_Descriptor(), and LIBMTP_Send_Track_From_Handler()\&. .SH "Author" .PP Generated automatically by Doxygen for libmtp from the source code\&.