| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Allow publishing the code under GPL version 2 or later. Before that, we
only allowed to use version 2.
|
|
|
|
|
|
|
| |
The CHECK_NEXT() macro behaves exactly as the CHECK() macro, with the
difference that it jumps to the 'next' label. This is useful if we need
to cleanup after every loop cycle, but don't want to abort the whole
function if error is found.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The FOR_EACH() macro will simply traverse the given list. Usage:
FOR_EACH(element, list)
do_something(element);
The FOR_EACH_UNLINK() macro will traverse the list and unlink each
element. Useful when destroying a whole list. Usage:
FOR_EACH_UNLINK(element, list) {
destroy(&element);
} END_FOR_EACH_UNLINK(element);
All these macros assume that 'link' is used to connect list elements, as
used in standard ISC list macros.
|
|
All source files are now moved to src/ and the old Makefile is removed.
|