aboutsummaryrefslogtreecommitdiffstats
path: root/src/io.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-10-04 09:59:47 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-10-05 12:25:48 +0200
commit9c1cbbdb229978f6a6686ae31cbb401174fd7e93 (patch)
tree6e5d2b5b5f04634a0ae584d5128c2bf72465fe44 /src/io.c
parent1fa9564916ea9cd92622b5a549693d23fbf35bcb (diff)
downloadcalcurse-9c1cbbdb229978f6a6686ae31cbb401174fd7e93.tar.gz
calcurse-9c1cbbdb229978f6a6686ae31cbb401174fd7e93.zip
src/llist.h: Add LLIST_{,TS}_FIND_FOREACH_CONT
In contrast to LLIST_{,TS}_FIND_FOREACH, these convenience macros search for the first match and return successors until there is an item that isn't matched by the filter callback. Any items beyond the first cut-off are discarded. Should be used when results are known to be continuous, such as appointments and events belonging to a specific day etc. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/io.c')
0 files changed, 0 insertions, 0 deletions