summaryrefslogtreecommitdiffstats
path: root/babeld/babel_errors.h
diff options
context:
space:
mode:
Diffstat (limited to 'babeld/babel_errors.h')
-rw-r--r--babeld/babel_errors.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/babeld/babel_errors.h b/babeld/babel_errors.h
new file mode 100644
index 0000000..47539c7
--- /dev/null
+++ b/babeld/babel_errors.h
@@ -0,0 +1,22 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Babel-specific error messages.
+ * Copyright (C) 2018 Cumulus Networks, Inc.
+ * Donald Sharp
+ */
+
+#ifndef __BABEL_ERRORS_H__
+#define __BABEL_ERRORS_H__
+
+#include "lib/ferr.h"
+
+enum babel_log_refs {
+ EC_BABEL_MEMORY = BABEL_FERR_START,
+ EC_BABEL_PACKET,
+ EC_BABEL_CONFIG,
+ EC_BABEL_ROUTE,
+};
+
+extern void babel_error_init(void);
+
+#endif