0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-08 12:18:42 +00:00
bird/lib
Martin Mares e8f73195fa Added simple event scheduling system to avoid recursive calling
of various callbacks.

Events are just another resource type objects (thus automatically freed
and unlinked when the protocol using them shuts down). Each event can
be linked in at most one event list. For most purposes, just use the
global event list handled by the following functions:

	ev_schedule	Schedule event to be called at the next event
			scheduling point. If the event was already
			scheduled, it's just re-linked to the end of the list.
	ev_postpone	Postpone an already scheduled event, so that it
			won't get called. Postponed events can be scheduled
			again by ev_schedule().

You can also create custom event lists to build your own synchronization
primitives. Just use:

	ev_init_list	to initialize an event list
	ev_enqueue	to schedule event on specified event list
	ev_postpone	works as well for custom lists
	ev_run_list	to run all events on your custom list
	ev_run		to run a specific event and dequeue it
1999-02-11 21:18:26 +00:00
..
birdlib.h Added several parentheses to MIN/MAX macros. 1999-02-05 21:29:19 +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 Replaced the old ugly ipv6 compilation hack by a conditional in Modules. 1999-01-23 21:08:59 +00:00
ipv6.h Replaced the old ugly ipv6 compilation hack by a conditional in Modules. 1999-01-23 21:08:59 +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 Added simple event scheduling system to avoid recursive calling 1999-02-11 21:18:26 +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