From ba5dc5ebb4dba56cb3a64acc21e71aa34df375d9 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Thu, 30 May 2013 16:33:45 +0200 Subject: 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 --- lib/vty.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/vty.h') 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); -- cgit v1.2.3