summaryrefslogtreecommitdiffstats
path: root/src/types.h
diff options
context:
space:
mode:
authorJohann Latocha2012-02-10 23:47:32 +0100
committerJohann Latocha2012-02-10 23:47:32 +0100
commit79bb581eb0373c717d1ce95e817fd7411b07ff92 (patch)
tree79309d8030bec24bd80c7b534dc026f1ebf488c8 /src/types.h
parent[CLIENT] Get host by name (diff)
downloaddnbd3-79bb581eb0373c717d1ce95e817fd7411b07ff92.tar.gz
dnbd3-79bb581eb0373c717d1ce95e817fd7411b07ff92.tar.xz
dnbd3-79bb581eb0373c717d1ce95e817fd7411b07ff92.zip
[SERVER] Config reload fixed
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;