summaryrefslogtreecommitdiffstats
path: root/src/lockdown.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-05-25 11:41:28 +0200
committerGravatar Martin Szulecki2010-05-25 11:41:28 +0200
commit6c788f610336cba5500dea90b69f4142170d8bae (patch)
treed76656efa5aca8accfdf86431eeaf5e0b6bb7f79 /src/lockdown.c
parentd87d9ae02f6ce46db803f4403849f6d0285f9a86 (diff)
downloadlibimobiledevice-6c788f610336cba5500dea90b69f4142170d8bae.tar.gz
libimobiledevice-6c788f610336cba5500dea90b69f4142170d8bae.tar.bz2
Document that lockdownd automatically drops the connection when idle
Diffstat (limited to 'src/lockdown.c')
-rw-r--r--src/lockdown.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lockdown.c b/src/lockdown.c
index ae865fb..6de63b9 100644
--- a/src/lockdown.c
+++ b/src/lockdown.c
@@ -602,6 +602,9 @@ lockdownd_error_t lockdownd_get_device_name(lockdownd_client_t client, char **de
602 * 602 *
603 * @note This function does not pair with the device or start a session. This 603 * @note This function does not pair with the device or start a session. This
604 * has to be done manually by the caller after the client is created. 604 * has to be done manually by the caller after the client is created.
605 * The device disconnects automatically if the lockdown connection idles
606 * for more than 10 seconds. Make sure to call lockdownd_client_free() as soon
607 * as the connection is no longer needed.
605 * 608 *
606 * @param device The device to create a lockdownd client for 609 * @param device The device to create a lockdownd client for
607 * @param client The pointer to the location of the new lockdownd_client 610 * @param client The pointer to the location of the new lockdownd_client
@@ -645,6 +648,10 @@ lockdownd_error_t lockdownd_client_new(idevice_t device, lockdownd_client_t *cli
645 * The handshake consists out of query_type, validate_pair, pair and 648 * The handshake consists out of query_type, validate_pair, pair and
646 * start_session calls. It uses the internal pairing record management. 649 * start_session calls. It uses the internal pairing record management.
647 * 650 *
651 * @note The device disconnects automatically if the lockdown connection idles
652 * for more than 10 seconds. Make sure to call lockdownd_client_free() as soon
653 * as the connection is no longer needed.
654 *
648 * @param device The device to create a lockdownd client for 655 * @param device The device to create a lockdownd client for
649 * @param client The pointer to the location of the new lockdownd_client 656 * @param client The pointer to the location of the new lockdownd_client
650 * @param label The label to use for communication. Usually the program name. 657 * @param label The label to use for communication. Usually the program name.