prepare to introduce output formats

This commit is contained in:
2023-11-03 12:37:33 +03:00
parent 84bfe8b499
commit ac4694375e
5 changed files with 31 additions and 72 deletions

View File

@@ -53,10 +53,8 @@ typedef struct{
pthread_mutex_t mutex; // reading/writing mutex
char eol[3]; // end of line
char seol[5]; // `eol` with doubled backslash (for print @ screen)
int eollen; // length of `eol`
} chardevice;
char *geteol(int *s);
char *ReadData(int *l);
int SendData(const char *data, size_t len);
void settimeout(int tms);