Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-02-26 | Rate limit for most abundant log messages | Ondrej Zajicek | |
2004-06-05 | Renamed log() to log_msg(), but still keeping the old name as a macro. | Martin Mares | |
This is done to avoid clashes with gcc-3.3 which has built-in logarithms :) | |||
2004-06-05 | A better comment. | Martin Mares | |
2004-06-01 | ALIGN -> BIRD_ALIGN | Ondrej Filip | |
2004-05-31 | Added UNUSED. | Martin Mares | |
2004-05-31 | #ifndef ALIGN - it is defined on *BSD | Ondrej Filip | |
2002-11-13 | ABS should be a macro. | Martin Mares | |
2001-02-20 | Fixed duplicity in log category numbering. | Martin Mares | |
Thanks to Zheng Yuan for spotting this. | |||
2000-04-12 | Introduced `ARRAY_SIZE' macro to replace all the sizeof(a)/sizeof(*a) ↵ | Martin Mares | |
constructs. | |||
2000-03-12 | Use do { } while(0) instead of empty DBG if not debugging. | Martin Mares | |
2000-03-07 | DBG calls debug() if defined(LOCAL_DEBUG) || defined(GLOBAL_DEBUG). | Martin Mares | |
1999-12-06 | Logging is now configurable. You can define multiple log outputs (to both | Martin Mares | |
files and syslog) and assign lists of message categories to each of them. | |||
1999-08-17 | Added a function for generating 32-bit random numbers. | Martin Mares | |
1999-03-29 | #define NULL if not defined by system includes. | Martin Mares | |
1999-02-05 | Added several parentheses to MIN/MAX macros. | Martin Mares | |
1998-12-20 | Finer grained logging levels: | Martin Mares | |
#define L_DEBUG "\001" /* Debugging messages */ #define L_INFO "\002" /* Informational messages */ #define L_WARN "\003" /* Warnings */ #define L_ERR "\004" /* Errors */ #define L_AUTH "\005" /* Authorization failed etc. */ #define L_FATAL "\006" /* Fatal errors */ #define L_TRACE "\002" /* Protocol tracing */ #define L_INFO "\003" /* Informational messages */ #define L_REMOTE "\004" /* Remote protocol errors */ #define L_WARN "\004" /* Local warnings */ #define L_ERR "\005" /* Local errors */ #define L_AUTH "\006" /* Authorization failed etc. */ #define L_FATAL "\007" /* Fatal errors */ #define L_BUG "\010" /* BIRD bugs */ Introduced bug() which is like die(), but with level L_BUG. Protocols should _never_ call die() as it should be used only during initialization and on irrecoverable catastrophic events like out of memory. Also introduced ASSERT() which behaves like normal assert(), but it calls bug() when assertion fails. When !defined(DEBUGGING), it gets ignored. | |||
1998-07-10 | Removed format specification attributes for log() and debug() until | Martin Mares | |
GCC is fixed to handle custom formats. | |||
1998-07-09 | Adding MIN()/MAX() macros | Pavel Machek | |
1998-05-26 | DBG now calls debug() instead of sending it to log(). | Martin Mares | |
1998-05-15 | The library is now glued together from generic and OS-dependent parts | Martin Mares | |
by the `mergedirs' script. Few more IP address manipulation functions and some fixes. | |||
1998-05-03 | BIRD library: The story continues. | Martin Mares | |
Complete resource manages and IP address handling. | |||
1998-04-23 | Added IP address manipulation macros, interface declarations and logging. | Martin Mares | |
1998-04-22 | First look at data structures. More to come tomorrow... | Martin Mares | |