summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2020-06-10 00:42:12 +0200
committerGravatar Nikias Bassen2020-06-10 00:42:12 +0200
commit6cd994d7f030e069a3ea5efe0aa3266fd887724c (patch)
tree35ac8fc8c82489a18ed7da2259aa3c6a85223594 /include
parent2ae528a42554c5392f5a03319ec4a483d0774ce2 (diff)
downloadlibimobiledevice-6cd994d7f030e069a3ea5efe0aa3266fd887724c.tar.gz
libimobiledevice-6cd994d7f030e069a3ea5efe0aa3266fd887724c.tar.bz2
Fix inconsistent declarations of function parameters in public headers
Diffstat (limited to 'include')
-rw-r--r--include/libimobiledevice/afc.h2
-rw-r--r--include/libimobiledevice/lockdown.h8
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
167 * 167 *
168 * @return AFC_E_SUCCESS on success or an AFC_E_* error value. 168 * @return AFC_E_SUCCESS on success or an AFC_E_* error value.
169 */ 169 */
170afc_error_t afc_get_file_info(afc_client_t client, const char *filename, char ***file_information); 170afc_error_t afc_get_file_info(afc_client_t client, const char *path, char ***file_information);
171 171
172/** 172/**
173 * Opens a file on the device. 173 * 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 *
202 * 202 *
203 * @param client The lockdownd client 203 * @param client The lockdownd client
204 * @param identifier The identifier of the service to start 204 * @param identifier The identifier of the service to start
205 * @param descriptor The service descriptor on success or NULL on failure 205 * @param service The service descriptor on success or NULL on failure
206 * 206 *
207 * @return LOCKDOWN_E_SUCCESS on success, LOCKDOWN_E_INVALID_ARG if a parameter 207 * @return LOCKDOWN_E_SUCCESS on success, LOCKDOWN_E_INVALID_ARG if a parameter
208 * is NULL, LOCKDOWN_E_INVALID_SERVICE if the requested service is not known 208 * 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
217 * 217 *
218 * @param client The lockdownd client 218 * @param client The lockdownd client
219 * @param identifier The identifier of the service to start 219 * @param identifier The identifier of the service to start
220 * @param descriptor The service descriptor on success or NULL on failure 220 * @param service The service descriptor on success or NULL on failure
221 * 221 *
222 * @return LOCKDOWN_E_SUCCESS on success, LOCKDOWN_E_INVALID_ARG if a parameter 222 * @return LOCKDOWN_E_SUCCESS on success, LOCKDOWN_E_INVALID_ARG if a parameter
223 * is NULL, LOCKDOWN_E_INVALID_SERVICE if the requested service is not known 223 * 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);
418 * 418 *
419 * @return LOCKDOWN_E_SUCCESS on success 419 * @return LOCKDOWN_E_SUCCESS on success
420 */ 420 */
421lockdownd_error_t lockdownd_get_device_udid(lockdownd_client_t control, char **udid); 421lockdownd_error_t lockdownd_get_device_udid(lockdownd_client_t client, char **udid);
422 422
423/** 423/**
424 * Retrieves the name of the device from lockdownd set by the user. 424 * 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);
458/** 458/**
459 * Frees memory of a service descriptor as returned by lockdownd_start_service() 459 * Frees memory of a service descriptor as returned by lockdownd_start_service()
460 * 460 *
461 * @param sevice A service descriptor instance to free. 461 * @param service A service descriptor instance to free.
462 * 462 *
463 * @return LOCKDOWN_E_SUCCESS on success 463 * @return LOCKDOWN_E_SUCCESS on success
464 */ 464 */