Statistics
| Branch: | Revision:

iof-bird-daemon / lib / resource.h @ 5cc1e1f8

History | View | Annotate | Download (2.39 KB)

# Date Author Comment
c9763428 05/08/2000 10:33 PM Martin Mares

Implemented debugging function rlookup() which you can call from gdb
to see what resource does the address given as a parameter belong to.

3ee2310c 03/29/2000 10:57 PM Martin Mares

Avoid conflicts with libraries defining their own xmalloc by defining
xmalloc to bird_xmalloc internally.

f5c687f7 03/29/1999 07:35 PM Martin Mares

Added lp_flush() which flushes contents of a linear pool, leaving all the
memory available for subsequent allocations from the same pool. Both flushing
and re-using the memory costs just few instructions.

7a2105be 03/04/1999 11:36 AM Martin Mares

Use dmalloc instead of EFence when available (dmalloc has lot of improvements
over EFence and also hopefully smaller memory overhead, but sadly it's non-free
for commercial use).

If the DMALLOC_OPTIONS environment variable is not set, switch on `reasonable'...

b35d72ac 12/06/1998 11:59 AM Martin Mares

Name cleanups as suggested by Pavel:

- cfg_strcpy() > cfg_strdup()
mempool -> linpool, mp_* -> lp_* [to avoid confusion with memblock, mb_*]

Anyway, it might be better to stop ranting about names and do some real work.

a3afae58 11/27/1998 07:29 PM Martin Mares

Removed prototype of rp_free() since this function has never existed.

ed68a5c6 05/26/1998 09:37 PM Martin Mares

Resource pools are now named.

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

BIRD library: The story continues.

Complete resource manages and IP address handling.

1feea03e 04/28/1998 02:39 PM Martin Mares

Changed #include <x/y> to #include "x/y" for our local includes, so that
gcc -MM can be used to separate them from the system ones.

Added automatic generation of dependencies.

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

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