diff options
| author | 2009-09-10 13:28:13 +0200 | |
|---|---|---|
| committer | 2009-09-12 11:41:38 +0200 | |
| commit | 1f6282ffddec7012df82fa929dfe72cfc74b063a (patch) | |
| tree | 452c927c07806855f360ee9803111a1f72e05d3c /src/iphone.h | |
| parent | 26ce10634d277df51c4e9c2bd61b409df3f5b060 (diff) | |
| download | libimobiledevice-1f6282ffddec7012df82fa929dfe72cfc74b063a.tar.gz libimobiledevice-1f6282ffddec7012df82fa929dfe72cfc74b063a.tar.bz2 | |
Public API rework, extension and adaption to latest libusbmuxd-1.0 API.
Diffstat (limited to 'src/iphone.h')
| -rw-r--r-- | src/iphone.h | 22 | 
1 files changed, 14 insertions, 8 deletions
| diff --git a/src/iphone.h b/src/iphone.h index 6e14280..98b0ed8 100644 --- a/src/iphone.h +++ b/src/iphone.h @@ -1,7 +1,7 @@  /*   * iphone.h - * iPhone struct - *  + * Device discovery and communication interface -- header file. + *   * Copyright (c) 2008 Zach C. All Rights Reserved.   *   * This library is free software; you can redistribute it and/or @@ -18,18 +18,24 @@   * License along with this library; if not, write to the Free Software   * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA    */ -  #ifndef IPHONE_H  #define IPHONE_H -#include <stdint.h> -  #include "libiphone/libiphone.h" +enum connection_type { +	CONNECTION_USBMUXD = 1 +}; + +struct iphone_connection_int { +	enum connection_type type; +	void *data; +}; +  struct iphone_device_int { -	char *buffer; -	uint32_t handle; -	char *serial_number; +	char *uuid; +	enum connection_type conn_type; +	void *conn_data;  };  #endif | 
