From 6cd994d7f030e069a3ea5efe0aa3266fd887724c Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 10 Jun 2020 00:42:12 +0200 Subject: Fix inconsistent declarations of function parameters in public headers --- include/libimobiledevice/afc.h | 2 +- include/libimobiledevice/lockdown.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'include/libimobiledevice') diff --git a/include/libimobiledevice/afc.h b/include/libimobiledevice/afc.h index 13cffd4..b59b070 100644 --- a/include/libimobiledevice/afc.h +++ b/include/libimobiledevice/afc.h @@ -167,7 +167,7 @@ afc_error_t afc_read_directory(afc_client_t client, const char *path, char ***di * * @return AFC_E_SUCCESS on success or an AFC_E_* error value. */ -afc_error_t afc_get_file_info(afc_client_t client, const char *filename, char ***file_information); +afc_error_t afc_get_file_info(afc_client_t client, const char *path, char ***file_information); /** * Opens a file on the device. diff --git a/include/libimobiledevice/lockdown.h b/include/libimobiledevice/lockdown.h index d0ab037..a660f33 100644 --- a/include/libimobiledevice/lockdown.h +++ b/include/libimobiledevice/lockdown.h @@ -202,7 +202,7 @@ lockdownd_error_t lockdownd_remove_value(lockdownd_client_t client, const char * * * @param client The lockdownd client * @param identifier The identifier of the service to start - * @param descriptor The service descriptor on success or NULL on failure + * @param service The service descriptor on success or NULL on failure * * @return LOCKDOWN_E_SUCCESS on success, LOCKDOWN_E_INVALID_ARG if a parameter * is NULL, LOCKDOWN_E_INVALID_SERVICE if the requested service is not known @@ -217,7 +217,7 @@ lockdownd_error_t lockdownd_start_service(lockdownd_client_t client, const char * * @param client The lockdownd client * @param identifier The identifier of the service to start - * @param descriptor The service descriptor on success or NULL on failure + * @param service The service descriptor on success or NULL on failure * * @return LOCKDOWN_E_SUCCESS on success, LOCKDOWN_E_INVALID_ARG if a parameter * is NULL, LOCKDOWN_E_INVALID_SERVICE if the requested service is not known @@ -418,7 +418,7 @@ void lockdownd_client_set_label(lockdownd_client_t client, const char *label); * * @return LOCKDOWN_E_SUCCESS on success */ -lockdownd_error_t lockdownd_get_device_udid(lockdownd_client_t control, char **udid); +lockdownd_error_t lockdownd_get_device_udid(lockdownd_client_t client, char **udid); /** * Retrieves the name of the device from lockdownd set by the user. @@ -458,7 +458,7 @@ lockdownd_error_t lockdownd_data_classes_free(char **classes); /** * Frees memory of a service descriptor as returned by lockdownd_start_service() * - * @param sevice A service descriptor instance to free. + * @param service A service descriptor instance to free. * * @return LOCKDOWN_E_SUCCESS on success */ -- cgit v1.1-32-gdbae