diff options
author | Nikias Bassen | 2020-06-10 00:42:12 +0200 |
---|---|---|
committer | Nikias Bassen | 2020-06-10 00:42:12 +0200 |
commit | 6cd994d7f030e069a3ea5efe0aa3266fd887724c (patch) | |
tree | 35ac8fc8c82489a18ed7da2259aa3c6a85223594 | |
parent | 2ae528a42554c5392f5a03319ec4a483d0774ce2 (diff) | |
download | libimobiledevice-6cd994d7f030e069a3ea5efe0aa3266fd887724c.tar.gz libimobiledevice-6cd994d7f030e069a3ea5efe0aa3266fd887724c.tar.bz2 |
Fix inconsistent declarations of function parameters in public headers
-rw-r--r-- | include/libimobiledevice/afc.h | 2 | ||||
-rw-r--r-- | include/libimobiledevice/lockdown.h | 8 |
2 files changed, 5 insertions, 5 deletions
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 */ |