From e04f879ac0a211723db43fd8fc981225663e48f1 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 5 Mar 2010 16:28:12 +0100 Subject: file_relay: docs updated --- src/file_relay.c | 11 ++++++----- src/file_relay.h | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/file_relay.c b/src/file_relay.c index dd94e53..067384f 100644 --- a/src/file_relay.c +++ b/src/file_relay.c @@ -1,6 +1,6 @@ /* * file_relay.c - * file_relay service implementation. + * com.apple.mobile.file_relay service implementation. * * Copyright (c) 2010 Nikias Bassen, All Rights Reserved. * @@ -25,10 +25,10 @@ #include "debug.h" /** - * Creates a new file_relay client. + * Connects to the file_relay service on the specified device. * * @param device The device to connect to. - * @param port Port on device to connect to. + * @param port Destination port (usually given by lockdownd_start_service). * @param client Reference that will point to a newly allocated * file_relay_client_t upon successful return. * @@ -57,9 +57,10 @@ file_relay_error_t file_relay_client_new(idevice_t device, uint16_t port, file_r } /** - * Frees a file_relay client. + * Disconnects a file_relay client from the device and frees up the file_relay + * client data. * - * @param client The file_relay_client_t to free. + * @param client The file_relay client to disconnect and free. * * @return FILE_RELAY_E_SUCCESS on success, * FILE_RELAY_E_INVALID_ARG when one of client or client->parent diff --git a/src/file_relay.h b/src/file_relay.h index 7a94c89..e1a133d 100644 --- a/src/file_relay.h +++ b/src/file_relay.h @@ -1,6 +1,6 @@ /* * file_relay.h - * Definitions for the file_relay service + * com.apple.mobile.file_relay service header file. * * Copyright (c) 2010 Nikias Bassen, All Rights Reserved. * -- cgit v1.1-32-gdbae