| Branch: | Revision:

iof-bird-daemon / lib / birdlib.h @ 0e6eef62

History | View | Annotate | Download (1.67 KB)

# Date Author Comment
d93fb7e6 05/31/2004 01:58 PM Ondrej Filip

#ifndef ALIGN - it is defined on *BSD

47f18ac3 11/13/2002 08:47 AM Martin Mares

ABS should be a macro.

27e993fb 02/20/2001 09:49 AM Martin Mares

Fixed duplicity in log category numbering.

Thanks to Zheng Yuan for spotting this.

77506349 04/12/2000 01:21 PM Martin Mares

Introduced `ARRAY_SIZE' macro to replace all the sizeof(a)/sizeof(*a) constructs.

e68dd11c 03/12/2000 09:47 PM Martin Mares

Use do { } while(0) instead of empty DBG if not debugging.

3cbfcafe 03/07/2000 09:04 PM Martin Mares

DBG calls debug() if defined(LOCAL_DEBUG) || defined(GLOBAL_DEBUG).

a0c37b45 12/06/1999 01:45 PM Martin Mares

Logging is now configurable. You can define multiple log outputs (to both
files and syslog) and assign lists of message categories to each of them.

f6519414 08/17/1999 08:47 PM Martin Mares

Added a function for generating 32-bit random numbers.

61340248 03/29/1999 07:13 PM Martin Mares

#define NULL if not defined by system includes.

c4c63eec 02/05/1999 09:29 PM Martin Mares

Added several parentheses to MIN/MAX macros.

98e87c86 12/20/1998 02:24 PM Martin Mares

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. */...

1be52eea 07/10/1998 08:39 AM Martin Mares

Removed format specification attributes for log() and debug() until
GCC is fixed to handle custom formats.

cf3527e2 07/09/1998 07:36 PM Pavel Machek

Adding MIN/MAX macros

5222c46c 05/26/1998 09:36 PM Martin Mares

DBG now calls debug() instead of sending it to log().

25697773 05/15/1998 07:56 AM Martin Mares

The library is now glued together from generic and OS-dependent parts
by the `mergedirs' script. Few more IP address manipulation functions
and some fixes.

18c8241a 05/03/1998 04:43 PM Martin Mares

BIRD library: The story continues.

Complete resource manages and IP address handling.

c40e05a0 04/23/1998 02:01 PM Martin Mares

Added IP address manipulation macros, interface declarations and logging.

58ef912c 04/22/1998 12:58 PM Martin Mares

First look at data structures. More to come tomorrow...