version 1.1.1.1, 2012/02/21 17:26:12
|
version 1.1.1.3, 2013/07/21 23:54:39
|
Line 49 typedef enum
|
Line 49 typedef enum
|
ZLOG_RIP, |
ZLOG_RIP, |
ZLOG_BGP, |
ZLOG_BGP, |
ZLOG_OSPF, |
ZLOG_OSPF, |
ZLOG_RIPNG, | ZLOG_RIPNG, |
| ZLOG_BABEL, |
ZLOG_OSPF6, |
ZLOG_OSPF6, |
ZLOG_ISIS, |
ZLOG_ISIS, |
ZLOG_MASC |
ZLOG_MASC |
Line 145 extern int zlog_reset_file (struct zlog *zl);
|
Line 146 extern int zlog_reset_file (struct zlog *zl);
|
/* Rotate log. */ |
/* Rotate log. */ |
extern int zlog_rotate (struct zlog *); |
extern int zlog_rotate (struct zlog *); |
|
|
/* For hackey massage lookup and check */ | /* For hackey message lookup and check */ |
#define LOOKUP(x, y) mes_lookup(x, x ## _max, y, "(no item found)", #x) | #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 *lookup (const struct message *, int); |
extern const char *mes_lookup (const struct message *meslist, |
extern const char *mes_lookup (const struct message *meslist, |