summaryrefslogtreecommitdiff
path: root/libterm/term_io.h
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-01-11 17:49:03 +0900
committerFreeArtMan <dos21h@gmail.com>2015-01-11 17:49:03 +0900
commit9b3d5f87e7718b00f786531b58bf102cdadc8264 (patch)
tree51c445bbfd347353bcbc1412aaec654819739555 /libterm/term_io.h
parent4e148546810a2902dff9444526e47c9569c79b64 (diff)
downloadmicrobbs-9b3d5f87e7718b00f786531b58bf102cdadc8264.tar.gz
microbbs-9b3d5f87e7718b00f786531b58bf102cdadc8264.zip
Added primitive authentification support
Diffstat (limited to 'libterm/term_io.h')
-rw-r--r--libterm/term_io.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/libterm/term_io.h b/libterm/term_io.h
index 8c57282..3c84972 100644
--- a/libterm/term_io.h
+++ b/libterm/term_io.h
@@ -7,11 +7,19 @@
#include "screen_modes.h"
#include "term.h"
+#define READLINE_NONE 0
+#define READLINE_ALPHA 1
+#define READLINE_TEXT 2
+#define READLINE_HIDDEN 3
+
+
int term_fprint( screen_mode_e mode, FILE *f );
int term_print( term_screen *ts, const char *s, size_t n );
int term_print_xy( term_screen *ts, const char *buf, size_t size,
- int init_column, int init_row);
+ int init_column, int init_row);
int term_draw_hline( term_screen *ts, int pc, int pr, int sz, char ch );
int term_getc( term_screen *ts );
+int term_putc( term_screen *ts, char c );
+int term_readline( term_screen *ts, char *str, size_t str_size, int flag );
#endif