diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-03 20:07:23 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-14 22:02:05 +0200 |
commit | 85cd2f9f9a43d0c536f445cc65b94a8d90bb4c97 (patch) | |
tree | 8ae31ca6e770aeeb3ad5bc2475af0f320d922b2c /lib/ferr.h | |
parent | *: rename zlog_fer -> flog_err (diff) | |
download | frr-85cd2f9f9a43d0c536f445cc65b94a8d90bb4c97.tar.xz frr-85cd2f9f9a43d0c536f445cc65b94a8d90bb4c97.zip |
*: rename ferr_ref -> log_ref
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/ferr.h')
-rw-r--r-- | lib/ferr.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/ferr.h b/lib/ferr.h index 9e31c9a0a..335875c16 100644 --- a/lib/ferr.h +++ b/lib/ferr.h @@ -132,7 +132,7 @@ struct ferr { #define ZEBRA_FERR_END 0xF1FFFFFF #define END_FERR 0xFFFFFFFF -struct ferr_ref { +struct log_ref { /* Unique error code displayed to end user as a reference. -1 means * this is an uncoded error that does not have reference material. */ uint32_t code; @@ -144,16 +144,16 @@ struct ferr_ref { const char *suggestion; }; -void ferr_ref_add(struct ferr_ref *ref); -struct ferr_ref *ferr_ref_get(uint32_t code); -void ferr_ref_display(struct vty *vty, uint32_t code, bool json); +void log_ref_add(struct log_ref *ref); +struct log_ref *log_ref_get(uint32_t code); +void log_ref_display(struct vty *vty, uint32_t code, bool json); /* * This function should be called by the * code in libfrr.c */ -void ferr_ref_init(void); -void ferr_ref_fini(void); +void log_ref_init(void); +void log_ref_fini(void); /* get error details. * |