# LIBMTP_devicestorage_struct Struct Reference
[libmtp data structures]

`#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

Examples:

  sendtr.c.

## Field Documentation

uint16_t LIBMTP_devicestorage_struct::AccessCapability

Access capability

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:
  sendtr.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:
  sendtr.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:
  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().

The documentation for this struct was generated from the following file:

- /tmp/libmtp-1.0.1/src/libmtp.h