summaryrefslogtreecommitdiffstats
path: root/lib/ferr.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-14 14:23:49 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 22:02:05 +0200
commitb66d022e8d843bbc5daec9d1cb59f66d338f7433 (patch)
treeb52046d8fb40b7d70b837f7fbeb8b7b01ac54859 /lib/ferr.h
parentlib: Allow adding arrays of ferr's (diff)
downloadfrr-b66d022e8d843bbc5daec9d1cb59f66d338f7433.tar.xz
frr-b66d022e8d843bbc5daec9d1cb59f66d338f7433.zip
lib, bgpd: Add code to make lib auto create the ferr infrastructure
Add code to auto-create the ferr infrastructure as well as add some initial error handling for vrf.c Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/ferr.h')
-rw-r--r--lib/ferr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ferr.h b/lib/ferr.h
index 7e38fa455..011925b85 100644
--- a/lib/ferr.h
+++ b/lib/ferr.h
@@ -121,6 +121,11 @@ struct ferr_ref {
void ferr_ref_add(struct ferr_ref *ref);
struct ferr_ref *ferr_ref_get(uint32_t code);
void ferr_ref_display(struct vty *, uint32_t code);
+
+/*
+ * This function should be called by the
+ * code in libfrr.c
+ */
void ferr_ref_init(void);
void ferr_ref_fini(void);