aboutsummaryrefslogtreecommitdiffstats
path: root/src/prototypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/prototypes.h')
-rw-r--r--src/prototypes.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/prototypes.h b/src/prototypes.h
index 4468fe8..8468fb6 100644
--- a/src/prototypes.h
+++ b/src/prototypes.h
@@ -74,7 +74,14 @@ int vt102_dispatch_one(VT102 *v, TTY *tty);
VT102 *vt102_new(void);
void vt102_free(VT102 *v);
/* tty.c */
-TTY *tty_new_test(void);
-int tty_read(TTY *t, void *buf, int len);
-int tty_write(TTY *t, void *buf, int len);
-void tty_free(TTY *t);
+/* history.c */
+History *history_new(int n);
+void history_free(History *h);
+void history_add(History *h, CRT_CA *c);
+/* ring.c */
+int ring_read(Ring *r, void *b, int n);
+int ring_write(Ring *r, void *b, int n);
+Ring *ring_new(int n);
+/* ptty.c */
+void ptty_close(TTY *_t);
+TTY *ptty_open(char *path, char *argv[]);