diff options
author | Johann Latocha | 2012-01-31 23:52:24 +0100 |
---|---|---|
committer | Johann Latocha | 2012-01-31 23:52:24 +0100 |
commit | 63519d6ae4cb20ae4871310e09a28fd59f5c9fc7 (patch) | |
tree | e285221e909058628332a736e42cbc864de4ac39 /src/types.h | |
parent | [ALL] Reformat (line wrapping, indent) (diff) | |
download | dnbd3-63519d6ae4cb20ae4871310e09a28fd59f5c9fc7.tar.gz dnbd3-63519d6ae4cb20ae4871310e09a28fd59f5c9fc7.tar.xz dnbd3-63519d6ae4cb20ae4871310e09a28fd59f5c9fc7.zip |
[ALL] Some refactoring
Diffstat (limited to 'src/types.h')
-rw-r--r-- | src/types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/types.h b/src/types.h index cdde4bd..9bc0795 100644 --- a/src/types.h +++ b/src/types.h @@ -37,7 +37,7 @@ #define CMD_PING 3 #pragma pack(1) -typedef struct dnbd3_request +typedef struct { uint16_t cmd; uint64_t offset; @@ -48,7 +48,7 @@ typedef struct dnbd3_request #pragma pack(0) #pragma pack(1) -typedef struct dnbd3_reply +typedef struct { uint16_t cmd; uint64_t filesize; |