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(), 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. the room she's got left, in bytes specifically 🫢

  • Referenced by LIBMTP_Dump_Device_Info(), and LIBMTP_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(), and LIBMTP_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, 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. 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, and tracks.c.
  • Referenced by LIBMTP_Dump_Device_Info(), and LIBMTP_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, 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. 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