DOKK / manpages / debian 11 / libmtp-doc / mtp_LIBMTP_file_struct.3.en
LIBMTP_file_struct(3) libmtp LIBMTP_file_struct(3)

libmtp -

#include <libmtp.h>


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

Examples
delfile.c, detect.c, files.c, getfile.c, newfolder.c, sendfile.c, sendtr.c, and tracks.c.

Filename of this file

Examples
detect.c, and files.c.

Referenced by LIBMTP_destroy_file_t(), and LIBMTP_new_file_t().

Size of file in bytes

Examples
files.c.

LIBMTP_filetype_t LIBMTP_file_struct::filetype

Filetype used for the current file

Examples
files.c, and tracks.c.

Unique item ID

Examples
detect.c, files.c, and tracks.c.

Date of last alteration of the file

LIBMTP_file_t* LIBMTP_file_struct::next

Next file in list or NULL if last file

Examples
detect.c, files.c, and tracks.c.

ID of parent folder

Examples
files.c.

ID of storage holding this file

Examples
files.c.

Generated automatically by Doxygen for libmtp from the source code.

Thu Mar 26 2020 Version 1.1.17