From a8409b6f5aa11e05f59249f8b44ea3107cff5274 Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Tue, 12 Aug 2008 19:35:12 +0200 Subject: more libraryzing --- include/libiphone/libiphone.h | 2 ++ src/lockdown.h | 3 +-- 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 -- cgit v1.1-32-gdbae