diff options
Diffstat (limited to 'src/clients.h')
-rw-r--r-- | src/clients.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/clients.h b/src/clients.h index 9ab8f0c..7052161 100644 --- a/src/clients.h +++ b/src/clients.h @@ -33,9 +33,12 @@ #include "slist.h" #include "tcp.h" +#define BUFFER_LENGTH 1048576 + typedef struct { int fd_[2]; - // TODO: add info for each client and write buffers + u_int8_t write_buf_[2][BUFFER_LENGTH]; + u_int32_t write_buf_len_[2]; } client_t; void clients_delete_element(void* e); |