aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-04-27 11:13:19 -0500
committerRob Landley <rob@landley.net>2015-04-27 11:13:19 -0500
commit2fd8624cc612e946f593b2c9e9031c46f862562e (patch)
treeb8ab47e7f83175f4045e9a40ae27688213a78dbf /lib/lib.h
parented753aaa5481e487a23c9e0e6a855c09612eb7ce (diff)
downloadtoybox-2fd8624cc612e946f593b2c9e9031c46f862562e.tar.gz
Some infrastructure hexedit needs. (Poor man's curses.)
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/lib.h b/lib/lib.h
index a4e5808d..bdd78c9a 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -174,9 +174,12 @@ void replace_tempfile(int fdin, int fdout, char **tempname);
void crc_init(unsigned int *crc_table, int little_endian);
void base64_init(char *p);
int terminal_size(unsigned *x, unsigned *y);
+int set_terminal(int fd, int raw, struct termios *old);
int yesno(char *prompt, int def);
int human_readable(char *buf, unsigned long long num);
int qstrcmp(const void *a, const void *b);
+int xpoll(struct pollfd *fds, int nfds, int timeout);
+int scan_key(char *scratch, char **seqs, int block);
// net.c
int xsocket(int domain, int type, int protocol);