diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/libiphone/libiphone.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index 4bc2fea..36b1512 100644 --- a/include/libiphone/libiphone.h +++ b/include/libiphone/libiphone.h | |||
| @@ -49,7 +49,7 @@ extern "C" { | |||
| 49 | #define IPHONE_E_START_SERVICE_FAILED -12 | 49 | #define IPHONE_E_START_SERVICE_FAILED -12 |
| 50 | 50 | ||
| 51 | //afc specific error | 51 | //afc specific error |
| 52 | #define IPHONE_E_NO_SUCH_FILE -13 | 52 | #define IPHONE_E_AFC_ERROR -13 |
| 53 | 53 | ||
| 54 | typedef int16_t iphone_error_t; | 54 | typedef int16_t iphone_error_t; |
| 55 | 55 | ||
| @@ -122,6 +122,8 @@ iphone_error_t iphone_mux_recv ( iphone_umux_client_t client, char *data, uint32 | |||
| 122 | //afc related functions | 122 | //afc related functions |
| 123 | iphone_error_t iphone_afc_new_client ( iphone_device_t device, int src_port, int dst_port, iphone_afc_client_t *client ); | 123 | iphone_error_t iphone_afc_new_client ( iphone_device_t device, int src_port, int dst_port, iphone_afc_client_t *client ); |
| 124 | iphone_error_t iphone_afc_free_client ( iphone_afc_client_t client ); | 124 | iphone_error_t iphone_afc_free_client ( iphone_afc_client_t client ); |
| 125 | int iphone_afc_get_afcerror ( iphone_afc_client_t client ); | ||
| 126 | int iphone_afc_get_errno ( iphone_afc_client_t client ); | ||
| 125 | 127 | ||
| 126 | iphone_error_t iphone_afc_get_devinfo ( iphone_afc_client_t client, char ***infos ); | 128 | iphone_error_t iphone_afc_get_devinfo ( iphone_afc_client_t client, char ***infos ); |
| 127 | iphone_error_t iphone_afc_get_dir_list ( iphone_afc_client_t client, const char *dir, char ***list); | 129 | iphone_error_t iphone_afc_get_dir_list ( iphone_afc_client_t client, const char *dir, char ***list); |
