summaryrefslogtreecommitdiff
path: root/nest/cmds.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-06-29 13:22:40 +0200
committerMaria Matejka <mq@ucw.cz>2022-07-11 16:07:09 +0200
commitd5e3272f3d9b1bad7ceb6d0d5897a7269e28a537 (patch)
tree8cfcb620ea6a8209046dc9beb6857881297f58fa /nest/cmds.h
parentb06911f6ef1b4cd3f7ea541b062187e80a934dd8 (diff)
Hash: iterable now per partes by an iterator
It's now possible to pause iteration through hash. This requires struct hash_iterator to be allocated somewhere handy. The iteration itself is surrounded by HASH_WALK_ITER and HASH_WALK_ITER_END. Call HASH_WALK_ITER_PUT to ask for pausing; it may still do some more iterations until it comes to a suitable pausing point. The iterator must be initalized to an empty structure. No cleanup is needed if iteration is abandoned inbetween.
Diffstat (limited to 'nest/cmds.h')
0 files changed, 0 insertions, 0 deletions