summaryrefslogtreecommitdiff
path: root/lib/resource.h
AgeCommit message (Collapse)Author
2013-09-16BFD work in progress.Ondrej Zajicek
Now it compiles and mostly works.
2010-06-02Implements command that shows memory usage.Ondrej Zajicek
2009-06-10Changes OSPF to generate stub networks for non-primary addresses.Ondrej Zajicek
Also does some reorganization in RT LSA announcement.
2004-05-31Added rmove() (by Andreas, tweaked by me).Martin Mares
2000-05-08Implemented debugging function rlookup() which you can call from gdbMartin Mares
to see what resource does the address given as a parameter belong to.
2000-03-29Avoid conflicts with libraries defining their own xmalloc by definingMartin Mares
xmalloc to bird_xmalloc internally.
1999-03-29Added lp_flush() which flushes contents of a linear pool, leaving all theMartin Mares
memory available for subsequent allocations from the same pool. Both flushing and re-using the memory costs just few instructions.
1999-03-04Use dmalloc instead of EFence when available (dmalloc has lot of improvementsMartin Mares
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' checks by default. Also introduced mb_allocz() for cleared mb_alloc().
1998-12-06Name cleanups as suggested by Pavel:Martin Mares
- 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.
1998-11-27Removed prototype of rp_free() since this function has never existed.Martin Mares
1998-05-26Resource pools are now named.Martin Mares
1998-05-03BIRD library: The story continues.Martin Mares
Complete resource manages and IP address handling.
1998-04-28Changed #include <x/y> to #include "x/y" for our local includes, so thatMartin Mares
gcc -MM can be used to separate them from the system ones. Added automatic generation of dependencies.
1998-04-22First look at data structures. More to come tomorrow...Martin Mares