summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libimobiledevice/notification_proxy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libimobiledevice/notification_proxy.h b/include/libimobiledevice/notification_proxy.h
index adbb4cc..4f4c1fd 100644
--- a/include/libimobiledevice/notification_proxy.h
+++ b/include/libimobiledevice/notification_proxy.h
@@ -71,7 +71,7 @@ typedef int16_t np_error_t;
71struct np_client_int; 71struct np_client_int;
72typedef struct np_client_int *np_client_t; 72typedef struct np_client_int *np_client_t;
73 73
74typedef void (*np_notify_cb_t) (const char *notification); 74typedef void (*np_notify_cb_t) (const char *notification, void *userdata);
75 75
76/* Interface */ 76/* Interface */
77np_error_t np_client_new(idevice_t device, uint16_t port, np_client_t *client); 77np_error_t np_client_new(idevice_t device, uint16_t port, np_client_t *client);
@@ -79,7 +79,7 @@ np_error_t np_client_free(np_client_t client);
79np_error_t np_post_notification(np_client_t client, const char *notification); 79np_error_t np_post_notification(np_client_t client, const char *notification);
80np_error_t np_observe_notification(np_client_t client, const char *notification); 80np_error_t np_observe_notification(np_client_t client, const char *notification);
81np_error_t np_observe_notifications(np_client_t client, const char **notification_spec); 81np_error_t np_observe_notifications(np_client_t client, const char **notification_spec);
82np_error_t np_set_notify_callback(np_client_t client, np_notify_cb_t notify_cb); 82np_error_t np_set_notify_callback(np_client_t client, np_notify_cb_t notify_cb, void *userdata);
83 83
84#ifdef __cplusplus 84#ifdef __cplusplus
85} 85}