diff options
author | Martin Szulecki | 2013-09-26 22:52:07 +0200 |
---|---|---|
committer | Martin Szulecki | 2013-09-26 22:52:07 +0200 |
commit | e6a122ac360e8293da09fcf9baff0f37ad0d58a3 (patch) | |
tree | 59070cb964d42daa4077e419d1c9955b808a85dc /include | |
parent | 1557e9c8bcb83b90b55f43eb5375929fc382dfd6 (diff) | |
download | libirecovery-e6a122ac360e8293da09fcf9baff0f37ad0d58a3.tar.gz libirecovery-e6a122ac360e8293da09fcf9baff0f37ad0d58a3.tar.bz2 |
Indent error and event type structs for easier readability
Diffstat (limited to 'include')
-rw-r--r-- | include/libirecovery.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/include/libirecovery.h b/include/libirecovery.h index 6a8b50b..6b4e0d8 100644 --- a/include/libirecovery.h +++ b/include/libirecovery.h @@ -51,28 +51,28 @@ enum { }; typedef enum { - IRECV_E_SUCCESS = 0, - IRECV_E_NO_DEVICE = -1, - IRECV_E_OUT_OF_MEMORY = -2, + IRECV_E_SUCCESS = 0, + IRECV_E_NO_DEVICE = -1, + IRECV_E_OUT_OF_MEMORY = -2, IRECV_E_UNABLE_TO_CONNECT = -3, - IRECV_E_INVALID_INPUT = -4, - IRECV_E_FILE_NOT_FOUND = -5, - IRECV_E_USB_UPLOAD = -6, - IRECV_E_USB_STATUS = -7, - IRECV_E_USB_INTERFACE = -8, + IRECV_E_INVALID_INPUT = -4, + IRECV_E_FILE_NOT_FOUND = -5, + IRECV_E_USB_UPLOAD = -6, + IRECV_E_USB_STATUS = -7, + IRECV_E_USB_INTERFACE = -8, IRECV_E_USB_CONFIGURATION = -9, - IRECV_E_PIPE = -10, - IRECV_E_TIMEOUT = -11, - IRECV_E_UNKNOWN_ERROR = -255 + IRECV_E_PIPE = -10, + IRECV_E_TIMEOUT = -11, + IRECV_E_UNKNOWN_ERROR = -255 } irecv_error_t; typedef enum { - IRECV_RECEIVED = 1, - IRECV_PRECOMMAND = 2, - IRECV_POSTCOMMAND = 3, - IRECV_CONNECTED = 4, - IRECV_DISCONNECTED = 5, - IRECV_PROGRESS = 6 + IRECV_RECEIVED = 1, + IRECV_PRECOMMAND = 2, + IRECV_POSTCOMMAND = 3, + IRECV_CONNECTED = 4, + IRECV_DISCONNECTED = 5, + IRECV_PROGRESS = 6 } irecv_event_type; typedef struct { |