Rechercher une page de manuel
mtp_LIBMTP_mtpdevice_struct
Langue: en
Version: 353854 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
- NAME
- SYNOPSIS
- Detailed Description
- Field Documentation
- void* LIBMTP_mtpdevice_struct::cdPer device iconv() converters, only used internally
- uint32_t LIBMTP_mtpdevice_struct::default_album_folderDefault Album folder
- uint32_t LIBMTP_mtpdevice_struct::default_music_folderDefault music folder
- uint32_t LIBMTP_mtpdevice_struct::default_organizer_folderDefault organizer folder
- uint32_t LIBMTP_mtpdevice_struct::default_picture_folderDefault picture folder
- uint32_t LIBMTP_mtpdevice_struct::default_playlist_folderDefault playlist folder
- uint32_t LIBMTP_mtpdevice_struct::default_text_folderDefault Text folder
- uint32_t LIBMTP_mtpdevice_struct::default_video_folderDefault video folder
- uint32_t LIBMTP_mtpdevice_struct::default_zencast_folderDefault ZENcast folder (only Creative devices...)
- LIBMTP_error_t* LIBMTP_mtpdevice_struct::errorstackThe error stack. This shall be handled using the error getting and clearing functions, not by dereferencing this list.
- uint8_t LIBMTP_mtpdevice_struct::maximum_battery_levelThe maximum battery level for this device
- LIBMTP_mtpdevice_t* LIBMTP_mtpdevice_struct::nextPointer to next device in linked list; NULL if this is the last device
- uint8_t LIBMTP_mtpdevice_struct::object_bitsizeObject bitsize, typically 32 or 64.
- void* LIBMTP_mtpdevice_struct::paramsParameters for this device, must be cast into (PTPParams*) before internal use.
- LIBMTP_devicestorage_t* LIBMTP_mtpdevice_struct::storageThe storage for this device, do not use strings in here without copying them first, and beware that this list may be rebuilt at any time.
- void* LIBMTP_mtpdevice_struct::usbinfoUSB device for this device, must be cast into (PTP_USB*) before internal use.
- Author
NAME
libmtp - LIBMTP_mtpdevice_structSYNOPSIS
#include <libmtp.h>
Data Fields
uint8_t object_bitsize
void * params
void * usbinfo
LIBMTP_devicestorage_t * storage
LIBMTP_error_t * errorstack
uint8_t maximum_battery_level
uint32_t default_music_folder
uint32_t default_playlist_folder
uint32_t default_picture_folder
uint32_t default_video_folder
uint32_t default_organizer_folder
uint32_t default_zencast_folder
uint32_t default_album_folder
uint32_t default_text_folder
void * cd
LIBMTP_mtpdevice_t * next
Detailed Description
Main MTP device object struct
Examples:
delfile.c, detect.c, files.c, folders.c, getfile.c, getplaylist.c, newfolder.c, playlists.c, sendfile.c, sendtr.c, tracks.c, and trexist.c.
Field Documentation
void* LIBMTP_mtpdevice_struct::cdPer device iconv() converters, only used internally
uint32_t LIBMTP_mtpdevice_struct::default_album_folderDefault Album folder
Referenced by LIBMTP_Create_New_Album(), LIBMTP_Dump_Device_Info(), and LIBMTP_Open_Raw_Device().
uint32_t LIBMTP_mtpdevice_struct::default_music_folderDefault music folder
Referenced by LIBMTP_Create_New_Album(), LIBMTP_Create_New_Playlist(), LIBMTP_Dump_Device_Info(), and LIBMTP_Open_Raw_Device().
uint32_t LIBMTP_mtpdevice_struct::default_organizer_folderDefault organizer folder
Referenced by LIBMTP_Dump_Device_Info(), and LIBMTP_Open_Raw_Device().
uint32_t LIBMTP_mtpdevice_struct::default_picture_folderDefault picture folder
Referenced by LIBMTP_Dump_Device_Info(), and LIBMTP_Open_Raw_Device().
uint32_t LIBMTP_mtpdevice_struct::default_playlist_folderDefault playlist folder
Referenced by LIBMTP_Create_New_Playlist(), LIBMTP_Dump_Device_Info(), and LIBMTP_Open_Raw_Device().
uint32_t LIBMTP_mtpdevice_struct::default_text_folderDefault Text folder
Referenced by LIBMTP_Dump_Device_Info(), and LIBMTP_Open_Raw_Device().
uint32_t LIBMTP_mtpdevice_struct::default_video_folderDefault video folder
Referenced by LIBMTP_Dump_Device_Info(), and LIBMTP_Open_Raw_Device().
uint32_t LIBMTP_mtpdevice_struct::default_zencast_folderDefault ZENcast folder (only Creative devices...)
Referenced by LIBMTP_Dump_Device_Info(), and LIBMTP_Open_Raw_Device().
LIBMTP_error_t* LIBMTP_mtpdevice_struct::errorstackThe error stack. This shall be handled using the error getting and clearing functions, not by dereferencing this list.
Referenced by LIBMTP_Clear_Errorstack(), LIBMTP_Dump_Errorstack(), LIBMTP_Get_Errorstack(), and LIBMTP_Open_Raw_Device().
uint8_t LIBMTP_mtpdevice_struct::maximum_battery_levelThe maximum battery level for this device
Referenced by LIBMTP_Get_Batterylevel(), and LIBMTP_Open_Raw_Device().
LIBMTP_mtpdevice_t* LIBMTP_mtpdevice_struct::nextPointer to next device in linked list; NULL if this is the last device
Examples: files.c, folders.c, and tracks.c.
Referenced by LIBMTP_Number_Devices_In_List(), and LIBMTP_Release_Device_List().
uint8_t LIBMTP_mtpdevice_struct::object_bitsizeObject bitsize, typically 32 or 64.
Referenced by LIBMTP_Dump_Device_Info(), LIBMTP_Get_Filelisting_With_Callback(), LIBMTP_Get_Filemetadata(), and LIBMTP_Open_Raw_Device().
void* LIBMTP_mtpdevice_struct::paramsParameters for this device, must be cast into (PTPParams*) before internal use.
Referenced by LIBMTP_Create_Folder(), LIBMTP_Delete_Object(), LIBMTP_Dump_Device_Info(), LIBMTP_Format_Storage(), LIBMTP_Get_Album(), LIBMTP_Get_Album_List_For_Storage(), LIBMTP_Get_Allowed_Property_Values(), LIBMTP_Get_Batterylevel(), LIBMTP_Get_Deviceversion(), LIBMTP_Get_File_To_File_Descriptor(), LIBMTP_Get_File_To_Handler(), LIBMTP_Get_Filelisting_With_Callback(), LIBMTP_Get_Filemetadata(), LIBMTP_Get_Folder_List(), LIBMTP_Get_Friendlyname(), LIBMTP_Get_Manufacturername(), LIBMTP_Get_Modelname(), LIBMTP_Get_Playlist(), LIBMTP_Get_Playlist_List(), LIBMTP_Get_Representative_Sample(), LIBMTP_Get_Representative_Sample_Format(), LIBMTP_Get_Serialnumber(), LIBMTP_Get_Storage(), LIBMTP_Get_Supported_Filetypes(), LIBMTP_Get_Syncpartner(), LIBMTP_Get_Tracklisting_With_Callback_For_Storage(), LIBMTP_Get_Trackmetadata(), LIBMTP_Is_Property_Supported(), LIBMTP_Open_Raw_Device(), LIBMTP_Release_Device(), LIBMTP_Reset_Device(), LIBMTP_Send_File_From_File_Descriptor(), LIBMTP_Send_File_From_Handler(), LIBMTP_Send_Representative_Sample(), LIBMTP_Send_Track_From_File_Descriptor(), LIBMTP_Send_Track_From_Handler(), LIBMTP_Set_Friendlyname(), LIBMTP_Set_Syncpartner(), LIBMTP_Track_Exists(), LIBMTP_Update_Track_Metadata(), utf16_to_utf8(), and utf8_to_utf16().
LIBMTP_devicestorage_t* LIBMTP_mtpdevice_struct::storageThe storage for this device, do not use strings in here without copying them first, and beware that this list may be rebuilt at any time.
See also:
- LIBMTP_Get_Storage()
Examples: sendtr.c.
Referenced by LIBMTP_Dump_Device_Info(), LIBMTP_Get_Storage(), and LIBMTP_Open_Raw_Device().
void* LIBMTP_mtpdevice_struct::usbinfoUSB device for this device, must be cast into (PTP_USB*) before internal use.
Referenced by LIBMTP_Create_Folder(), LIBMTP_Create_New_Playlist(), LIBMTP_Dump_Device_Info(), LIBMTP_Get_Batterylevel(), LIBMTP_Get_File_To_File_Descriptor(), LIBMTP_Get_File_To_Handler(), LIBMTP_Get_Filelisting_With_Callback(), LIBMTP_Get_Playlist(), LIBMTP_Get_Playlist_List(), LIBMTP_Get_Supported_Filetypes(), LIBMTP_Get_Tracklisting_With_Callback_For_Storage(), LIBMTP_Get_Trackmetadata(), LIBMTP_Open_Raw_Device(), LIBMTP_Release_Device(), LIBMTP_Send_File_From_File_Descriptor(), LIBMTP_Send_File_From_Handler(), LIBMTP_Send_Representative_Sample(), LIBMTP_Send_Track_From_File_Descriptor(), LIBMTP_Send_Track_From_Handler(), LIBMTP_Update_Playlist(), and LIBMTP_Update_Track_Metadata().
Author
Generated automatically by Doxygen for libmtp from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre