diff options
author | Martin Szulecki | 2014-10-17 22:21:46 +0200 |
---|---|---|
committer | Martin Szulecki | 2014-10-17 22:21:46 +0200 |
commit | be29df7e4f28d3af944a3c9a6117aeb7550d7a3c (patch) | |
tree | 64fbdb806ee209d2a227a58fde925d2758a99fac /src/libirecovery.c | |
parent | d0a560fdde26485227adb87af0862ac571627370 (diff) | |
download | libirecovery-be29df7e4f28d3af944a3c9a6117aeb7550d7a3c.tar.gz libirecovery-be29df7e4f28d3af944a3c9a6117aeb7550d7a3c.tar.bz2 |
Export missing irecv_usb_control_transfer() and irecv_usb_bulk_transfer()
Diffstat (limited to 'src/libirecovery.c')
-rw-r--r-- | src/libirecovery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c index ece6cb2..f791982 100644 --- a/src/libirecovery.c +++ b/src/libirecovery.c @@ -660,7 +660,7 @@ IRECV_API void irecv_exit() { void dummy_callback() { } #endif -int irecv_usb_control_transfer(irecv_client_t client, uint8_t bm_request_type, uint8_t b_request, uint16_t w_value, uint16_t w_index, unsigned char *data, uint16_t w_length, unsigned int timeout) { +IRECV_API int irecv_usb_control_transfer(irecv_client_t client, uint8_t bm_request_type, uint8_t b_request, uint16_t w_value, uint16_t w_index, unsigned char *data, uint16_t w_length, unsigned int timeout) { #ifndef WIN32 return libusb_control_transfer(client->handle, bm_request_type, b_request, w_value, w_index, data, w_length, timeout); #else @@ -706,7 +706,7 @@ int irecv_usb_control_transfer(irecv_client_t client, uint8_t bm_request_type, u #endif } -int irecv_usb_bulk_transfer(irecv_client_t client, +IRECV_API int irecv_usb_bulk_transfer(irecv_client_t client, unsigned char endpoint, unsigned char *data, int length, |