summaryrefslogtreecommitdiffstats
path: root/src/notification_proxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/notification_proxy.c')
-rw-r--r--src/notification_proxy.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/notification_proxy.c b/src/notification_proxy.c
index 909ede4..541e429 100644
--- a/src/notification_proxy.c
+++ b/src/notification_proxy.c
@@ -86,7 +86,7 @@ static np_error_t np_error(property_list_service_error_t err)
return NP_E_UNKNOWN_ERROR;
}
-np_error_t np_client_new(idevice_t device, lockdownd_service_descriptor_t service, np_client_t *client)
+LIBIMOBILEDEVICE_API np_error_t np_client_new(idevice_t device, lockdownd_service_descriptor_t service, np_client_t *client)
{
property_list_service_client_t plistclient = NULL;
np_error_t err = np_error(property_list_service_client_new(device, service, &plistclient));
@@ -104,14 +104,14 @@ np_error_t np_client_new(idevice_t device, lockdownd_service_descriptor_t servic
return NP_E_SUCCESS;
}
-np_error_t np_client_start_service(idevice_t device, np_client_t* client, const char* label)
+LIBIMOBILEDEVICE_API np_error_t np_client_start_service(idevice_t device, np_client_t* client, const char* label)
{
np_error_t err = NP_E_UNKNOWN_ERROR;
service_client_factory_start_service(device, NP_SERVICE_NAME, (void**)client, label, SERVICE_CONSTRUCTOR(np_client_new), &err);
return err;
}
-np_error_t np_client_free(np_client_t client)
+LIBIMOBILEDEVICE_API np_error_t np_client_free(np_client_t client)
{
if (!client)
return NP_E_INVALID_ARG;
@@ -128,7 +128,7 @@ np_error_t np_client_free(np_client_t client)
return NP_E_SUCCESS;
}
-np_error_t np_post_notification(np_client_t client, const char *notification)
+LIBIMOBILEDEVICE_API np_error_t np_post_notification(np_client_t client, const char *notification)
{
if (!client || !notification) {
return NP_E_INVALID_ARG;
@@ -179,7 +179,7 @@ np_error_t np_post_notification(np_client_t client, const char *notification)
return res;
}
-np_error_t np_observe_notification( np_client_t client, const char *notification )
+LIBIMOBILEDEVICE_API np_error_t np_observe_notification( np_client_t client, const char *notification )
{
if (!client || !notification) {
return NP_E_INVALID_ARG;
@@ -200,7 +200,7 @@ np_error_t np_observe_notification( np_client_t client, const char *notification
return res;
}
-np_error_t np_observe_notifications(np_client_t client, const char **notification_spec)
+LIBIMOBILEDEVICE_API np_error_t np_observe_notifications(np_client_t client, const char **notification_spec)
{
int i = 0;
np_error_t res = NP_E_UNKNOWN_ERROR;
@@ -329,7 +329,7 @@ void* np_notifier( void* arg )
return NULL;
}
-np_error_t np_set_notify_callback( np_client_t client, np_notify_cb_t notify_cb, void *user_data )
+LIBIMOBILEDEVICE_API np_error_t np_set_notify_callback( np_client_t client, np_notify_cb_t notify_cb, void *user_data )
{
if (!client)
return NP_E_INVALID_ARG;