Scroll to navigation

LIBMTP_devicestorage_struct(3) Library Functions Manual LIBMTP_devicestorage_struct(3)

NAME

libmtp -

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

Examples
detect.c, files.c, folders.c, sendtr.c, and tracks.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
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.

Version 1.1.21 libmtp