aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib/error.h')
-rw-r--r--src/vlib/error.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vlib/error.h b/src/vlib/error.h
index 11757e05f67..2bffc6b9367 100644
--- a/src/vlib/error.h
+++ b/src/vlib/error.h
@@ -40,6 +40,8 @@
#ifndef included_vlib_error_h
#define included_vlib_error_h
+#include <vppinfra/format.h>
+
typedef u16 vlib_error_t;
enum vl_counter_severity_e
@@ -75,6 +77,8 @@ void vlib_register_errors (struct vlib_main_t *vm,
u32 n_errors, char *error_strings[],
vl_counter_t counters[]);
+unformat_function_t unformat_vlib_error;
+
#endif /* included_vlib_error_h */
/*