diff options
Diffstat (limited to 'src/file_relay.c')
| -rw-r--r-- | src/file_relay.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/file_relay.c b/src/file_relay.c index f0e91f7..dd94e53 100644 --- a/src/file_relay.c +++ b/src/file_relay.c | |||
| @@ -36,7 +36,7 @@ | |||
| 36 | * FILE_RELAY_E_INVALID_ARG when one of the parameters is invalid, | 36 | * FILE_RELAY_E_INVALID_ARG when one of the parameters is invalid, |
| 37 | * or FILE_RELAY_E_MUX_ERROR when the connection failed. | 37 | * or FILE_RELAY_E_MUX_ERROR when the connection failed. |
| 38 | */ | 38 | */ |
| 39 | file_relay_error_t file_relay_client_new(iphone_device_t device, uint16_t port, file_relay_client_t *client) | 39 | file_relay_error_t file_relay_client_new(idevice_t device, uint16_t port, file_relay_client_t *client) |
| 40 | { | 40 | { |
| 41 | if (!device || port == 0 || !client || *client) { | 41 | if (!device || port == 0 || !client || *client) { |
| 42 | return FILE_RELAY_E_INVALID_ARG; | 42 | return FILE_RELAY_E_INVALID_ARG; |
| @@ -92,7 +92,7 @@ file_relay_error_t file_relay_client_free(file_relay_client_t client) | |||
| 92 | * - tmp | 92 | * - tmp |
| 93 | * - SystemConfiguration | 93 | * - SystemConfiguration |
| 94 | * @param connection The connection that has to be used for receiving the | 94 | * @param connection The connection that has to be used for receiving the |
| 95 | * data using iphone_connection_receive(). The connection will be closed | 95 | * data using idevice_connection_receive(). The connection will be closed |
| 96 | * automatically by the device, but use file_relay_client_free() to clean | 96 | * automatically by the device, but use file_relay_client_free() to clean |
| 97 | * up properly. | 97 | * up properly. |
| 98 | * | 98 | * |
| @@ -107,7 +107,7 @@ file_relay_error_t file_relay_client_free(file_relay_client_t client) | |||
| 107 | * sources are invalid, FILE_RELAY_E_STAGING_EMPTY if no data is available | 107 | * sources are invalid, FILE_RELAY_E_STAGING_EMPTY if no data is available |
| 108 | * for the given sources, or FILE_RELAY_E_UNKNOWN_ERROR otherwise. | 108 | * for the given sources, or FILE_RELAY_E_UNKNOWN_ERROR otherwise. |
| 109 | */ | 109 | */ |
| 110 | file_relay_error_t file_relay_request_sources(file_relay_client_t client, const char **sources, iphone_connection_t *connection) | 110 | file_relay_error_t file_relay_request_sources(file_relay_client_t client, const char **sources, idevice_connection_t *connection) |
| 111 | { | 111 | { |
| 112 | if (!client || !client->parent || !sources || !sources[0]) { | 112 | if (!client || !client->parent || !sources || !sources[0]) { |
| 113 | return FILE_RELAY_E_INVALID_ARG; | 113 | return FILE_RELAY_E_INVALID_ARG; |
