diff options
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); * HOUSE_ARREST_E_INVALID_ARG if client or dict is invalid, * HOUSE_ARREST_E_PLIST_ERROR if dict is not a plist of type PLIST_DICT, * HOUSE_ARREST_E_INVALID_MODE if the client is not in the correct mode, - * or HOUSE_ARREST_E_CONN_FAILED if a connection error occured. + * or HOUSE_ARREST_E_CONN_FAILED if a connection error occurred. */ house_arrest_error_t house_arrest_send_request(house_arrest_client_t client, plist_t dict); @@ -130,7 +130,7 @@ house_arrest_error_t house_arrest_send_request(house_arrest_client_t client, pli * @return HOUSE_ARREST_E_SUCCESS if the command was successfully sent, * HOUSE_ARREST_E_INVALID_ARG if client, command, or appid is invalid, * HOUSE_ARREST_E_INVALID_MODE if the client is not in the correct mode, - * or HOUSE_ARREST_E_CONN_FAILED if a connection error occured. + * or HOUSE_ARREST_E_CONN_FAILED if a connection error occurred. */ house_arrest_error_t house_arrest_send_command(house_arrest_client_t client, const char *command, const char *appid); @@ -146,7 +146,7 @@ house_arrest_error_t house_arrest_send_command(house_arrest_client_t client, con * @return HOUSE_ARREST_E_SUCCESS if a result plist was retrieved, * HOUSE_ARREST_E_INVALID_ARG if client is invalid, * HOUSE_ARREST_E_INVALID_MODE if the client is not in the correct mode, - * or HOUSE_ARREST_E_CONN_FAILED if a connection error occured. + * or HOUSE_ARREST_E_CONN_FAILED if a connection error occurred. */ house_arrest_error_t house_arrest_get_result(house_arrest_client_t client, plist_t *dict); 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 * instproxy_client_t upon successful return. * * @return INSTPROXY_E_SUCCESS on success, or an INSTPROXY_E_* error value - * when an error occured. + * when an error occurred. */ instproxy_error_t instproxy_client_new(idevice_t device, lockdownd_service_descriptor_t service, instproxy_client_t *client); @@ -168,7 +168,7 @@ instproxy_error_t instproxy_client_free(instproxy_client_t client); * of PLIST_DICT holding information about the applications found. * * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if - * an error occured. + * an error occurred. */ instproxy_error_t instproxy_browse(instproxy_client_t client, plist_t client_options, plist_t *result); @@ -187,7 +187,7 @@ instproxy_error_t instproxy_browse(instproxy_client_t client, plist_t client_opt * @param user_data Callback data passed to status_cb. * * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if - * an error occured. + * an error occurred. */ instproxy_error_t instproxy_browse_with_callback(instproxy_client_t client, plist_t client_options, instproxy_status_cb_t status_cb, void *user_data); @@ -203,7 +203,7 @@ instproxy_error_t instproxy_browse_with_callback(instproxy_client_t client, plis * holding requested information about the application or NULL on errors. * * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if - * an error occured. + * an error occurred. */ instproxy_error_t instproxy_lookup(instproxy_client_t client, const char** appids, plist_t client_options, plist_t *result); @@ -224,7 +224,7 @@ instproxy_error_t instproxy_lookup(instproxy_client_t client, const char** appid * @param user_data Callback data passed to status_cb. * * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if - * an error occured. + * an error occurred. * * @note If a callback function is given (async mode), this function returns * 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 * @param user_data Callback data passed to status_cb. * * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if - * an error occured. + * an error occurred. * * @note If a callback function is given (async mode), this function returns * 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 * @param user_data Callback data passed to status_cb. * * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if - * an error occured. + * an error occurred. * * @note If a callback function is given (async mode), this function returns * 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 * holding information about the archived applications found. * * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if - * an error occured. + * an error occurred. */ instproxy_error_t instproxy_lookup_archives(instproxy_client_t client, plist_t client_options, plist_t *result); @@ -315,7 +315,7 @@ instproxy_error_t instproxy_lookup_archives(instproxy_client_t client, plist_t c * @param user_data Callback data passed to status_cb. * * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if - * an error occured. + * an error occurred. * * @note If a callback function is given (async mode), this function returns * 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 * @param user_data Callback data passed to status_cb. * * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if - * an error occured. + * an error occurred. * * @note If a callback function is given (async mode), this function returns * 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 * @param user_data Callback data passed to status_cb. * * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if - * an error occured. + * an error occurred. * * @note If a callback function is given (async mode), this function returns * 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 * holding information if the capabilities matched or NULL on errors. * * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if - * an error occured. + * an error occurred. */ instproxy_error_t instproxy_check_capabilities_match(instproxy_client_t client, const char** capabilities, plist_t client_options, plist_t *result); @@ -493,7 +493,7 @@ void instproxy_client_options_free(plist_t client_options); * * @return INSTPROXY_E_SUCCESS on success, INSTPROXY_E_OP_FAILED if * the path could not be determined or an INSTPROXY_E_* error - * value if an error occured. + * value if an error occurred. */ instproxy_error_t instproxy_client_get_path_for_bundle_identifier(instproxy_client_t client, const char* bundle_id, char** path); 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 { }; /* event data structure */ -/** Provides information about the occured event. */ +/** Provides information about the occurred event. */ typedef struct { enum idevice_event_type event; /**< The event type. */ const char *udid; /**< The device unique id. */ @@ -88,7 +88,7 @@ void idevice_set_debug_level(int level); * @param user_data Application-specific data passed as parameter * to the registered callback function. * - * @return IDEVICE_E_SUCCESS on success or an error value when an error occured. + * @return IDEVICE_E_SUCCESS on success or an error value when an error occurred. */ idevice_error_t idevice_event_subscribe(idevice_event_cb_t callback, void *user_data); @@ -96,7 +96,7 @@ idevice_error_t idevice_event_subscribe(idevice_event_cb_t callback, void *user_ * Release the event callback function that has been registered with * idevice_event_subscribe(). * - * @return IDEVICE_E_SUCCESS on success or an error value when an error occured. + * @return IDEVICE_E_SUCCESS on success or an error value when an error occurred. */ idevice_error_t idevice_event_unsubscribe(void); @@ -109,7 +109,7 @@ idevice_error_t idevice_event_unsubscribe(void); * This list is terminated by a NULL pointer. * @param count Number of devices found. * - * @return IDEVICE_E_SUCCESS on success or an error value when an error occured. + * @return IDEVICE_E_SUCCESS on success or an error value when an error occurred. */ idevice_error_t idevice_get_device_list(char ***devices, int *count); 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 * Receive binary from the device. * * @note This function returns MOBILEBACKUP2_E_SUCCESS even if no data - * has been received (unless a communication error occured). + * has been received (unless a communication error occurred). * The fourth parameter is required and must be checked to know how * many bytes were actually received. * 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, * * @return PROPERTY_LIST_SERVICE_E_SUCCESS on success, * PROPERTY_LIST_SERVICE_E_INVALID_ARG when client is invalid, or a - * PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR when another error occured. + * PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR when another error occurred. */ property_list_service_error_t property_list_service_client_free(property_list_service_client_t client); 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); * * @return SCREENSHOTR_E_SUCCESS on success, SCREENSHOTR_E_INVALID_ARG if * one or more parameters are invalid, or another error code if an - * error occured. + * error occurred. */ screenshotr_error_t screenshotr_take_screenshot(screenshotr_client_t client, char **imgdata, uint64_t *imgsize); 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 * * @return SERVICE_E_SUCCESS on success, * SERVICE_E_INVALID_ARG when client is invalid, or a - * SERVICE_E_UNKNOWN_ERROR when another error occured. + * SERVICE_E_UNKNOWN_ERROR when another error occurred. */ service_error_t service_client_free(service_client_t client); |