libimobiledevice  1.4.0
API Documentation - Return to Homepage

◆ afc_get_file_info_plist()

afc_error_t afc_get_file_info_plist ( afc_client_t client,
const char * path,
plist_t * file_information )

Gets information about a specific file.

Parameters
clientThe client to use to get the information of the file.
pathThe fully-qualified path to the file.
file_informationA pointer to a plist_t that will be populated with key-value pairs (dictionary) representing the file attributes. Free with plist_free().
Returns
AFC_E_SUCCESS on success or an AFC_E_* error value.