diff options
Diffstat (limited to 'include/libimobiledevice/libimobiledevice.h')
| -rw-r--r-- | include/libimobiledevice/libimobiledevice.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 | ||
