summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-01-13 01:26:05 +0100
committerGravatar Martin Szulecki2010-01-13 01:32:55 +0100
commit09deb301542d5db0b5371c3ccd2aed41ad98ef1c (patch)
tree77b6f2138c22e20e78b5e1ade9f49c8ceb498c50 /include
parent59647b653e6a80339a9a33adac99d238143eeeae (diff)
downloadlibimobiledevice-09deb301542d5db0b5371c3ccd2aed41ad98ef1c.tar.gz
libimobiledevice-09deb301542d5db0b5371c3ccd2aed41ad98ef1c.tar.bz2
afc: use correct type for port parameter and rename it, plus doc update
Diffstat (limited to 'include')
-rw-r--r--include/libiphone/afc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libiphone/afc.h b/include/libiphone/afc.h
index 7eff678..5d09b40 100644
--- a/include/libiphone/afc.h
+++ b/include/libiphone/afc.h
@@ -87,7 +87,7 @@ struct afc_client_int;
typedef struct afc_client_int *afc_client_t;
/* Interface */
-afc_error_t afc_client_new(iphone_device_t device, int dst_port, afc_client_t *client);
+afc_error_t afc_client_new(iphone_device_t device, uint16_t port, afc_client_t *client);
afc_error_t afc_client_free(afc_client_t client);
afc_error_t afc_get_device_info(afc_client_t client, char ***infos);
afc_error_t afc_read_directory(afc_client_t client, const char *dir, char ***list);