summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice/notification_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libimobiledevice/notification_proxy.h')
-rw-r--r--include/libimobiledevice/notification_proxy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libimobiledevice/notification_proxy.h b/include/libimobiledevice/notification_proxy.h
index 43c479d..3f883e5 100644
--- a/include/libimobiledevice/notification_proxy.h
+++ b/include/libimobiledevice/notification_proxy.h
@@ -28,6 +28,7 @@ extern "C" {
28#endif 28#endif
29 29
30#include <libimobiledevice/libimobiledevice.h> 30#include <libimobiledevice/libimobiledevice.h>
31#include <libimobiledevice/lockdown.h>
31 32
32/** @name Error Codes */ 33/** @name Error Codes */
33/*@{*/ 34/*@{*/
@@ -90,7 +91,7 @@ typedef np_client_private *np_client_t; /**< The client handle. */
90typedef void (*np_notify_cb_t) (const char *notification, void *user_data); 91typedef void (*np_notify_cb_t) (const char *notification, void *user_data);
91 92
92/* Interface */ 93/* Interface */
93np_error_t np_client_new(idevice_t device, uint16_t port, np_client_t *client); 94np_error_t np_client_new(idevice_t device, lockdownd_service_descriptor_t service, np_client_t *client);
94np_error_t np_client_free(np_client_t client); 95np_error_t np_client_free(np_client_t client);
95np_error_t np_post_notification(np_client_t client, const char *notification); 96np_error_t np_post_notification(np_client_t client, const char *notification);
96np_error_t np_observe_notification(np_client_t client, const char *notification); 97np_error_t np_observe_notification(np_client_t client, const char *notification);