diff options
| author | 2008-08-17 19:50:38 +0200 | |
|---|---|---|
| committer | 2008-08-31 19:27:19 +0200 | |
| commit | 31323f0846ab3182588be5191b42644b9d5a8270 (patch) | |
| tree | 10c06002662388392e3d28f4f7453fd6a11f850a | |
| parent | 07ef95d51191cef4246a6b8e6014a29edadde227 (diff) | |
| download | libimobiledevice-31323f0846ab3182588be5191b42644b9d5a8270.tar.gz libimobiledevice-31323f0846ab3182588be5191b42644b9d5a8270.tar.bz2 | |
uses new instead of get in API when actually allocating something.
| -rw-r--r-- | include/libiphone/libiphone.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index 2faaef7..a5c753d 100644 --- a/include/libiphone/libiphone.h +++ b/include/libiphone/libiphone.h | |||
| @@ -50,7 +50,7 @@ void iph_free_device ( iph_device_t device ); | |||
| 50 | 50 | ||
| 51 | 51 | ||
| 52 | //lockdownd related functions | 52 | //lockdownd related functions |
| 53 | int iph_lckd_get_client ( iph_device_t device, iph_lckd_client_t *client ); | 53 | int iph_lckd_new_client ( iph_device_t device, iph_lckd_client_t *client ); |
| 54 | void iph_lckd_free_client( iph_lckd_client_t client ); | 54 | void iph_lckd_free_client( iph_lckd_client_t client ); |
| 55 | 55 | ||
| 56 | int iph_lckd_start_service ( iph_lckd_client_t client, const char *service ); | 56 | int iph_lckd_start_service ( iph_lckd_client_t client, const char *service ); |
| @@ -59,7 +59,7 @@ int iph_lckd_send ( iph_lckd_client_t client, char *raw_data, uint32_t length ); | |||
| 59 | 59 | ||
| 60 | 60 | ||
| 61 | //usbmux related functions | 61 | //usbmux related functions |
| 62 | int iph_mux_get_client ( iph_device_t device, uint16_t src_port, uint16_t dst_port, iph_umux_client_t *client ); | 62 | int iph_mux_new_client ( iph_device_t device, uint16_t src_port, uint16_t dst_port, iph_umux_client_t *client ); |
| 63 | void iph_mux_free_client ( iph_umux_client_t client ); | 63 | void iph_mux_free_client ( iph_umux_client_t client ); |
| 64 | 64 | ||
| 65 | int iph_mux_send ( iph_umux_client_t client, const char *data, uint32_t datalen ); | 65 | int iph_mux_send ( iph_umux_client_t client, const char *data, uint32_t datalen ); |
| @@ -67,7 +67,7 @@ int iph_mux_recv ( iph_umux_client_t client, char *data, uint32_t datalen ); | |||
| 67 | 67 | ||
| 68 | 68 | ||
| 69 | //afc related functions | 69 | //afc related functions |
| 70 | int iph_afc_get_client ( iph_device_t device, int src_port, int dst_port, iph_afc_client_t *client ); | 70 | int iph_afc_new_client ( iph_device_t device, int src_port, int dst_port, iph_afc_client_t *client ); |
| 71 | void iph_afc_free_client ( iph_afc_client_t client ); | 71 | void iph_afc_free_client ( iph_afc_client_t client ); |
| 72 | 72 | ||
| 73 | char **iph_afc_get_devinfo ( iph_afc_client_t client ); | 73 | char **iph_afc_get_devinfo ( iph_afc_client_t client ); |
