summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libirecovery.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/libirecovery.h b/include/libirecovery.h
index b489011..801ad88 100644
--- a/include/libirecovery.h
+++ b/include/libirecovery.h
@@ -24,6 +24,9 @@
24#define IRECV_ERROR_UNABLE_TO_CONNECT -3 24#define IRECV_ERROR_UNABLE_TO_CONNECT -3
25#define IRECV_ERROR_INVALID_INPUT -4 25#define IRECV_ERROR_INVALID_INPUT -4
26#define IRECV_ERROR_UNKNOWN -5 26#define IRECV_ERROR_UNKNOWN -5
27#define IRECV_ERROR_FILE_NOT_FOUND -6
28#define IRECV_ERROR_USB_UPLOAD -7
29#define IRECV_ERROR_USB_STATUS -8
27 30
28enum { 31enum {
29 kAppleId = 0x05AC, 32 kAppleId = 0x05AC,
@@ -44,5 +47,5 @@ int irecv_exit(irecv_device* device);
44int irecv_init(irecv_device** device); 47int irecv_init(irecv_device** device);
45int irecv_reset(irecv_device* device); 48int irecv_reset(irecv_device* device);
46int irecv_close(irecv_device* device); 49int irecv_close(irecv_device* device);
47int irecv_command(irecv_device* device, const char* command); 50int irecv_send_file(irecv_device* device, const char* filename);
48 51int irecv_send_command(irecv_device* device, const char* command);