bird/lib
Martin Mares 98e87c8628 Finer grained logging levels:
#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-12-20 14:24:35 +00:00
..
birdlib.h Finer grained logging levels: 1998-12-20 14:24:35 +00:00
bitops.c BIRD library: The story continues. 1998-05-03 16:43:39 +00:00
bitops.h BIRD library: The story continues. 1998-05-03 16:43:39 +00:00
ip.h Implemented ip_pton() 1998-11-27 19:29:27 +00:00
ipv4.c Implemented ip_pton() 1998-11-27 19:29:27 +00:00
ipv4.h New hash functions according to benchmarks posted yesterday. (The IPv6 1998-12-20 13:57:49 +00:00
ipv6.c The library is now glued together from generic and OS-dependent parts 1998-05-15 07:56:13 +00:00
ipv6.h New hash functions according to benchmarks posted yesterday. (The IPv6 1998-12-20 13:57:49 +00:00
lists.c BIRD library: The story continues. 1998-05-03 16:43:39 +00:00
lists.h WALK_LIST_DELSAFE now actually works (it really couldn't since it didn't 1998-10-17 11:02:39 +00:00
md5.c BIRD library: The story continues. 1998-05-03 16:43:39 +00:00
md5.h BIRD library: The story continues. 1998-05-03 16:43:39 +00:00
mempool.c Name cleanups as suggested by Pavel: 1998-12-06 11:59:18 +00:00
Modules Implemented deletion/insertion/asynchronous-walk lists. 1998-12-20 13:56:27 +00:00
patmatch.c Added function for shell-like pattern matching. Will be used for 1998-11-29 14:47:24 +00:00
printf.c Killed bug in processing of 'h' prefix. Patch taken from linux-2.1.129. 1998-11-21 10:25:34 +00:00
resource.c Resource pools are now named. 1998-05-26 21:37:37 +00:00
resource.h Name cleanups as suggested by Pavel: 1998-12-06 11:59:18 +00:00
slab.c Staticized some variables and functions. 1998-05-24 14:46:20 +00:00
slists.c Implemented deletion/insertion/asynchronous-walk lists. 1998-12-20 13:56:27 +00:00
slists.h Implemented deletion/insertion/asynchronous-walk lists. 1998-12-20 13:56:27 +00:00
socket.h Added few socket declarations. 1998-05-24 15:00:48 +00:00
string.h Added function for shell-like pattern matching. Will be used for 1998-11-29 14:47:24 +00:00
unaligned.h Added generic functions for unaligned data access. 1998-05-26 21:38:06 +00:00
xmalloc.c BIRD library: The story continues. 1998-05-03 16:43:39 +00:00