diff options
Diffstat (limited to 'include/libimobiledevice/notification_proxy.h')
| -rw-r--r-- | include/libimobiledevice/notification_proxy.h | 3 |
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. */ | |||
| 90 | typedef void (*np_notify_cb_t) (const char *notification, void *user_data); | 91 | typedef void (*np_notify_cb_t) (const char *notification, void *user_data); |
| 91 | 92 | ||
| 92 | /* Interface */ | 93 | /* Interface */ |
| 93 | np_error_t np_client_new(idevice_t device, uint16_t port, np_client_t *client); | 94 | np_error_t np_client_new(idevice_t device, lockdownd_service_descriptor_t service, np_client_t *client); |
| 94 | np_error_t np_client_free(np_client_t client); | 95 | np_error_t np_client_free(np_client_t client); |
| 95 | np_error_t np_post_notification(np_client_t client, const char *notification); | 96 | np_error_t np_post_notification(np_client_t client, const char *notification); |
| 96 | np_error_t np_observe_notification(np_client_t client, const char *notification); | 97 | np_error_t np_observe_notification(np_client_t client, const char *notification); |
