From b578398a2883e1e81dbf5bdbd8b8ae917bf9e29d Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 13 Jan 2010 00:11:43 +0100 Subject: lockdown/property_list_service: use new SSL code --- src/property_list_service.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/property_list_service.h') diff --git a/src/property_list_service.h b/src/property_list_service.h index 39d4a0c..bc3122b 100644 --- a/src/property_list_service.h +++ b/src/property_list_service.h @@ -28,6 +28,7 @@ #define PROPERTY_LIST_SERVICE_E_INVALID_ARG -1 #define PROPERTY_LIST_SERVICE_E_PLIST_ERROR -2 #define PROPERTY_LIST_SERVICE_E_MUX_ERROR -3 +#define PROPERTY_LIST_SERVICE_E_SSL_ERROR -4 #define PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR -256 @@ -46,15 +47,13 @@ property_list_service_error_t property_list_service_client_free(property_list_se /* sending */ property_list_service_error_t property_list_service_send_xml_plist(property_list_service_client_t client, plist_t plist); property_list_service_error_t property_list_service_send_binary_plist(property_list_service_client_t client, plist_t plist); -property_list_service_error_t property_list_service_send_encrypted_xml_plist(gnutls_session_t ssl_session, plist_t plist); -property_list_service_error_t property_list_service_send_encrypted_binary_plist(gnutls_session_t ssl_session, plist_t plist); /* receiving */ property_list_service_error_t property_list_service_receive_plist_with_timeout(property_list_service_client_t client, plist_t *plist, unsigned int timeout); property_list_service_error_t property_list_service_receive_plist(property_list_service_client_t client, plist_t *plist); -property_list_service_error_t property_list_service_receive_encrypted_plist(gnutls_session_t ssl_session, plist_t *plist); /* misc */ -iphone_connection_t property_list_service_get_connection(property_list_service_client_t client); +property_list_service_error_t property_list_service_enable_ssl(property_list_service_client_t client); +property_list_service_error_t property_list_service_disable_ssl(property_list_service_client_t client); #endif -- cgit v1.1-32-gdbae