summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-07-17 18:04:20 +0200
committerGravatar Nikias Bassen2012-07-17 18:04:20 +0200
commita66e7cd6ef03ba4ae2af5ebfb62118c76c70b48a (patch)
tree06efaab0b6f83115cdeca463983f59990df3bf6d /src
parent6b1eb40e00b20c28da25731d18251aadc82ef583 (diff)
downloadlibirecovery-a66e7cd6ef03ba4ae2af5ebfb62118c76c70b48a.tar.gz
libirecovery-a66e7cd6ef03ba4ae2af5ebfb62118c76c70b48a.tar.bz2
added irecv_control_transfer and irecv_bulk_transfer to public interface
Diffstat (limited to 'src')
-rw-r--r--src/libirecovery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c
index 4ca177b..1e249a5 100644
--- a/src/libirecovery.c
+++ b/src/libirecovery.c
@@ -396,7 +396,7 @@ void irecv_exit() {
void dummy_callback() { }
#endif
-static int irecv_control_transfer( irecv_client_t client,
+int irecv_control_transfer( irecv_client_t client,
uint8_t bmRequestType,
uint8_t bRequest,
uint16_t wValue,
@@ -448,7 +448,7 @@ static int irecv_control_transfer( irecv_client_t client,
#endif
}
-static int irecv_bulk_transfer(irecv_client_t client,
+int irecv_bulk_transfer(irecv_client_t client,
unsigned char endpoint,
unsigned char *data,
int length,