summaryrefslogtreecommitdiffstats
path: root/lockdown.h
diff options
context:
space:
mode:
authorGravatar Matt Colyer2008-07-29 10:13:37 -0700
committerGravatar Matt Colyer2008-07-29 10:13:37 -0700
commit3dc130f3049e250b2d5c0b48af1995fda2fad3d4 (patch)
tree9d801459ef68e83a0d4ca038c0589d8e4c8aa2b2 /lockdown.h
parent6039e5bbfc36aa5210295c38f251ed178ce5adbb (diff)
downloadlibplist-3dc130f3049e250b2d5c0b48af1995fda2fad3d4.tar.gz
libplist-3dc130f3049e250b2d5c0b48af1995fda2fad3d4.tar.bz2
Autotooled the project with very basic versioning support.
Diffstat (limited to 'lockdown.h')
-rw-r--r--lockdown.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/lockdown.h b/lockdown.h
deleted file mode 100644
index 0acd624..0000000
--- a/lockdown.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * lockdown.h
- * Defines lockdown stuff, like the client struct.
- */
-
-#ifndef LOCKDOWND_H
-#define LOCKDOWND_H
-
-#include "plist.h"
-
-#include <gnutls/gnutls.h>
-#include <string.h>
-
-typedef struct {
- usbmux_tcp_header *connection;
- gnutls_session_t *ssl_session;
- iPhone *iphone;
- int in_SSL;
- char *gtls_buffer_hack;
- int gtls_buffer_hack_len;
-} lockdownd_client;
-
-lockdownd_client *new_lockdownd_client(iPhone *phone);
-int lockdownd_hello(lockdownd_client *control);
-int lockdownd_recv(lockdownd_client *control, char **dump_data);
-int lockdownd_send(lockdownd_client *control, char *raw_data, uint32 length);
-void lockdownd_close(lockdownd_client *control);
-
-// SSL functions
-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