summaryrefslogtreecommitdiff
path: root/lib/log.h
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2017-06-26 17:24:44 +0000
committerDaniel Walton <dwalton@cumulusnetworks.com>2017-06-26 17:24:44 +0000
commit4fbf55e9868b721c46cb7ebc2b639d8a066afbb0 (patch)
treeb620f5185e2016c99abd9cd602eef376f2328ad2 /lib/log.h
parent292caba3bac24ba05e553b01f7c13fa8ab4b374e (diff)
parent8ea37652c714edcd913d5dc02a0bfc5968fdc45e (diff)
Merge branch 'master' of https://github.com/dwalton76/frr into bgpd-ipv4-plus-label-misc3
Diffstat (limited to 'lib/log.h')
-rw-r--r--lib/log.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/log.h b/lib/log.h
index a45486275c..f8b1cd361c 100644
--- a/lib/log.h
+++ b/lib/log.h
@@ -99,14 +99,7 @@ extern int zlog_reset_file (void);
/* Rotate log. */
extern int zlog_rotate (void);
-/* For hackey message lookup and check */
-#define LOOKUP_DEF(x, y, def) mes_lookup(x, x ## _max, y, def, #x)
-#define LOOKUP(x, y) LOOKUP_DEF(x, y, "(no item found)")
-
-extern const char *lookup (const struct message *, int);
-extern const char *mes_lookup (const struct message *meslist,
- int max, int index,
- const char *no_item, const char *mesname);
+const char *lookup_msg (const struct message *mz, int kz, const char *nf);
/* Safe version of strerror -- never returns NULL. */
extern const char *safe_strerror(int errnum);