summaryrefslogtreecommitdiffstats
path: root/src/llist.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-04-14 15:23:37 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-04-19 11:42:33 +0200
commit612204a60a632db1e411738bb988d80d4f7772b4 (patch)
tree6d83abb902d4ddba1e43c1e52ef493e4589130fe /src/llist.c
parent0eb1da8dd7fa3ae9d95e12df6058fb41a5ec1c11 (diff)
downloadcalcurse-612204a60a632db1e411738bb988d80d4f7772b4.tar.gz
calcurse-612204a60a632db1e411738bb988d80d4f7772b4.zip
Add macros for linked list operations.
Mostly in preparation to the pending thread-safe list macros. This way, we have a similar interface to thead-safe and non-thread-safe lists. This also adds LLIST_FOREACH and LLIST_FIND_FOREACH macros which can be used as shortcuts when iterating over all list items or a subset of list items that is accepted by a callback function. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/llist.c')
0 files changed, 0 insertions, 0 deletions