mirror of
https://github.com/eddyem/tty_term.git
synced 2026-06-21 19:36:29 +03:00
Add sockets support & dump to file
This commit is contained in:
@@ -19,22 +19,14 @@
|
||||
#ifndef NCURSES_AND_READLINE_H__
|
||||
#define NCURSES_AND_READLINE_H__
|
||||
|
||||
#include <pthread.h>
|
||||
#include <usefull_macros.h>
|
||||
|
||||
typedef struct{
|
||||
TTY_descr *dev;
|
||||
pthread_mutex_t mutex;
|
||||
char eol[3];
|
||||
char seol[5];
|
||||
int eollen;
|
||||
} ttyd;
|
||||
#include "dbg.h"
|
||||
#include "ttysocket.h"
|
||||
|
||||
void init_readline();
|
||||
void deinit_readline();
|
||||
void init_ncurses();
|
||||
void deinit_ncurses();
|
||||
void *cmdline(void* arg);
|
||||
void add_ttydata(const char *text);
|
||||
void ShowData(const char *text);
|
||||
|
||||
#endif // NCURSES_AND_READLINE_H__
|
||||
|
||||
Reference in New Issue
Block a user