Configure socket mapping flags from tty parsing logic. Remove duplicate parsing logic in socket

This commit is contained in:
Braden Young 2023-04-14 13:08:48 -07:00
parent 65b3353f57
commit 5651c1c5d7
3 changed files with 10 additions and 41 deletions

View file

@ -25,6 +25,10 @@
#include <stdbool.h>
#include <sys/select.h>
extern bool map_i_nl_cr;
extern bool map_i_cr_nl;
extern bool map_ign_cr;
void socket_configure(void);
void socket_write(char input_char);
int socket_add_fds(fd_set *fds, bool connected);