summaryrefslogtreecommitdiffstats
path: root/src/iphone.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-01-10 13:12:00 +0100
committerGravatar Martin Szulecki2010-01-10 13:12:00 +0100
commit2232caa09147bdbbf26b52f3bb17c264051d413d (patch)
treec1db37e1bc49c3e9d9f396e2614ede7cf92a3864 /src/iphone.h
parentcec7e6b7591d018dd700c6fa6b5c85b29ec43b34 (diff)
parent69b4015bea6c32e523404e9784c225be8bfc0ef3 (diff)
downloadlibimobiledevice-2232caa09147bdbbf26b52f3bb17c264051d413d.tar.gz
libimobiledevice-2232caa09147bdbbf26b52f3bb17c264051d413d.tar.bz2
Merge branch 'master' of git://github.com/MattColyer/libiphone into martin
Diffstat (limited to 'src/iphone.h')
-rw-r--r--src/iphone.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/iphone.h b/src/iphone.h
index 98b0ed8..7ffc811 100644
--- a/src/iphone.h
+++ b/src/iphone.h
@@ -21,6 +21,9 @@
#ifndef IPHONE_H
#define IPHONE_H
+#include <plist/plist.h>
+#include <gnutls/gnutls.h>
+
#include "libiphone/libiphone.h"
enum connection_type {
@@ -38,4 +41,14 @@ struct iphone_device_int {
void *conn_data;
};
+iphone_error_t iphone_device_send_xml_plist(iphone_connection_t connection, plist_t plist);
+iphone_error_t iphone_device_send_binary_plist(iphone_connection_t connection, plist_t plist);
+iphone_error_t iphone_device_send_encrypted_xml_plist(gnutls_session_t ssl_session, plist_t plist);
+iphone_error_t iphone_device_send_encrypted_binary_plist(gnutls_session_t ssl_session, plist_t plist);
+
+iphone_error_t iphone_device_receive_plist_with_timeout(iphone_connection_t connection, plist_t *plist, unsigned int timeout);
+iphone_error_t iphone_device_receive_plist(iphone_connection_t connection, plist_t *plist);
+iphone_error_t iphone_device_receive_encrypted_plist_with_timeout(gnutls_session_t ssl_session, plist_t *plist, unsigned int timeout);
+iphone_error_t iphone_device_receive_encrypted_plist(gnutls_session_t ssl_session, plist_t *plist);
+
#endif