diff options
| author | Daniel Walton <dwalton@cumulusnetworks.com> | 2017-06-26 17:24:44 +0000 |
|---|---|---|
| committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2017-06-26 17:24:44 +0000 |
| commit | 4fbf55e9868b721c46cb7ebc2b639d8a066afbb0 (patch) | |
| tree | b620f5185e2016c99abd9cd602eef376f2328ad2 /lib/log.h | |
| parent | 292caba3bac24ba05e553b01f7c13fa8ab4b374e (diff) | |
| parent | 8ea37652c714edcd913d5dc02a0bfc5968fdc45e (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.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -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); |
