summaryrefslogtreecommitdiffstats
path: root/lib/vty.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-06-21 04:47:44 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-06-29 18:28:21 +0200
commit4d5f445750e01467898eee47796e80d808500d56 (patch)
tree6944f01b1f97388a7a1fb1d69b0b5e548a6aa5a4 /lib/vty.h
parentMerge pull request #701 from qlyoung/mt-safe-cancel (diff)
downloadfrr-4d5f445750e01467898eee47796e80d808500d56.tar.xz
frr-4d5f445750e01467898eee47796e80d808500d56.zip
lib: add vty_outln()
Like *.println() in some other unspeakable languages Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r--lib/vty.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/vty.h b/lib/vty.h
index e658eb236..ee2aeac67 100644
--- a/lib/vty.h
+++ b/lib/vty.h
@@ -215,6 +215,7 @@ extern void vty_reset (void);
extern struct vty *vty_new (void);
extern struct vty *vty_stdio (void (*atclose)(void));
extern int vty_out (struct vty *, const char *, ...) PRINTF_ATTRIBUTE(2, 3);
+extern int vty_outln (struct vty *, const char *, ...) PRINTF_ATTRIBUTE(2, 3);
extern void vty_read_config (const char *, char *);
extern void vty_time_print (struct vty *, int);
extern void vty_serv_sock (const char *, unsigned short, const char *);