Lines Matching defs:device
963 int LIBMTP_Get_Allowed_Property_Values(LIBMTP_mtpdevice_t *device, LIBMTP_property_t const property, in LIBMTP_Get_Allowed_Property_Values()
1160 int LIBMTP_Is_Property_Supported(LIBMTP_mtpdevice_t *device, LIBMTP_property_t const property, in LIBMTP_Is_Property_Supported()
1201 char *LIBMTP_Get_String_From_Object(LIBMTP_mtpdevice_t *device, uint32_t const object_id, in LIBMTP_Get_String_From_Object()
1216 uint64_t LIBMTP_Get_u64_From_Object(LIBMTP_mtpdevice_t *device,uint32_t const object_id, in LIBMTP_Get_u64_From_Object()
1231 uint32_t LIBMTP_Get_u32_From_Object(LIBMTP_mtpdevice_t *device,uint32_t const object_id, in LIBMTP_Get_u32_From_Object()
1246 uint16_t LIBMTP_Get_u16_From_Object(LIBMTP_mtpdevice_t *device, uint32_t const object_id, in LIBMTP_Get_u16_From_Object()
1261 uint8_t LIBMTP_Get_u8_From_Object(LIBMTP_mtpdevice_t *device, uint32_t const object_id, in LIBMTP_Get_u8_From_Object()
1276 int LIBMTP_Set_Object_String(LIBMTP_mtpdevice_t *device, uint32_t const object_id, in LIBMTP_Set_Object_String()
1292 int LIBMTP_Set_Object_u32(LIBMTP_mtpdevice_t *device, uint32_t const object_id, in LIBMTP_Set_Object_u32()
1307 int LIBMTP_Set_Object_u16(LIBMTP_mtpdevice_t *device, uint32_t const object_id, in LIBMTP_Set_Object_u16()
1322 int LIBMTP_Set_Object_u8(LIBMTP_mtpdevice_t *device, uint32_t const object_id, in LIBMTP_Set_Object_u8()
1338 static char *get_string_from_object(LIBMTP_mtpdevice_t *device, uint32_t const object_id, in get_string_from_object()
1382 static uint64_t get_u64_from_object(LIBMTP_mtpdevice_t *device,uint32_t const object_id, in get_u64_from_object()
1422 static uint32_t get_u32_from_object(LIBMTP_mtpdevice_t *device,uint32_t const object_id, in get_u32_from_object()
1461 static uint16_t get_u16_from_object(LIBMTP_mtpdevice_t *device, uint32_t const object_id, in get_u16_from_object()
1503 static uint8_t get_u8_from_object(LIBMTP_mtpdevice_t *device, uint32_t const object_id, in get_u8_from_object()
1545 static int set_object_string(LIBMTP_mtpdevice_t *device, uint32_t const object_id, in set_object_string()
1582 static int set_object_u32(LIBMTP_mtpdevice_t *device, uint32_t const object_id, in set_object_u32()
1619 static int set_object_u16(LIBMTP_mtpdevice_t *device, uint32_t const object_id, in set_object_u16()
1655 static int set_object_u8(LIBMTP_mtpdevice_t *device, uint32_t const object_id, in set_object_u8()
2157 int LIBMTP_Read_Event(LIBMTP_mtpdevice_t *device, LIBMTP_event_t *event, uint32_t *out1) in LIBMTP_Read_Event()
2300 int LIBMTP_Read_Event_Async(LIBMTP_mtpdevice_t *device, LIBMTP_event_cb_fn cb, void *user_data) { in LIBMTP_Read_Event_Async()
2403 void LIBMTP_Release_Device_List(LIBMTP_mtpdevice_t *device) in LIBMTP_Release_Device_List()
2420 void LIBMTP_Release_Device(LIBMTP_mtpdevice_t *device) in LIBMTP_Release_Device()
2458 static void add_error_to_errorstack(LIBMTP_mtpdevice_t *device, in add_error_to_errorstack()
2487 static void add_ptp_error_to_errorstack(LIBMTP_mtpdevice_t *device, in add_ptp_error_to_errorstack()
2523 LIBMTP_error_t *LIBMTP_Get_Errorstack(LIBMTP_mtpdevice_t *device) in LIBMTP_Get_Errorstack()
2539 void LIBMTP_Clear_Errorstack(LIBMTP_mtpdevice_t *device) in LIBMTP_Clear_Errorstack()
2566 void LIBMTP_Dump_Errorstack(LIBMTP_mtpdevice_t *device) in LIBMTP_Dump_Errorstack()
2584 void LIBMTP_Set_Device_Timeout(LIBMTP_mtpdevice_t *device, int milliseconds) in LIBMTP_Set_Device_Timeout()
2590 void LIBMTP_Get_Device_Timeout(LIBMTP_mtpdevice_t *device, int *milliseconds) in LIBMTP_Get_Device_Timeout()
2605 static int get_all_metadata_fast(LIBMTP_mtpdevice_t *device) in get_all_metadata_fast()
2753 static void get_handles_recursively(LIBMTP_mtpdevice_t *device, in get_handles_recursively()
2799 static void flush_handles(LIBMTP_mtpdevice_t *device) in flush_handles()
2928 static void free_storage_list(LIBMTP_mtpdevice_t *device) in free_storage_list()
2956 static int sort_storage_by(LIBMTP_mtpdevice_t *device,int const sortby) in sort_storage_by()
3028 static uint32_t get_writeable_storageid(LIBMTP_mtpdevice_t *device, in get_writeable_storageid()
3088 static int get_suggested_storage_id(LIBMTP_mtpdevice_t *device, in get_suggested_storage_id()
3117 static int get_storage_freespace(LIBMTP_mtpdevice_t *device, in get_storage_freespace()
3162 void LIBMTP_Dump_Device_Info(LIBMTP_mtpdevice_t *device) in LIBMTP_Dump_Device_Info()
3559 int LIBMTP_Reset_Device(LIBMTP_mtpdevice_t *device) in LIBMTP_Reset_Device()
3585 char *LIBMTP_Get_Manufacturername(LIBMTP_mtpdevice_t *device) in LIBMTP_Get_Manufacturername()
3604 char *LIBMTP_Get_Modelname(LIBMTP_mtpdevice_t *device) in LIBMTP_Get_Modelname()
3622 char *LIBMTP_Get_Serialnumber(LIBMTP_mtpdevice_t *device) in LIBMTP_Get_Serialnumber()
3641 char *LIBMTP_Get_Deviceversion(LIBMTP_mtpdevice_t *device) in LIBMTP_Get_Deviceversion()
3663 char *LIBMTP_Get_Friendlyname(LIBMTP_mtpdevice_t *device) in LIBMTP_Get_Friendlyname()
3696 int LIBMTP_Set_Friendlyname(LIBMTP_mtpdevice_t *device, in LIBMTP_Set_Friendlyname()
3726 char *LIBMTP_Get_Syncpartner(LIBMTP_mtpdevice_t *device) in LIBMTP_Get_Syncpartner()
3764 int LIBMTP_Set_Syncpartner(LIBMTP_mtpdevice_t *device, in LIBMTP_Set_Syncpartner()
3794 static int check_if_file_fits(LIBMTP_mtpdevice_t *device, in check_if_file_fits()
3833 int LIBMTP_Get_Batterylevel(LIBMTP_mtpdevice_t *device, in LIBMTP_Get_Batterylevel()
3875 int LIBMTP_Format_Storage(LIBMTP_mtpdevice_t *device, in LIBMTP_Format_Storage()
3906 static int get_device_unicode_property(LIBMTP_mtpdevice_t *device, in get_device_unicode_property()
3959 int LIBMTP_Get_Secure_Time(LIBMTP_mtpdevice_t *device, char ** const sectime) in LIBMTP_Get_Secure_Time()
3973 int LIBMTP_Get_Device_Certificate(LIBMTP_mtpdevice_t *device, char ** const devcert) in LIBMTP_Get_Device_Certificate()
3994 int LIBMTP_Get_Supported_Filetypes(LIBMTP_mtpdevice_t *device, uint16_t ** const filetypes, in LIBMTP_Get_Supported_Filetypes()
4044 int LIBMTP_Check_Capability(LIBMTP_mtpdevice_t *device, LIBMTP_devicecap_t cap) in LIBMTP_Check_Capability()
4099 int LIBMTP_Get_Storage(LIBMTP_mtpdevice_t *device, int const sortby) in LIBMTP_Get_Storage()
4244 static LIBMTP_file_t *obj2file(LIBMTP_mtpdevice_t *device, PTPObject *ob) in obj2file()
4361 LIBMTP_file_t *LIBMTP_Get_Filemetadata(LIBMTP_mtpdevice_t *device, uint32_t const fileid) in LIBMTP_Get_Filemetadata()
4385 LIBMTP_file_t *LIBMTP_Get_Filelisting(LIBMTP_mtpdevice_t *device) in LIBMTP_Get_Filelisting()
4433 LIBMTP_file_t *LIBMTP_Get_Filelisting_With_Callback(LIBMTP_mtpdevice_t *device, in LIBMTP_Get_Filelisting_With_Callback()
4498 LIBMTP_file_t * LIBMTP_Get_Files_And_Folders(LIBMTP_mtpdevice_t *device, in LIBMTP_Get_Files_And_Folders()
4662 static void pick_property_to_track_metadata(LIBMTP_mtpdevice_t *device, MTPProperties *prop, LIBMTP… in pick_property_to_track_metadata()
4749 static void get_track_metadata(LIBMTP_mtpdevice_t *device, uint16_t objectformat, in get_track_metadata()
4844 LIBMTP_track_t *LIBMTP_Get_Tracklisting(LIBMTP_mtpdevice_t *device) in LIBMTP_Get_Tracklisting()
4892 LIBMTP_track_t *LIBMTP_Get_Tracklisting_With_Callback(LIBMTP_mtpdevice_t *device, in LIBMTP_Get_Tracklisting_With_Callback()
4942 LIBMTP_track_t *LIBMTP_Get_Tracklisting_With_Callback_For_Storage(LIBMTP_mtpdevice_t *device, uint3… in LIBMTP_Get_Tracklisting_With_Callback_For_Storage()
5060 LIBMTP_track_t *LIBMTP_Get_Trackmetadata(LIBMTP_mtpdevice_t *device, uint32_t const trackid) in LIBMTP_Get_Trackmetadata()
5204 int LIBMTP_Get_File_To_File(LIBMTP_mtpdevice_t *device, uint32_t const id,
5264 int LIBMTP_Get_File_To_File_Descriptor(LIBMTP_mtpdevice_t *device,
5328 int LIBMTP_Get_File_To_Handler(LIBMTP_mtpdevice_t *device,
5403 int LIBMTP_Get_Track_To_File(LIBMTP_mtpdevice_t *device, uint32_t const id,
5427 int LIBMTP_Get_Track_To_File_Descriptor(LIBMTP_mtpdevice_t *device,
5454 int LIBMTP_Get_Track_To_Handler(LIBMTP_mtpdevice_t *device,
5502 int LIBMTP_Send_Track_From_File(LIBMTP_mtpdevice_t *device,
5634 int LIBMTP_Send_Track_From_File_Descriptor(LIBMTP_mtpdevice_t *device,
5738 int LIBMTP_Send_Track_From_Handler(LIBMTP_mtpdevice_t *device,
5837 int LIBMTP_Send_File_From_File(LIBMTP_mtpdevice_t *device,
5915 int LIBMTP_Send_File_From_File_Descriptor(LIBMTP_mtpdevice_t *device,
6032 int LIBMTP_Send_File_From_Handler(LIBMTP_mtpdevice_t *device,
6112 static int send_file_object_info(LIBMTP_mtpdevice_t *device, LIBMTP_file_t *filedata)
6403 int LIBMTP_Update_Track_Metadata(LIBMTP_mtpdevice_t *device,
6794 int LIBMTP_Delete_Object(LIBMTP_mtpdevice_t *device,
6812 static int set_object_filename(LIBMTP_mtpdevice_t *device,
6903 int LIBMTP_Set_File_Name(LIBMTP_mtpdevice_t *device,
6933 int LIBMTP_Set_Folder_Name(LIBMTP_mtpdevice_t *device,
6963 int LIBMTP_Set_Track_Name(LIBMTP_mtpdevice_t *device,
7000 int LIBMTP_Set_Playlist_Name(LIBMTP_mtpdevice_t *device,
7037 int LIBMTP_Set_Album_Name(LIBMTP_mtpdevice_t *device,
7065 int LIBMTP_Set_Object_Filename(LIBMTP_mtpdevice_t *device,
7092 int LIBMTP_Track_Exists(LIBMTP_mtpdevice_t *device,
7238 LIBMTP_folder_t *LIBMTP_Get_Folder_List_For_Storage(LIBMTP_mtpdevice_t *device,
7344 LIBMTP_folder_t *LIBMTP_Get_Folder_List(LIBMTP_mtpdevice_t *device)
7368 uint32_t LIBMTP_Create_Folder(LIBMTP_mtpdevice_t *device, char *name,
7499 LIBMTP_playlist_t *LIBMTP_Get_Playlist_List(LIBMTP_mtpdevice_t *device)
7577 LIBMTP_playlist_t *LIBMTP_Get_Playlist(LIBMTP_mtpdevice_t *device, uint32_t const plid)
7651 static int create_new_abstract_list(LIBMTP_mtpdevice_t *device,
7985 static int update_abstract_list(LIBMTP_mtpdevice_t *device,
8212 int LIBMTP_Create_New_Playlist(LIBMTP_mtpdevice_t *device,
8264 int LIBMTP_Update_Playlist(LIBMTP_mtpdevice_t *device,
8342 static void pick_property_to_album_metadata(LIBMTP_mtpdevice_t *device,
8390 static void get_album_metadata(LIBMTP_mtpdevice_t *device,
8457 LIBMTP_album_t *LIBMTP_Get_Album_List(LIBMTP_mtpdevice_t *device)
8475 LIBMTP_album_t *LIBMTP_Get_Album_List_For_Storage(LIBMTP_mtpdevice_t *device, uint32_t const storag…
8538 LIBMTP_album_t *LIBMTP_Get_Album(LIBMTP_mtpdevice_t *device, uint32_t const albid)
8603 int LIBMTP_Create_New_Album(LIBMTP_mtpdevice_t *device,
8694 int LIBMTP_Get_Representative_Sample_Format(LIBMTP_mtpdevice_t *device,
8827 int LIBMTP_Send_Representative_Sample(LIBMTP_mtpdevice_t *device,
8922 int LIBMTP_Get_Representative_Sample(LIBMTP_mtpdevice_t *device,
8994 int LIBMTP_Get_Thumbnail(LIBMTP_mtpdevice_t *device, uint32_t const id,
9007 int LIBMTP_GetPartialObject(LIBMTP_mtpdevice_t *device, uint32_t const id,
9037 int LIBMTP_SendPartialObject(LIBMTP_mtpdevice_t *device, uint32_t const id,
9056 int LIBMTP_BeginEditObject(LIBMTP_mtpdevice_t *device, uint32_t const id)
9074 int LIBMTP_EndEditObject(LIBMTP_mtpdevice_t *device, uint32_t const id)
9095 int LIBMTP_TruncateObject(LIBMTP_mtpdevice_t *device, uint32_t const id,
9128 int LIBMTP_Update_Album(LIBMTP_mtpdevice_t *device,
9155 static void add_object_to_cache(LIBMTP_mtpdevice_t *device, uint32_t object_id)
9172 static void update_metadata_cache(LIBMTP_mtpdevice_t *device, uint32_t object_id)
9188 int LIBMTP_Custom_Operation(LIBMTP_mtpdevice_t *device, uint16_t code, int n_param, ...)