From 4c4bbd31f52845de70f5b828121eeea62f8b4514 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Fri, 3 Oct 2014 15:51:43 +0200 Subject: Avoid exporting non-public symbols --- src/property_list_service.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/property_list_service.c') diff --git a/src/property_list_service.c b/src/property_list_service.c index c260d3e..931c1ef 100644 --- a/src/property_list_service.c +++ b/src/property_list_service.c @@ -54,7 +54,7 @@ static property_list_service_error_t service_to_property_list_service_error(serv return PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR; } -property_list_service_error_t property_list_service_client_new(idevice_t device, lockdownd_service_descriptor_t service, property_list_service_client_t *client) +LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_client_new(idevice_t device, lockdownd_service_descriptor_t service, property_list_service_client_t *client) { if (!device || !service || service->port == 0 || !client || *client) return PROPERTY_LIST_SERVICE_E_INVALID_ARG; @@ -74,7 +74,7 @@ property_list_service_error_t property_list_service_client_new(idevice_t device, return PROPERTY_LIST_SERVICE_E_SUCCESS; } -property_list_service_error_t property_list_service_client_free(property_list_service_client_t client) +LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_client_free(property_list_service_client_t client) { if (!client) return PROPERTY_LIST_SERVICE_E_INVALID_ARG; @@ -147,12 +147,12 @@ static property_list_service_error_t internal_plist_send(property_list_service_c return res; } -property_list_service_error_t property_list_service_send_xml_plist(property_list_service_client_t client, plist_t plist) +LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_send_xml_plist(property_list_service_client_t client, plist_t plist) { return internal_plist_send(client, plist, 0); } -property_list_service_error_t property_list_service_send_binary_plist(property_list_service_client_t client, plist_t plist) +LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_send_binary_plist(property_list_service_client_t client, plist_t plist) { return internal_plist_send(client, plist, 1); } @@ -250,24 +250,24 @@ static property_list_service_error_t internal_plist_receive_timeout(property_lis return res; } -property_list_service_error_t property_list_service_receive_plist_with_timeout(property_list_service_client_t client, plist_t *plist, unsigned int timeout) +LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_receive_plist_with_timeout(property_list_service_client_t client, plist_t *plist, unsigned int timeout) { return internal_plist_receive_timeout(client, plist, timeout); } -property_list_service_error_t property_list_service_receive_plist(property_list_service_client_t client, plist_t *plist) +LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_receive_plist(property_list_service_client_t client, plist_t *plist) { return internal_plist_receive_timeout(client, plist, 10000); } -property_list_service_error_t property_list_service_enable_ssl(property_list_service_client_t client) +LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_enable_ssl(property_list_service_client_t client) { if (!client || !client->parent) return PROPERTY_LIST_SERVICE_E_INVALID_ARG; return service_to_property_list_service_error(service_enable_ssl(client->parent)); } -property_list_service_error_t property_list_service_disable_ssl(property_list_service_client_t client) +LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_disable_ssl(property_list_service_client_t client) { if (!client || !client->parent) return PROPERTY_LIST_SERVICE_E_INVALID_ARG; -- cgit v1.1-32-gdbae