summaryrefslogtreecommitdiff
path: root/lib/vty.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-05-07 20:02:39 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-06-19 08:43:59 -0400
commit5ede5e4eedf47c856f45849e9f8360fda4e40b92 (patch)
treed3d6986b33842b2511c56df90f441f012293b719 /lib/vty.h
parent05d7e026c8b4ae8064d30afff8336a8699429567 (diff)
lib: Add ability to know if we have read anything in
When reading the config file add an ability to know if we have properly read in anything. So that a daemon can make fallback plans. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/vty.h')
-rw-r--r--lib/vty.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vty.h b/lib/vty.h
index d14ddf5908..b55abf2204 100644
--- a/lib/vty.h
+++ b/lib/vty.h
@@ -242,7 +242,7 @@ extern void vty_frame(struct vty *, const char *, ...) PRINTF_ATTRIBUTE(2, 3);
extern void vty_endframe(struct vty *, const char *);
bool vty_set_include(struct vty *vty, const char *regexp);
-extern void vty_read_config(const char *, char *);
+extern bool 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 *);
extern void vty_close(struct vty *);