summaryrefslogtreecommitdiffstats
path: root/src/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index 8fdfbba..c236db9 100644
--- a/src/types.h
+++ b/src/types.h
@@ -42,6 +42,9 @@ typedef struct
#define CMD_GET_SIZE 2
#define CMD_GET_SERVERS 3
+#define ERROR_SIZE 1
+#define ERROR_RELOAD 2
+
#pragma pack(1)
typedef struct
{
@@ -58,6 +61,7 @@ typedef struct
typedef struct
{
uint16_t cmd; // 2byte
+ uint16_t error; // 2byte
uint64_t size; // 8byte
char handle[8]; // 8byte
} dnbd3_reply_t;