summaryrefslogtreecommitdiffstats
path: root/lib/vty_io_term.h
diff options
context:
space:
mode:
authorChris Hall <chris.hall@highwayman.com>2011-09-06 23:43:26 +0100
committerChris Hall <chris.hall@highwayman.com>2011-09-06 23:43:26 +0100
commit44b5aa5ca8b8a1620478c794dae11a7d71e9211e (patch)
tree00e10e01b36e4452173ffd15c7b1a5ec42dfbc0c /lib/vty_io_term.h
parent1c1a79f1119c8bc898fb96ec385381f61841d7a1 (diff)
downloadquagga-44b5aa5ca8b8a1620478c794dae11a7d71e9211e.tar.bz2
quagga-44b5aa5ca8b8a1620478c794dae11a7d71e9211e.tar.xz
Further improvements to "pipework".ex19p
Version advanced to 0.99.18ex19p. Fixed occasional failure to immediately display prompt after previous command output was abandonned by ^C, particularly with "--more--". Completely removed the "~" temporary prompt, and simplified some logic. Added indication of pthread running to "show version".
Diffstat (limited to 'lib/vty_io_term.h')
-rw-r--r--lib/vty_io_term.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/vty_io_term.h b/lib/vty_io_term.h
index 78d37b18..ac5620e3 100644
--- a/lib/vty_io_term.h
+++ b/lib/vty_io_term.h
@@ -56,14 +56,16 @@
extern void uty_term_new(vty_io vio, int sock_fd) ;
extern cmd_return_code_t uty_term_fetch_command_line(vio_vf vf,
- cmd_action action, cmd_context context) ;
+ cmd_action action) ;
+extern void uty_term_cmd_complete(vio_vf vf, cmd_context context) ;
extern cmd_return_code_t uty_term_out_push(vio_vf vf, bool final) ;
+extern void uty_term_out_cancelled(vio_vf vf) ;
extern uint uty_term_show_error_context(vio_vf vf, vio_fifo ebuf, uint depth) ;
extern cmd_return_code_t uty_term_read_close(vio_vf vf, bool final) ;
extern void uty_term_close_reason(vio_vf vf, const char* reason) ;
extern cmd_return_code_t uty_term_write_close(vio_vf vf, bool final);
-extern int uty_term_read(vio_vf vf) ;
+extern void uty_term_read(vio_vf vf) ;
extern void uty_term_set_readiness(vio_vf vf, vty_readiness_t ready) ;
extern qtimer_action vty_term_pause_timeout ;