diff options
author | Christian Pointner <equinox@anytun.org> | 2008-12-28 14:28:09 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2008-12-28 14:28:09 +0000 |
commit | 3be96cca28681627ae9cd5cd95e1c5fba9c24b52 (patch) | |
tree | 4361b19332bb1c0489bab4fa4a337ea9ed1fe5d8 /src/datatypes.h | |
parent | options parser finished (diff) |
small cleanup
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 |