From 3e0c5021100c879ff7d0776d4c7bb4f0ec88e0d7 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 16 Mar 2010 03:10:56 +0100 Subject: Unify NP callback userdata parameter to user_data for consistency --- include/libimobiledevice/notification_proxy.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/libimobiledevice/notification_proxy.h b/include/libimobiledevice/notification_proxy.h index fa69088..74b6b37 100644 --- a/include/libimobiledevice/notification_proxy.h +++ b/include/libimobiledevice/notification_proxy.h @@ -71,7 +71,8 @@ typedef int16_t np_error_t; typedef struct np_client_private np_client_private; typedef np_client_private *np_client_t; /**< The client handle. */ -typedef void (*np_notify_cb_t) (const char *notification, void *userdata); +/** Reports which notification was received. */ +typedef void (*np_notify_cb_t) (const char *notification, void *user_data); /* Interface */ np_error_t np_client_new(idevice_t device, uint16_t port, np_client_t *client); -- cgit v1.1-32-gdbae