diff options
Diffstat (limited to 'src/datatypes.h')
-rw-r--r-- | src/datatypes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/datatypes.h b/src/datatypes.h index 3f7d358..df3de45 100644 --- a/src/datatypes.h +++ b/src/datatypes.h @@ -64,4 +64,10 @@ typedef u_int16_t mux_t; #define MUX_T_NTOH(a) ntohs(a) #define MUX_T_HTON(a) htons(a) +struct buffer_struct { + u_int32_t length_; + u_int8_t* buf_; +}; +typedef struct buffer_struct buffer_t; + #endif |