LIBMTP_DEVICESTORAGE_STRUCT(3)
π NAME π
LIBMTP_devicestorage_struct β okay bestie, this is the page for the device storage struct, folded in from the libmtp Library Functions Manual. It's giving "all the storage fields in one iconic little struct," and we're covering every single one. π
β¨ SYNOPSIS β¨
#include <libmtp.h>
π Data Fields π
Here's the whole squad, in order:
uint32_t iduint16_t StorageTypeuint16_t FilesystemTypeuint16_t AccessCapabilityuint64_t MaxCapacityuint64_t FreeSpaceInBytesuint64_t FreeSpaceInObjectschar * StorageDescriptionchar * VolumeIdentifierLIBMTP_devicestorage_t * nextLIBMTP_devicestorage_t * prev
π¦ Detailed Description π¦
LIBMTP Device Storage structure β that's the whole vibe. It's the struct that holds device storage info, and the field docs below are the main characters. π«Ά
πΈ Field Documentation πΈ
uint16_t LIBMTP_devicestorage_struct::AccessCapability
Access capability. Literally what it says. Referenced by: LIBMTP_Dump_Device_Info(), and LIBMTP_Get_Storage(). β¨
uint16_t LIBMTP_devicestorage_struct::FilesystemType
Filesystem type. Referenced by: LIBMTP_Dump_Device_Info(), and LIBMTP_Get_Storage(). π
uint64_t LIBMTP_devicestorage_struct::FreeSpaceInBytes
Free space in bytes. Referenced by: LIBMTP_Dump_Device_Info(), and LIBMTP_Get_Storage(). πΈ
uint64_t LIBMTP_devicestorage_struct::FreeSpaceInObjects
Free space in objects. Referenced by: LIBMTP_Dump_Device_Info(), and LIBMTP_Get_Storage(). π¦
uint32_t LIBMTP_devicestorage_struct::id
Unique ID for this storage. Examples: detect.c, files.c, folders.c, sendtr.c, and tracks.c. Referenced by: LIBMTP_Dump_Device_Info(), LIBMTP_Format_Storage(), and LIBMTP_Get_Storage(). π₯
uint64_t LIBMTP_devicestorage_struct::MaxCapacity
Maximum capability. Referenced by: LIBMTP_Dump_Device_Info(), and LIBMTP_Get_Storage(). π
LIBMTP_devicestorage_t* LIBMTP_devicestorage_struct::next
Next storage, follow this link until NULL. Examples: detect.c, files.c, folders.c, sendtr.c, and tracks.c. Referenced by: LIBMTP_Dump_Device_Info(), and LIBMTP_Get_Storage(). π
LIBMTP_devicestorage_t* LIBMTP_devicestorage_struct::prev
Previous storage. Referenced by: LIBMTP_Get_Storage(). β
char* LIBMTP_devicestorage_struct::StorageDescription
A brief description of this storage. Examples: folders.c, and sendtr.c. Referenced by: LIBMTP_Dump_Device_Info(), and LIBMTP_Get_Storage(). π
uint16_t LIBMTP_devicestorage_struct::StorageType
Storage type. Referenced by: LIBMTP_Dump_Device_Info(), and LIBMTP_Get_Storage(). π
char* LIBMTP_devicestorage_struct::VolumeIdentifier
A volume identifier. Referenced by: LIBMTP_Dump_Device_Info(), and LIBMTP_Get_Storage(). π
π Author π
Generated automatically by Doxygen for libmtp from the source code. No cap, that's the author line. π«Ά
π Footer sign-off, bestie: the source/version + date-line vibe is libmtp, Version 1.1.23, and LIBMTP_dev...rage_struct(3) β that's the whole footer energy, repped cute at the very end. Byeee! π
π¦ where this page comes from
- arch rolling: libmtp 1.1.23-1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms