forked from scott/threaded_network_chat
refactor pt 2
This commit is contained in:
6
chat.h
6
chat.h
@@ -27,8 +27,6 @@ const int CURSOR_DEFAULT_POSITION_Y = 12;
|
||||
const int LOG_LENGTH = 10;
|
||||
int line_position = 0;
|
||||
|
||||
chatmode_t mode = NO_MODE;
|
||||
|
||||
struct timeval time_start;
|
||||
struct timeval time_end;
|
||||
int bytes_read;
|
||||
@@ -50,10 +48,10 @@ int count_lines(std::string p);
|
||||
int file_disp(std::string p, int lnstart, int lncount = 10);
|
||||
int log_append(std::string p, std::string ln);
|
||||
int log_linect(std::string p);
|
||||
void *client_poll(void);
|
||||
void client_start(void);
|
||||
void client_stop(void);
|
||||
void *server_poll(void *a);
|
||||
void *poll_client(void);
|
||||
void *poll_server(void *a);
|
||||
void server_start(int port);
|
||||
void server_stop(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user