diff options
| author | 2018-10-08 13:39:31 +0200 | |
|---|---|---|
| committer | 2019-06-23 11:14:53 +0200 | |
| commit | 41ce2454b7f0b4a679070ea377545ba34f70095f (patch) | |
| tree | 0cc4c5b04c9e2b0e9de7672c0e61e0184614ca04 /include | |
| parent | b8df28038f3ca8a3a8be6569cea251d2506c3171 (diff) | |
| download | libimobiledevice-41ce2454b7f0b4a679070ea377545ba34f70095f.tar.gz libimobiledevice-41ce2454b7f0b4a679070ea377545ba34f70095f.tar.bz2 | |
replace all occurrences of occured by occurred
Do it in all comments and errors messages
Diffstat (limited to 'include')
| -rw-r--r-- | include/libimobiledevice/house_arrest.h | 6 | ||||
| -rw-r--r-- | include/libimobiledevice/installation_proxy.h | 26 | ||||
| -rw-r--r-- | include/libimobiledevice/libimobiledevice.h | 8 | ||||
| -rw-r--r-- | include/libimobiledevice/mobilebackup2.h | 2 | ||||
| -rw-r--r-- | include/libimobiledevice/property_list_service.h | 2 | ||||
| -rw-r--r-- | include/libimobiledevice/screenshotr.h | 2 | ||||
| -rw-r--r-- | include/libimobiledevice/service.h | 2 |
7 files changed, 24 insertions, 24 deletions
diff --git a/include/libimobiledevice/house_arrest.h b/include/libimobiledevice/house_arrest.h index 31b6401..5a42838 100644 --- a/include/libimobiledevice/house_arrest.h +++ b/include/libimobiledevice/house_arrest.h | |||
| @@ -109,7 +109,7 @@ house_arrest_error_t house_arrest_client_free(house_arrest_client_t client); | |||
| 109 | * HOUSE_ARREST_E_INVALID_ARG if client or dict is invalid, | 109 | * HOUSE_ARREST_E_INVALID_ARG if client or dict is invalid, |
| 110 | * HOUSE_ARREST_E_PLIST_ERROR if dict is not a plist of type PLIST_DICT, | 110 | * HOUSE_ARREST_E_PLIST_ERROR if dict is not a plist of type PLIST_DICT, |
| 111 | * HOUSE_ARREST_E_INVALID_MODE if the client is not in the correct mode, | 111 | * HOUSE_ARREST_E_INVALID_MODE if the client is not in the correct mode, |
| 112 | * or HOUSE_ARREST_E_CONN_FAILED if a connection error occured. | 112 | * or HOUSE_ARREST_E_CONN_FAILED if a connection error occurred. |
| 113 | */ | 113 | */ |
| 114 | house_arrest_error_t house_arrest_send_request(house_arrest_client_t client, plist_t dict); | 114 | house_arrest_error_t house_arrest_send_request(house_arrest_client_t client, plist_t dict); |
| 115 | 115 | ||
| @@ -130,7 +130,7 @@ house_arrest_error_t house_arrest_send_request(house_arrest_client_t client, pli | |||
| 130 | * @return HOUSE_ARREST_E_SUCCESS if the command was successfully sent, | 130 | * @return HOUSE_ARREST_E_SUCCESS if the command was successfully sent, |
| 131 | * HOUSE_ARREST_E_INVALID_ARG if client, command, or appid is invalid, | 131 | * HOUSE_ARREST_E_INVALID_ARG if client, command, or appid is invalid, |
| 132 | * HOUSE_ARREST_E_INVALID_MODE if the client is not in the correct mode, | 132 | * HOUSE_ARREST_E_INVALID_MODE if the client is not in the correct mode, |
| 133 | * or HOUSE_ARREST_E_CONN_FAILED if a connection error occured. | 133 | * or HOUSE_ARREST_E_CONN_FAILED if a connection error occurred. |
| 134 | */ | 134 | */ |
| 135 | house_arrest_error_t house_arrest_send_command(house_arrest_client_t client, const char *command, const char *appid); | 135 | house_arrest_error_t house_arrest_send_command(house_arrest_client_t client, const char *command, const char *appid); |
| 136 | 136 | ||
| @@ -146,7 +146,7 @@ house_arrest_error_t house_arrest_send_command(house_arrest_client_t client, con | |||
| 146 | * @return HOUSE_ARREST_E_SUCCESS if a result plist was retrieved, | 146 | * @return HOUSE_ARREST_E_SUCCESS if a result plist was retrieved, |
| 147 | * HOUSE_ARREST_E_INVALID_ARG if client is invalid, | 147 | * HOUSE_ARREST_E_INVALID_ARG if client is invalid, |
| 148 | * HOUSE_ARREST_E_INVALID_MODE if the client is not in the correct mode, | 148 | * HOUSE_ARREST_E_INVALID_MODE if the client is not in the correct mode, |
| 149 | * or HOUSE_ARREST_E_CONN_FAILED if a connection error occured. | 149 | * or HOUSE_ARREST_E_CONN_FAILED if a connection error occurred. |
| 150 | */ | 150 | */ |
| 151 | house_arrest_error_t house_arrest_get_result(house_arrest_client_t client, plist_t *dict); | 151 | house_arrest_error_t house_arrest_get_result(house_arrest_client_t client, plist_t *dict); |
| 152 | 152 | ||
diff --git a/include/libimobiledevice/installation_proxy.h b/include/libimobiledevice/installation_proxy.h index bc23f9d..1ff82dc 100644 --- a/include/libimobiledevice/installation_proxy.h +++ b/include/libimobiledevice/installation_proxy.h | |||
| @@ -124,7 +124,7 @@ typedef void (*instproxy_status_cb_t) (plist_t command, plist_t status, void *us | |||
| 124 | * instproxy_client_t upon successful return. | 124 | * instproxy_client_t upon successful return. |
| 125 | * | 125 | * |
| 126 | * @return INSTPROXY_E_SUCCESS on success, or an INSTPROXY_E_* error value | 126 | * @return INSTPROXY_E_SUCCESS on success, or an INSTPROXY_E_* error value |
| 127 | * when an error occured. | 127 | * when an error occurred. |
| 128 | */ | 128 | */ |
| 129 | instproxy_error_t instproxy_client_new(idevice_t device, lockdownd_service_descriptor_t service, instproxy_client_t *client); | 129 | instproxy_error_t instproxy_client_new(idevice_t device, lockdownd_service_descriptor_t service, instproxy_client_t *client); |
| 130 | 130 | ||
| @@ -168,7 +168,7 @@ instproxy_error_t instproxy_client_free(instproxy_client_t client); | |||
| 168 | * of PLIST_DICT holding information about the applications found. | 168 | * of PLIST_DICT holding information about the applications found. |
| 169 | * | 169 | * |
| 170 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if | 170 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if |
| 171 | * an error occured. | 171 | * an error occurred. |
| 172 | */ | 172 | */ |
| 173 | instproxy_error_t instproxy_browse(instproxy_client_t client, plist_t client_options, plist_t *result); | 173 | instproxy_error_t instproxy_browse(instproxy_client_t client, plist_t client_options, plist_t *result); |
| 174 | 174 | ||
| @@ -187,7 +187,7 @@ instproxy_error_t instproxy_browse(instproxy_client_t client, plist_t client_opt | |||
| 187 | * @param user_data Callback data passed to status_cb. | 187 | * @param user_data Callback data passed to status_cb. |
| 188 | * | 188 | * |
| 189 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if | 189 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if |
| 190 | * an error occured. | 190 | * an error occurred. |
| 191 | */ | 191 | */ |
| 192 | instproxy_error_t instproxy_browse_with_callback(instproxy_client_t client, plist_t client_options, instproxy_status_cb_t status_cb, void *user_data); | 192 | instproxy_error_t instproxy_browse_with_callback(instproxy_client_t client, plist_t client_options, instproxy_status_cb_t status_cb, void *user_data); |
| 193 | 193 | ||
| @@ -203,7 +203,7 @@ instproxy_error_t instproxy_browse_with_callback(instproxy_client_t client, plis | |||
| 203 | * holding requested information about the application or NULL on errors. | 203 | * holding requested information about the application or NULL on errors. |
| 204 | * | 204 | * |
| 205 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if | 205 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if |
| 206 | * an error occured. | 206 | * an error occurred. |
| 207 | */ | 207 | */ |
| 208 | instproxy_error_t instproxy_lookup(instproxy_client_t client, const char** appids, plist_t client_options, plist_t *result); | 208 | instproxy_error_t instproxy_lookup(instproxy_client_t client, const char** appids, plist_t client_options, plist_t *result); |
| 209 | 209 | ||
| @@ -224,7 +224,7 @@ instproxy_error_t instproxy_lookup(instproxy_client_t client, const char** appid | |||
| 224 | * @param user_data Callback data passed to status_cb. | 224 | * @param user_data Callback data passed to status_cb. |
| 225 | * | 225 | * |
| 226 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if | 226 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if |
| 227 | * an error occured. | 227 | * an error occurred. |
| 228 | * | 228 | * |
| 229 | * @note If a callback function is given (async mode), this function returns | 229 | * @note If a callback function is given (async mode), this function returns |
| 230 | * INSTPROXY_E_SUCCESS immediately if the status updater thread has been | 230 | * INSTPROXY_E_SUCCESS immediately if the status updater thread has been |
| @@ -252,7 +252,7 @@ instproxy_error_t instproxy_install(instproxy_client_t client, const char *pkg_p | |||
| 252 | * @param user_data Callback data passed to status_cb. | 252 | * @param user_data Callback data passed to status_cb. |
| 253 | * | 253 | * |
| 254 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if | 254 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if |
| 255 | * an error occured. | 255 | * an error occurred. |
| 256 | * | 256 | * |
| 257 | * @note If a callback function is given (async mode), this function returns | 257 | * @note If a callback function is given (async mode), this function returns |
| 258 | * INSTPROXY_E_SUCCESS immediately if the status updater thread has been | 258 | * INSTPROXY_E_SUCCESS immediately if the status updater thread has been |
| @@ -273,7 +273,7 @@ instproxy_error_t instproxy_upgrade(instproxy_client_t client, const char *pkg_p | |||
| 273 | * @param user_data Callback data passed to status_cb. | 273 | * @param user_data Callback data passed to status_cb. |
| 274 | * | 274 | * |
| 275 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if | 275 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if |
| 276 | * an error occured. | 276 | * an error occurred. |
| 277 | * | 277 | * |
| 278 | * @note If a callback function is given (async mode), this function returns | 278 | * @note If a callback function is given (async mode), this function returns |
| 279 | * INSTPROXY_E_SUCCESS immediately if the status updater thread has been | 279 | * INSTPROXY_E_SUCCESS immediately if the status updater thread has been |
| @@ -294,7 +294,7 @@ instproxy_error_t instproxy_uninstall(instproxy_client_t client, const char *app | |||
| 294 | * holding information about the archived applications found. | 294 | * holding information about the archived applications found. |
| 295 | * | 295 | * |
| 296 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if | 296 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if |
| 297 | * an error occured. | 297 | * an error occurred. |
| 298 | */ | 298 | */ |
| 299 | instproxy_error_t instproxy_lookup_archives(instproxy_client_t client, plist_t client_options, plist_t *result); | 299 | instproxy_error_t instproxy_lookup_archives(instproxy_client_t client, plist_t client_options, plist_t *result); |
| 300 | 300 | ||
| @@ -315,7 +315,7 @@ instproxy_error_t instproxy_lookup_archives(instproxy_client_t client, plist_t c | |||
| 315 | * @param user_data Callback data passed to status_cb. | 315 | * @param user_data Callback data passed to status_cb. |
| 316 | * | 316 | * |
| 317 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if | 317 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if |
| 318 | * an error occured. | 318 | * an error occurred. |
| 319 | * | 319 | * |
| 320 | * @note If a callback function is given (async mode), this function returns | 320 | * @note If a callback function is given (async mode), this function returns |
| 321 | * INSTPROXY_E_SUCCESS immediately if the status updater thread has been | 321 | * INSTPROXY_E_SUCCESS immediately if the status updater thread has been |
| @@ -339,7 +339,7 @@ instproxy_error_t instproxy_archive(instproxy_client_t client, const char *appid | |||
| 339 | * @param user_data Callback data passed to status_cb. | 339 | * @param user_data Callback data passed to status_cb. |
| 340 | * | 340 | * |
| 341 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if | 341 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if |
| 342 | * an error occured. | 342 | * an error occurred. |
| 343 | * | 343 | * |
| 344 | * @note If a callback function is given (async mode), this function returns | 344 | * @note If a callback function is given (async mode), this function returns |
| 345 | * INSTPROXY_E_SUCCESS immediately if the status updater thread has been | 345 | * INSTPROXY_E_SUCCESS immediately if the status updater thread has been |
| @@ -362,7 +362,7 @@ instproxy_error_t instproxy_restore(instproxy_client_t client, const char *appid | |||
| 362 | * @param user_data Callback data passed to status_cb. | 362 | * @param user_data Callback data passed to status_cb. |
| 363 | * | 363 | * |
| 364 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if | 364 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if |
| 365 | * an error occured. | 365 | * an error occurred. |
| 366 | * | 366 | * |
| 367 | * @note If a callback function is given (async mode), this function returns | 367 | * @note If a callback function is given (async mode), this function returns |
| 368 | * INSTPROXY_E_SUCCESS immediately if the status updater thread has been | 368 | * INSTPROXY_E_SUCCESS immediately if the status updater thread has been |
| @@ -383,7 +383,7 @@ instproxy_error_t instproxy_remove_archive(instproxy_client_t client, const char | |||
| 383 | * holding information if the capabilities matched or NULL on errors. | 383 | * holding information if the capabilities matched or NULL on errors. |
| 384 | * | 384 | * |
| 385 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if | 385 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if |
| 386 | * an error occured. | 386 | * an error occurred. |
| 387 | */ | 387 | */ |
| 388 | instproxy_error_t instproxy_check_capabilities_match(instproxy_client_t client, const char** capabilities, plist_t client_options, plist_t *result); | 388 | instproxy_error_t instproxy_check_capabilities_match(instproxy_client_t client, const char** capabilities, plist_t client_options, plist_t *result); |
| 389 | 389 | ||
| @@ -493,7 +493,7 @@ void instproxy_client_options_free(plist_t client_options); | |||
| 493 | * | 493 | * |
| 494 | * @return INSTPROXY_E_SUCCESS on success, INSTPROXY_E_OP_FAILED if | 494 | * @return INSTPROXY_E_SUCCESS on success, INSTPROXY_E_OP_FAILED if |
| 495 | * the path could not be determined or an INSTPROXY_E_* error | 495 | * the path could not be determined or an INSTPROXY_E_* error |
| 496 | * value if an error occured. | 496 | * value if an error occurred. |
| 497 | */ | 497 | */ |
| 498 | instproxy_error_t instproxy_client_get_path_for_bundle_identifier(instproxy_client_t client, const char* bundle_id, char** path); | 498 | instproxy_error_t instproxy_client_get_path_for_bundle_identifier(instproxy_client_t client, const char* bundle_id, char** path); |
| 499 | 499 | ||
diff --git a/include/libimobiledevice/libimobiledevice.h b/include/libimobiledevice/libimobiledevice.h index 729bc89..8f8589d 100644 --- a/include/libimobiledevice/libimobiledevice.h +++ b/include/libimobiledevice/libimobiledevice.h | |||
| @@ -60,7 +60,7 @@ enum idevice_event_type { | |||
| 60 | }; | 60 | }; |
| 61 | 61 | ||
| 62 | /* event data structure */ | 62 | /* event data structure */ |
| 63 | /** Provides information about the occured event. */ | 63 | /** Provides information about the occurred event. */ |
| 64 | typedef struct { | 64 | typedef struct { |
| 65 | enum idevice_event_type event; /**< The event type. */ | 65 | enum idevice_event_type event; /**< The event type. */ |
| 66 | const char *udid; /**< The device unique id. */ | 66 | const char *udid; /**< The device unique id. */ |
| @@ -88,7 +88,7 @@ void idevice_set_debug_level(int level); | |||
| 88 | * @param user_data Application-specific data passed as parameter | 88 | * @param user_data Application-specific data passed as parameter |
| 89 | * to the registered callback function. | 89 | * to the registered callback function. |
| 90 | * | 90 | * |
| 91 | * @return IDEVICE_E_SUCCESS on success or an error value when an error occured. | 91 | * @return IDEVICE_E_SUCCESS on success or an error value when an error occurred. |
| 92 | */ | 92 | */ |
| 93 | idevice_error_t idevice_event_subscribe(idevice_event_cb_t callback, void *user_data); | 93 | idevice_error_t idevice_event_subscribe(idevice_event_cb_t callback, void *user_data); |
| 94 | 94 | ||
| @@ -96,7 +96,7 @@ idevice_error_t idevice_event_subscribe(idevice_event_cb_t callback, void *user_ | |||
| 96 | * Release the event callback function that has been registered with | 96 | * Release the event callback function that has been registered with |
| 97 | * idevice_event_subscribe(). | 97 | * idevice_event_subscribe(). |
| 98 | * | 98 | * |
| 99 | * @return IDEVICE_E_SUCCESS on success or an error value when an error occured. | 99 | * @return IDEVICE_E_SUCCESS on success or an error value when an error occurred. |
| 100 | */ | 100 | */ |
| 101 | idevice_error_t idevice_event_unsubscribe(void); | 101 | idevice_error_t idevice_event_unsubscribe(void); |
| 102 | 102 | ||
| @@ -109,7 +109,7 @@ idevice_error_t idevice_event_unsubscribe(void); | |||
| 109 | * This list is terminated by a NULL pointer. | 109 | * This list is terminated by a NULL pointer. |
| 110 | * @param count Number of devices found. | 110 | * @param count Number of devices found. |
| 111 | * | 111 | * |
| 112 | * @return IDEVICE_E_SUCCESS on success or an error value when an error occured. | 112 | * @return IDEVICE_E_SUCCESS on success or an error value when an error occurred. |
| 113 | */ | 113 | */ |
| 114 | idevice_error_t idevice_get_device_list(char ***devices, int *count); | 114 | idevice_error_t idevice_get_device_list(char ***devices, int *count); |
| 115 | 115 | ||
diff --git a/include/libimobiledevice/mobilebackup2.h b/include/libimobiledevice/mobilebackup2.h index 1f20d40..0c42334 100644 --- a/include/libimobiledevice/mobilebackup2.h +++ b/include/libimobiledevice/mobilebackup2.h | |||
| @@ -146,7 +146,7 @@ mobilebackup2_error_t mobilebackup2_send_raw(mobilebackup2_client_t client, cons | |||
| 146 | * Receive binary from the device. | 146 | * Receive binary from the device. |
| 147 | * | 147 | * |
| 148 | * @note This function returns MOBILEBACKUP2_E_SUCCESS even if no data | 148 | * @note This function returns MOBILEBACKUP2_E_SUCCESS even if no data |
| 149 | * has been received (unless a communication error occured). | 149 | * has been received (unless a communication error occurred). |
| 150 | * The fourth parameter is required and must be checked to know how | 150 | * The fourth parameter is required and must be checked to know how |
| 151 | * many bytes were actually received. | 151 | * many bytes were actually received. |
| 152 | * | 152 | * |
diff --git a/include/libimobiledevice/property_list_service.h b/include/libimobiledevice/property_list_service.h index aca966d..031d6f8 100644 --- a/include/libimobiledevice/property_list_service.h +++ b/include/libimobiledevice/property_list_service.h | |||
| @@ -68,7 +68,7 @@ property_list_service_error_t property_list_service_client_new(idevice_t device, | |||
| 68 | * | 68 | * |
| 69 | * @return PROPERTY_LIST_SERVICE_E_SUCCESS on success, | 69 | * @return PROPERTY_LIST_SERVICE_E_SUCCESS on success, |
| 70 | * PROPERTY_LIST_SERVICE_E_INVALID_ARG when client is invalid, or a | 70 | * PROPERTY_LIST_SERVICE_E_INVALID_ARG when client is invalid, or a |
| 71 | * PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR when another error occured. | 71 | * PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR when another error occurred. |
| 72 | */ | 72 | */ |
| 73 | property_list_service_error_t property_list_service_client_free(property_list_service_client_t client); | 73 | property_list_service_error_t property_list_service_client_free(property_list_service_client_t client); |
| 74 | 74 | ||
diff --git a/include/libimobiledevice/screenshotr.h b/include/libimobiledevice/screenshotr.h index 0d44255..c12646b 100644 --- a/include/libimobiledevice/screenshotr.h +++ b/include/libimobiledevice/screenshotr.h | |||
| @@ -104,7 +104,7 @@ screenshotr_error_t screenshotr_client_free(screenshotr_client_t client); | |||
| 104 | * | 104 | * |
| 105 | * @return SCREENSHOTR_E_SUCCESS on success, SCREENSHOTR_E_INVALID_ARG if | 105 | * @return SCREENSHOTR_E_SUCCESS on success, SCREENSHOTR_E_INVALID_ARG if |
| 106 | * one or more parameters are invalid, or another error code if an | 106 | * one or more parameters are invalid, or another error code if an |
| 107 | * error occured. | 107 | * error occurred. |
| 108 | */ | 108 | */ |
| 109 | screenshotr_error_t screenshotr_take_screenshot(screenshotr_client_t client, char **imgdata, uint64_t *imgsize); | 109 | screenshotr_error_t screenshotr_take_screenshot(screenshotr_client_t client, char **imgdata, uint64_t *imgsize); |
| 110 | 110 | ||
diff --git a/include/libimobiledevice/service.h b/include/libimobiledevice/service.h index facf03b..84c5092 100644 --- a/include/libimobiledevice/service.h +++ b/include/libimobiledevice/service.h | |||
| @@ -87,7 +87,7 @@ service_error_t service_client_factory_start_service(idevice_t device, const cha | |||
| 87 | * | 87 | * |
| 88 | * @return SERVICE_E_SUCCESS on success, | 88 | * @return SERVICE_E_SUCCESS on success, |
| 89 | * SERVICE_E_INVALID_ARG when client is invalid, or a | 89 | * SERVICE_E_INVALID_ARG when client is invalid, or a |
| 90 | * SERVICE_E_UNKNOWN_ERROR when another error occured. | 90 | * SERVICE_E_UNKNOWN_ERROR when another error occurred. |
| 91 | */ | 91 | */ |
| 92 | service_error_t service_client_free(service_client_t client); | 92 | service_error_t service_client_free(service_client_t client); |
| 93 | 93 | ||
