forked from scott/threaded_network_chat
move source to src/
This commit is contained in:
19
src/chat.h
Normal file
19
src/chat.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef CHAT_H
|
||||
#define CHAT_H
|
||||
|
||||
#include <string>
|
||||
|
||||
void *await_client(void *a);
|
||||
void clear_rows(int s, int e);
|
||||
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_start(void);
|
||||
void client_stop(void);
|
||||
void *poll_client(void);
|
||||
void *poll_server(void *a);
|
||||
void server_start(int port);
|
||||
void server_stop(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user