summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-08-12 19:35:12 +0200
committerGravatar Jonathan Beck2008-08-31 19:27:19 +0200
commita8409b6f5aa11e05f59249f8b44ea3107cff5274 (patch)
tree1944065392adb9331f4dce4b5add45995627d173
parent143a48bd42db0f7aa23517c6d7eec81f19fa9ce3 (diff)
downloadlibplist-a8409b6f5aa11e05f59249f8b44ea3107cff5274.tar.gz
libplist-a8409b6f5aa11e05f59249f8b44ea3107cff5274.tar.bz2
more libraryzing
-rw-r--r--include/libiphone/libiphone.h2
-rw-r--r--src/lockdown.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h
index 7a4f224..4f131e1 100644
--- a/include/libiphone/libiphone.h
+++ b/include/libiphone/libiphone.h
@@ -36,7 +36,9 @@ typedef struct lockdownd_client_s *lockdownd_client_t;
void free_iPhone(iPhone_t victim);
iPhone_t get_iPhone();
+
int lockdownd_init(iPhone_t phone, lockdownd_client_t *control);
+int lockdownd_start_service(lockdownd_client_t control, const char *service);
#ifdef __cplusplus
}
diff --git a/src/lockdown.h b/src/lockdown.h
index b48c150..9893e8e 100644
--- a/src/lockdown.h
+++ b/src/lockdown.h
@@ -58,6 +58,5 @@ int lockdownd_start_SSL_session(lockdownd_client *control, const char *HostID);
ssize_t lockdownd_securead(gnutls_transport_ptr_t transport, char *buffer, size_t length);
ssize_t lockdownd_secuwrite(gnutls_transport_ptr_t transport, char *buffer, size_t length);
-// Higher-level lockdownd stuff
-int lockdownd_start_service(lockdownd_client *control, const char *service);
+
#endif