move source to src/

This commit is contained in:
2026-03-08 19:39:02 -05:00
parent 224e59549c
commit da4dfbdd3e
5 changed files with 7 additions and 0 deletions

19
src/chat.h Normal file
View 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