added a nice java-free sics commandline client M.Z.

This commit is contained in:
cvs
2003-03-12 13:48:24 +00:00
parent 9f03f7cdd7
commit 9a5bd901d8
5 changed files with 571 additions and 0 deletions

19
tecs/term.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef TERM_H_
#define TERM_H_
void term_reg_socket(int fd);
/* register socket */
void term_unr_socket(int fd);
/* unregister socket */
int term_raw_key(char *key, int msecTmo);
int term_wait_fd(int fd, int msecTmo);
/* wait for a read event on fd or timeout */
int term_get_key(char *key, int msecTmo);
int term_get_line(char *buf, int size, int *pos, char *prompt, fd_set *mask);
#endif /* TERM_H_ */