summaryrefslogtreecommitdiffstats
path: root/src/property_list_service.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-01-13 00:11:43 +0100
committerGravatar Martin Szulecki2010-01-13 01:03:03 +0100
commitb578398a2883e1e81dbf5bdbd8b8ae917bf9e29d (patch)
tree03e25d7cca039f6c97fcaec4891327c6b58e23fe /src/property_list_service.h
parent65346c9ddd92e6ea3650040d791a411b9ac308af (diff)
downloadlibimobiledevice-b578398a2883e1e81dbf5bdbd8b8ae917bf9e29d.tar.gz
libimobiledevice-b578398a2883e1e81dbf5bdbd8b8ae917bf9e29d.tar.bz2
lockdown/property_list_service: use new SSL code
Diffstat (limited to 'src/property_list_service.h')
-rw-r--r--src/property_list_service.h7
1 files changed, 3 insertions, 4 deletions
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 @@
28#define PROPERTY_LIST_SERVICE_E_INVALID_ARG -1 28#define PROPERTY_LIST_SERVICE_E_INVALID_ARG -1
29#define PROPERTY_LIST_SERVICE_E_PLIST_ERROR -2 29#define PROPERTY_LIST_SERVICE_E_PLIST_ERROR -2
30#define PROPERTY_LIST_SERVICE_E_MUX_ERROR -3 30#define PROPERTY_LIST_SERVICE_E_MUX_ERROR -3
31#define PROPERTY_LIST_SERVICE_E_SSL_ERROR -4
31 32
32#define PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR -256 33#define PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR -256
33 34
@@ -46,15 +47,13 @@ property_list_service_error_t property_list_service_client_free(property_list_se
46/* sending */ 47/* sending */
47property_list_service_error_t property_list_service_send_xml_plist(property_list_service_client_t client, plist_t plist); 48property_list_service_error_t property_list_service_send_xml_plist(property_list_service_client_t client, plist_t plist);
48property_list_service_error_t property_list_service_send_binary_plist(property_list_service_client_t client, plist_t plist); 49property_list_service_error_t property_list_service_send_binary_plist(property_list_service_client_t client, plist_t plist);
49property_list_service_error_t property_list_service_send_encrypted_xml_plist(gnutls_session_t ssl_session, plist_t plist);
50property_list_service_error_t property_list_service_send_encrypted_binary_plist(gnutls_session_t ssl_session, plist_t plist);
51 50
52/* receiving */ 51/* receiving */
53property_list_service_error_t property_list_service_receive_plist_with_timeout(property_list_service_client_t client, plist_t *plist, unsigned int timeout); 52property_list_service_error_t property_list_service_receive_plist_with_timeout(property_list_service_client_t client, plist_t *plist, unsigned int timeout);
54property_list_service_error_t property_list_service_receive_plist(property_list_service_client_t client, plist_t *plist); 53property_list_service_error_t property_list_service_receive_plist(property_list_service_client_t client, plist_t *plist);
55property_list_service_error_t property_list_service_receive_encrypted_plist(gnutls_session_t ssl_session, plist_t *plist);
56 54
57/* misc */ 55/* misc */
58iphone_connection_t property_list_service_get_connection(property_list_service_client_t client); 56property_list_service_error_t property_list_service_enable_ssl(property_list_service_client_t client);
57property_list_service_error_t property_list_service_disable_ssl(property_list_service_client_t client);
59 58
60#endif 59#endif