Home | History | Annotate | Download | only in src

Lines Matching refs:LIBMTP_mtpdevice_t

104 static void add_error_to_errorstack(LIBMTP_mtpdevice_t *device,
107 static void add_ptp_error_to_errorstack(LIBMTP_mtpdevice_t *device,
110 static void flush_handles(LIBMTP_mtpdevice_t *device);
111 static void get_handles_recursively(LIBMTP_mtpdevice_t *device,
115 static void free_storage_list(LIBMTP_mtpdevice_t *device);
116 static int sort_storage_by(LIBMTP_mtpdevice_t *device, int const sortby);
117 static uint32_t get_writeable_storageid(LIBMTP_mtpdevice_t *device, uint64_t fitsize);
118 static int get_storage_freespace(LIBMTP_mtpdevice_t *device,
121 static int check_if_file_fits(LIBMTP_mtpdevice_t *device,
128 static int get_device_unicode_property(LIBMTP_mtpdevice_t *device,
133 static char *get_string_from_object(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
135 static uint64_t get_u64_from_object(LIBMTP_mtpdevice_t *device,uint32_t const object_id,
137 static uint32_t get_u32_from_object(LIBMTP_mtpdevice_t *device,uint32_t const object_id,
139 static uint16_t get_u16_from_object(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
141 static uint8_t get_u8_from_object(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
143 static int set_object_string(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
145 static int set_object_u32(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
147 static int set_object_u16(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
149 static int set_object_u8(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
151 static void get_track_metadata(LIBMTP_mtpdevice_t *device, uint16_t objectformat,
154 static int create_new_abstract_list(LIBMTP_mtpdevice_t *device,
166 static int update_abstract_list(LIBMTP_mtpdevice_t *device,
175 static int send_file_object_info(LIBMTP_mtpdevice_t *device, LIBMTP_file_t *filedata);
176 static void add_object_to_cache(LIBMTP_mtpdevice_t *device, uint32_t object_id);
177 static void update_metadata_cache(LIBMTP_mtpdevice_t *device, uint32_t object_id);
178 static int set_object_filename(LIBMTP_mtpdevice_t *device,
886 int LIBMTP_Get_Allowed_Property_Values(LIBMTP_mtpdevice_t *device, LIBMTP_property_t const property,
1083 int LIBMTP_Is_Property_Supported(LIBMTP_mtpdevice_t *device, LIBMTP_property_t const property,
1121 LIBMTP_mtpdevice_t *device, uint32_t const object_id,
1136 uint64_t LIBMTP_Get_u64_From_Object(LIBMTP_mtpdevice_t *device,uint32_t const object_id,
1151 uint32_t LIBMTP_Get_u32_From_Object(LIBMTP_mtpdevice_t *device,uint32_t const object_id,
1166 uint16_t LIBMTP_Get_u16_From_Object(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
1181 uint8_t LIBMTP_Get_u8_From_Object(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
1196 int LIBMTP_Set_Object_String(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
1212 int LIBMTP_Set_Object_u32(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
1227 int LIBMTP_Set_Object_u16(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
1242 int LIBMTP_Set_Object_u8(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
1258 static char *get_string_from_object(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
1301 static uint64_t get_u64_from_object(LIBMTP_mtpdevice_t *device,uint32_t const object_id,
1340 static uint32_t get_u32_from_object(LIBMTP_mtpdevice_t *device,uint32_t const object_id,
1378 static uint16_t get_u16_from_object(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
1419 static uint8_t get_u8_from_object(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
1460 static int set_object_string(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
1496 static int set_object_u32(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
1532 static int set_object_u16(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
1567 static int set_object_u8(LIBMTP_mtpdevice_t *device, uint32_t const object_id,
1598 LIBMTP_mtpdevice_t *LIBMTP_Get_First_Device(void)
1600 LIBMTP_mtpdevice_t *first_device = NULL;
1652 LIBMTP_mtpdevice_t *device = ...;
1671 LIBMTP_mtpdevice_t *LIBMTP_Open_Raw_Device(LIBMTP_raw_device_t *rawdevice)
1673 LIBMTP_mtpdevice_t *mtp_device;
1681 mtp_device = (LIBMTP_mtpdevice_t *) malloc(sizeof(LIBMTP_mtpdevice_t));
1682 memset(mtp_device, 0, sizeof(LIBMTP_mtpdevice_t));
1868 static LIBMTP_mtpdevice_t * create_usb_mtp_devices(LIBMTP_raw_device_t *devices, int numdevs)
1871 LIBMTP_mtpdevice_t *mtp_device_list = NULL;
1872 LIBMTP_mtpdevice_t *current_device = NULL;
1875 LIBMTP_mtpdevice_t *mtp_device;
1900 uint32_t LIBMTP_Number_Devices_In_List(LIBMTP_mtpdevice_t *device_list)
1903 LIBMTP_mtpdevice_t *iter;
1918 LIBMTP_error_number_t LIBMTP_Get_Connected_Devices(LIBMTP_mtpdevice_t **device_list)
1952 void LIBMTP_Release_Device_List(LIBMTP_mtpdevice_t *device)
1969 void LIBMTP_Release_Device(LIBMTP_mtpdevice_t *device)
1993 static void add_error_to_errorstack(LIBMTP_mtpdevice_t *device,
2022 static void add_ptp_error_to_errorstack(LIBMTP_mtpdevice_t *device,
2053 LIBMTP_error_t *LIBMTP_Get_Errorstack(LIBMTP_mtpdevice_t *device)
2069 void LIBMTP_Clear_Errorstack(LIBMTP_mtpdevice_t *device)
2096 void LIBMTP_Dump_Errorstack(LIBMTP_mtpdevice_t *device)
2114 void LIBMTP_Set_Device_Timeout(LIBMTP_mtpdevice_t *device, int milliseconds)
2120 void LIBMTP_Get_Device_Timeout(LIBMTP_mtpdevice_t *device, int * milliseconds)
2135 static int get_all_metadata_fast(LIBMTP_mtpdevice_t *device,
2276 static void get_handles_recursively(LIBMTP_mtpdevice_t *device,
2314 LIBMTP_file_t * obj2file(LIBMTP_mtpdevice_t *device, PTPObject *ob)
2429 static LIBMTP_file_t * get_files(LIBMTP_mtpdevice_t *device,
2507 LIBMTP_file_t * LIBMTP_Get_Files_And_Folders(LIBMTP_mtpdevice_t *device, uint32_t storageId, uint32_t parentId)
2538 static void flush_handles(LIBMTP_mtpdevice_t *device)
2654 static void free_storage_list(LIBMTP_mtpdevice_t *device)
2682 static int sort_storage_by(LIBMTP_mtpdevice_t *device,int const sortby)
2754 static uint32_t get_writeable_storageid(LIBMTP_mtpdevice_t *device, uint64_t fitsize)
2813 static int get_storage_freespace(LIBMTP_mtpdevice_t *device,
2857 void LIBMTP_Dump_Device_Info(LIBMTP_mtpdevice_t *device)
3226 int LIBMTP_Reset_Device(LIBMTP_mtpdevice_t *device)
3251 char *LIBMTP_Get_Manufacturername(LIBMTP_mtpdevice_t *device)
3270 char *LIBMTP_Get_Modelname(LIBMTP_mtpdevice_t *device)
3288 char *LIBMTP_Get_Serialnumber(LIBMTP_mtpdevice_t *device)
3307 char *LIBMTP_Get_Deviceversion(LIBMTP_mtpdevice_t *device)
3329 char *LIBMTP_Get_Friendlyname(LIBMTP_mtpdevice_t *device)
3362 int LIBMTP_Set_Friendlyname(LIBMTP_mtpdevice_t *device,
3392 char *LIBMTP_Get_Syncpartner(LIBMTP_mtpdevice_t *device)
3430 int LIBMTP_Set_Syncpartner(LIBMTP_mtpdevice_t *device,
3460 static int check_if_file_fits(LIBMTP_mtpdevice_t *device,
3499 int LIBMTP_Get_Batterylevel(LIBMTP_mtpdevice_t *device,
3538 int LIBMTP_Format_Storage(LIBMTP_mtpdevice_t *device, LIBMTP_devicestorage_t *storage)
3566 static int get_device_unicode_property(LIBMTP_mtpdevice_t *device,
3617 int LIBMTP_Get_Secure_Time(LIBMTP_mtpdevice_t *device, char ** const sectime)
3631 int LIBMTP_Get_Device_Certificate(LIBMTP_mtpdevice_t *device, char ** const devcert)
3651 int LIBMTP_Get_Supported_Filetypes(LIBMTP_mtpdevice_t *device, uint16_t ** const filetypes,
3715 int LIBMTP_Get_Storage(LIBMTP_mtpdevice_t *device, int const sortby)
3858 LIBMTP_file_t *LIBMTP_Get_Filelisting(LIBMTP_mtpdevice_t *device)
3906 LIBMTP_file_t *LIBMTP_Get_Filelisting_With_Callback(LIBMTP_mtpdevice_t *device,
4060 LIBMTP_file_t *LIBMTP_Get_Filemetadata(LIBMTP_mtpdevice_t *device, uint32_t const fileid)
4228 static void pick_property_to_track_metadata(LIBMTP_mtpdevice_t *device, MTPProperties *prop, LIBMTP_track_t *track)
4315 static void get_track_metadata(LIBMTP_mtpdevice_t *device, uint16_t objectformat,
4410 LIBMTP_track_t *LIBMTP_Get_Tracklisting(LIBMTP_mtpdevice_t *device)
4458 LIBMTP_track_t *LIBMTP_Get_Tracklisting_With_Callback(LIBMTP_mtpdevice_t *device,
4573 LIBMTP_track_t *LIBMTP_Get_Trackmetadata(LIBMTP_mtpdevice_t *device, uint32_t const trackid)
4714 int LIBMTP_Get_File_To_File(LIBMTP_mtpdevice_t *device, uint32_t const id,
4778 int LIBMTP_Get_File_To_File_Descriptor(LIBMTP_mtpdevice_t *device,
4848 int LIBMTP_Get_File_To_Handler(LIBMTP_mtpdevice_t *device,
4923 int LIBMTP_Get_Track_To_File(LIBMTP_mtpdevice_t *device, uint32_t const id,
4949 int LIBMTP_Get_Track_To_File_Descriptor(LIBMTP_mtpdevice_t *device,
4977 int LIBMTP_Get_Track_To_Handler(LIBMTP_mtpdevice_t *device,
5025 int LIBMTP_Send_Track_From_File(LIBMTP_mtpdevice_t *device,
5101 int LIBMTP_Send_Track_From_File_Descriptor(LIBMTP_mtpdevice_t *device,
5198 int LIBMTP_Send_Track_From_Handler(LIBMTP_mtpdevice_t *device,
5290 int LIBMTP_Send_File_From_File(LIBMTP_mtpdevice_t *device,
5368 int LIBMTP_Send_File_From_File_Descriptor(LIBMTP_mtpdevice_t *device,
5472 int LIBMTP_Send_File_From_Handler(LIBMTP_mtpdevice_t *device,
5552 static int send_file_object_info(LIBMTP_mtpdevice_t *device, LIBMTP_file_t *filedata)
5835 int LIBMTP_Update_Track_Metadata(LIBMTP_mtpdevice_t *device,
6220 int LIBMTP_Delete_Object(LIBMTP_mtpdevice_t *device,
6238 static int set_object_filename(LIBMTP_mtpdevice_t *device,
6329 int LIBMTP_Set_File_Name(LIBMTP_mtpdevice_t *device,
6359 int LIBMTP_Set_Folder_Name(LIBMTP_mtpdevice_t *device,
6389 int LIBMTP_Set_Track_Name(LIBMTP_mtpdevice_t *device,
6426 int LIBMTP_Set_Playlist_Name(LIBMTP_mtpdevice_t *device,
6463 int LIBMTP_Set_Album_Name(LIBMTP_mtpdevice_t *device,
6491 int LIBMTP_Set_Object_Filename(LIBMTP_mtpdevice_t *device,
6518 int LIBMTP_Track_Exists(LIBMTP_mtpdevice_t *device,
6662 LIBMTP_folder_t *LIBMTP_Get_Folder_List(LIBMTP_mtpdevice_t *device)
6764 uint32_t LIBMTP_Create_Folder(LIBMTP_mtpdevice_t *device, char *name,
6883 LIBMTP_playlist_t *LIBMTP_Get_Playlist_List(LIBMTP_mtpdevice_t *device)
6961 LIBMTP_playlist_t *LIBMTP_Get_Playlist(LIBMTP_mtpdevice_t *device, uint32_t const plid)
7035 static int create_new_abstract_list(LIBMTP_mtpdevice_t *device,
7357 static int update_abstract_list(LIBMTP_mtpdevice_t *device,
7580 int LIBMTP_Create_New_Playlist(LIBMTP_mtpdevice_t *device,
7632 int LIBMTP_Update_Playlist(LIBMTP_mtpdevice_t *device,
7710 static void pick_property_to_album_metadata(LIBMTP_mtpdevice_t *device,
7758 static void get_album_metadata(LIBMTP_mtpdevice_t *device,
7824 LIBMTP_album_t *LIBMTP_Get_Album_List(LIBMTP_mtpdevice_t *device)
7883 LIBMTP_album_t *LIBMTP_Get_Album(LIBMTP_mtpdevice_t *device, uint32_t const albid)
7948 int LIBMTP_Create_New_Album(LIBMTP_mtpdevice_t *device,
8039 int LIBMTP_Get_Representative_Sample_Format(LIBMTP_mtpdevice_t *device,
8172 int LIBMTP_Send_Representative_Sample(LIBMTP_mtpdevice_t *device,
8267 int LIBMTP_Get_Representative_Sample(LIBMTP_mtpdevice_t *device,
8347 int LIBMTP_Update_Album(LIBMTP_mtpdevice_t *device,
8374 static void add_object_to_cache(LIBMTP_mtpdevice_t *device, uint32_t object_id)
8391 static void update_metadata_cache(LIBMTP_mtpdevice_t *device, uint32_t object_id)