summaryrefslogtreecommitdiffstats
path: root/lib/vty.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2013-05-30 16:33:45 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2015-05-27 20:34:40 +0200
commitba5dc5ebb4dba56cb3a64acc21e71aa34df375d9 (patch)
treeaf180446cdaaa0bdab5171630249fd1db9fd5b86 /lib/vty.h
parent4715a53b4d390e72a06c864a6a505971841e3dc9 (diff)
downloadquagga-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/vty.h b/lib/vty.h
index b758df3e..abac3ddf 100644
--- a/lib/vty.h
+++ b/lib/vty.h
@@ -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);