added a nice java-free sics commandline client M.Z.
This commit is contained in:
19
tecs/term.h
Normal file
19
tecs/term.h
Normal 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_ */
|
||||
Reference in New Issue
Block a user