diff options
Diffstat (limited to 'include/libimobiledevice')
-rw-r--r-- | include/libimobiledevice/notification_proxy.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libimobiledevice/notification_proxy.h b/include/libimobiledevice/notification_proxy.h index 872692c..4eccf20 100644 --- a/include/libimobiledevice/notification_proxy.h +++ b/include/libimobiledevice/notification_proxy.h | |||
@@ -183,7 +183,7 @@ np_error_t np_observe_notifications(np_client_t client, const char **notificatio | |||
183 | * @param client the NP client | 183 | * @param client the NP client |
184 | * @param notify_cb pointer to a callback function or NULL to de-register a | 184 | * @param notify_cb pointer to a callback function or NULL to de-register a |
185 | * previously set callback function. | 185 | * previously set callback function. |
186 | * @param userdata Pointer that will be passed to the callback function as | 186 | * @param user_data Pointer that will be passed to the callback function as |
187 | * user data. If notify_cb is NULL, this parameter is ignored. | 187 | * user data. If notify_cb is NULL, this parameter is ignored. |
188 | * | 188 | * |
189 | * @note Only one callback function can be registered at the same time; | 189 | * @note Only one callback function can be registered at the same time; |
@@ -193,7 +193,7 @@ np_error_t np_observe_notifications(np_client_t client, const char **notificatio | |||
193 | * NP_E_INVALID_ARG when client is NULL, or NP_E_UNKNOWN_ERROR when | 193 | * NP_E_INVALID_ARG when client is NULL, or NP_E_UNKNOWN_ERROR when |
194 | * the callback thread could no be created. | 194 | * the callback thread could no be created. |
195 | */ | 195 | */ |
196 | np_error_t np_set_notify_callback(np_client_t client, np_notify_cb_t notify_cb, void *userdata); | 196 | np_error_t np_set_notify_callback(np_client_t client, np_notify_cb_t notify_cb, void *user_data); |
197 | 197 | ||
198 | #ifdef __cplusplus | 198 | #ifdef __cplusplus |
199 | } | 199 | } |