diff options
author | David Lamparter <equinox@diac24.net> | 2013-05-30 16:33:45 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2015-05-27 20:34:40 +0200 |
commit | ba5dc5ebb4dba56cb3a64acc21e71aa34df375d9 (patch) | |
tree | af180446cdaaa0bdab5171630249fd1db9fd5b86 /lib/vty.h | |
parent | 4715a53b4d390e72a06c864a6a505971841e3dc9 (diff) | |
download | quagga-ba5dc5ebb4dba56cb3a64acc21e71aa34df375d9.tar.bz2 quagga-ba5dc5ebb4dba56cb3a64acc21e71aa34df375d9.tar.xz |
lib/vty: add vty_stdio()
this introduces a new public/API function to the vty code for opening a
VTY on stdin/stdout. Intended for unrestricted use by the individual
daemons, i.e. "offical API".
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/vty.h')
-rw-r--r-- | lib/vty.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -237,6 +237,7 @@ extern void vty_init_vtysh (void); extern void vty_terminate (void); extern void vty_reset (void); extern struct vty *vty_new (void); +extern struct vty *vty_stdio (void); extern int vty_out (struct vty *, const char *, ...) PRINTF_ATTRIBUTE(2, 3); extern void vty_read_config (char *, char *); extern void vty_time_print (struct vty *, int); |