MTP_LIBMTP_DEVICESTORAGE_STRUCT(3)
πΈ NAME πΈ
libmtp - that's it bestie, that's the whole name line π the description part is literally empty, she left it blank on purpose, iconic behaviour honestly
okay but fr fr, this page lives in the Library Functions Manual, and it's all about LIBMTP_devicestorage_struct β the struct that holds the tea on every storage volume your device is carrying around π
β¨ SYNOPSIS β¨
#include <libmtp.h>
π¦ Data Fields π¦
uint32_t id
uint16_t StorageType
uint16_t FilesystemType
uint16_t AccessCapability
uint64_t MaxCapacity
uint64_t FreeSpaceInBytes
uint64_t FreeSpaceInObjects
char * StorageDescription
char * VolumeIdentifier
LIBMTP_devicestorage_t * next
LIBMTP_devicestorage_t * prev
π Detailed Description π
LIBMTP Device Storage structure. that's the whole vibe, she's a storage struct and she is thriving β¨
π Field Documentation π
okay so now we go field by field, no skips, we are thorough in this house π
uint16_t LIBMTP_devicestorage_struct::AccessCapability
Access capability. what this storage is allowed to do, basically her permissions slay
- Referenced by
LIBMTP_Dump_Device_Info(), andLIBMTP_Get_Storage().
uint16_t LIBMTP_devicestorage_struct::FilesystemType
Filesystem type.
- Referenced by
LIBMTP_Dump_Device_Info(), andLIBMTP_Get_Storage().
uint64_t LIBMTP_devicestorage_struct::FreeSpaceInBytes
Free space in bytes. the room she's got left, in bytes specifically π«Ά
- Referenced by
LIBMTP_Dump_Device_Info(), andLIBMTP_Get_Storage().
uint64_t LIBMTP_devicestorage_struct::FreeSpaceInObjects
Free space in objects. same energy but counted in objects instead of bytes
- Referenced by
LIBMTP_Dump_Device_Info(), andLIBMTP_Get_Storage().
uint32_t LIBMTP_devicestorage_struct::id
Unique ID for this storage. every storage gets her own little name tag, no duplicates allowed, periodt π
- Examples:
detect.c,files.c,folders.c,sendtr.c, andtracks.c. - Referenced by
LIBMTP_Dump_Device_Info(),LIBMTP_Format_Storage(), andLIBMTP_Get_Storage().
uint64_t LIBMTP_devicestorage_struct::MaxCapacity
Maximum capability.
- Referenced by
LIBMTP_Dump_Device_Info(), andLIBMTP_Get_Storage().
LIBMTP_devicestorage_t* LIBMTP_devicestorage_struct::next
Next storage, follow this link until NULL. yes literally, you keep hopping to the next one until you hit NULL and then you stop, that's the whole quest π
- Examples:
detect.c,files.c,folders.c,sendtr.c, andtracks.c. - Referenced by
LIBMTP_Dump_Device_Info(), andLIBMTP_Get_Storage().
LIBMTP_devicestorage_t* LIBMTP_devicestorage_struct::prev
Previous storage. the one before her, the back-button of the linked list bestie
- Referenced by
LIBMTP_Get_Storage().
char* LIBMTP_devicestorage_struct::StorageDescription
A brief description of this storage.
- Examples:
folders.c, andsendtr.c. - Referenced by
LIBMTP_Dump_Device_Info(), andLIBMTP_Get_Storage().
uint16_t LIBMTP_devicestorage_struct::StorageType
Storage type.
- Referenced by
LIBMTP_Dump_Device_Info(), andLIBMTP_Get_Storage().
char* LIBMTP_devicestorage_struct::VolumeIdentifier
A volume identifier.
- Referenced by
LIBMTP_Dump_Device_Info(), andLIBMTP_Get_Storage().
π Author π
Generated automatically by Doxygen for libmtp from the source code. not a human, not a girlboss, just Doxygen doing her thing π€π
and that's the whole page bestie!! this came out of libmtp, Version 1.1.23, and she's a certified page from the Library Functions Manual π¦ go format something, ily, byeee πβ¨
π¦ where this page comes from
- ubuntu stonking: libmtp-doc 1.1.23-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms