libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ afc_get_file_info()

afc_error_t afc_get_file_info ( afc_client_t  client,
const char *  path,
char ***  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_informationPointer to a buffer that will be filled with a NULL-terminated list of strings with the file information. Set to NULL before calling this function. Free with afc_dictionary_free().
Returns
AFC_E_SUCCESS on success or an AFC_E_* error value.