mtp_LIBMTP_file_struct

Langue: en

Version: 342431 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

libmtp - LIBMTP_file_struct

SYNOPSIS


#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

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::filenameFilename of this file

Examples: detect.c, and files.c.

Referenced by LIBMTP_destroy_file_t(), LIBMTP_Get_Filelisting_With_Callback(), 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::filesizeSize of file in bytes

Examples: files.c.

Referenced by LIBMTP_Get_Filelisting_With_Callback(), 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::filetypeFiletype used for the current file

Examples: files.c.

Referenced by LIBMTP_Get_Filelisting_With_Callback(), 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_idUnique item ID

Examples: detect.c, and files.c.

Referenced by LIBMTP_Get_Filelisting_With_Callback(), 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::modificationdateDate of last alteration of the file

Referenced by LIBMTP_Get_Filelisting_With_Callback().

LIBMTP_file_t* LIBMTP_file_struct::nextNext file in list or NULL if last file

Examples: detect.c, and files.c.

Referenced by LIBMTP_Get_Filelisting_With_Callback(), LIBMTP_Send_Track_From_File_Descriptor(), and LIBMTP_Send_Track_From_Handler().

uint32_t LIBMTP_file_struct::parent_idID of parent folder

Examples: files.c.

Referenced by LIBMTP_Get_Filelisting_With_Callback(), 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_idID of storage holding this file

Examples: files.c.

Referenced by LIBMTP_Get_Filelisting_With_Callback(), 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.