diff options
Diffstat (limited to 'include/libimobiledevice/libimobiledevice.h')
-rw-r--r-- | include/libimobiledevice/libimobiledevice.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/include/libimobiledevice/libimobiledevice.h b/include/libimobiledevice/libimobiledevice.h index 6a349f8..016cadb 100644 --- a/include/libimobiledevice/libimobiledevice.h +++ b/include/libimobiledevice/libimobiledevice.h @@ -11,15 +11,15 @@ * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. - * + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. - * + * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef IMOBILEDEVICE_H @@ -122,7 +122,7 @@ idevice_error_t idevice_get_device_list(char ***devices, int *count); idevice_error_t idevice_device_list_free(char **devices); /* device structure creation and destruction */ - + /** * Creates an idevice_t structure for the device specified by udid, * if the device is available. @@ -148,7 +148,7 @@ idevice_error_t idevice_new(idevice_t *device, const char *udid); idevice_error_t idevice_free(idevice_t device); /* connection/disconnection */ - + /** * Set up a connection to the given device. * @@ -171,7 +171,7 @@ idevice_error_t idevice_connect(idevice_t device, uint16_t port, idevice_connect idevice_error_t idevice_disconnect(idevice_connection_t connection); /* communication */ - + /** * Send data to a device via the given connection. * @@ -201,7 +201,7 @@ idevice_error_t idevice_connection_send(idevice_connection_t connection, const c * @return IDEVICE_E_SUCCESS if ok, otherwise an error code. */ idevice_error_t idevice_connection_receive_timeout(idevice_connection_t connection, char *data, uint32_t len, uint32_t *recv_bytes, unsigned int timeout); - + /** * Receive data from a device via the given connection. * This function is like idevice_connection_receive_timeout, but with a @@ -216,7 +216,7 @@ idevice_error_t idevice_connection_receive_timeout(idevice_connection_t connecti * @return IDEVICE_E_SUCCESS if ok, otherwise an error code. */ idevice_error_t idevice_connection_receive(idevice_connection_t connection, char *data, uint32_t len, uint32_t *recv_bytes); - + /** * Enables SSL for the given connection. * @@ -227,7 +227,7 @@ idevice_error_t idevice_connection_receive(idevice_connection_t connection, char * SSL initialization, setup, or handshake fails. */ idevice_error_t idevice_connection_enable_ssl(idevice_connection_t connection); - + /** * Disable SSL for the given connection. * @@ -240,12 +240,12 @@ idevice_error_t idevice_connection_enable_ssl(idevice_connection_t connection); idevice_error_t idevice_connection_disable_ssl(idevice_connection_t connection); /* misc */ - + /** * Gets the handle of the device. Depends on the connection type. */ idevice_error_t idevice_get_handle(idevice_t device, uint32_t *handle); - + /** * Gets the unique id for the device. */ |