From bdc857bcd4488b8e135b189022e210b5b841e409 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 13 Jan 2010 01:19:52 +0100 Subject: mobilesync: use correct type for port parameter and rename it --- include/libiphone/mobilesync.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libiphone/mobilesync.h') diff --git a/include/libiphone/mobilesync.h b/include/libiphone/mobilesync.h index 662036c..94fbedc 100644 --- a/include/libiphone/mobilesync.h +++ b/include/libiphone/mobilesync.h @@ -43,7 +43,7 @@ typedef int16_t mobilesync_error_t; struct mobilesync_client_int; typedef struct mobilesync_client_int *mobilesync_client_t; -mobilesync_error_t mobilesync_client_new(iphone_device_t device, int dst_port, mobilesync_client_t * client); +mobilesync_error_t mobilesync_client_new(iphone_device_t device, uint16_t port, mobilesync_client_t * client); mobilesync_error_t mobilesync_client_free(mobilesync_client_t client); mobilesync_error_t mobilesync_recv(mobilesync_client_t client, plist_t *plist); mobilesync_error_t mobilesync_send(mobilesync_client_t client, plist_t plist); -- cgit v1.1-32-gdbae