summaryrefslogtreecommitdiff
path: root/src/journals.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-11-29 14:36:05 -0800
committerVito Caputo <vcaputo@pengaru.com>2020-11-29 14:39:34 -0800
commit99fa79945cdf5947bc9d12e3f506aa4cfb78cdce (patch)
treeb738b3d140c12d0f1fca83248e85e61b1ac9aec6 /src/journals.h
parent355b801603593f599269d46757d2115d113f6517 (diff)
journals: s/journal_for_each/journal_iter_objects/
Make naming a bit more descriptive and consistent... journals_for_each() is a simple non-IO-incurring journals array iteration, journal_for_each() generates IO and walks the data objects hash table... they're quite different, and shouldn't have such similar names.
Diffstat (limited to 'src/journals.h')
-rw-r--r--src/journals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journals.h b/src/journals.h
index 1cbe660..b0fbfe2 100644
--- a/src/journals.h
+++ b/src/journals.h
@@ -26,7 +26,7 @@ THUNK_DECLARE(journals_open, iou_t *, iou, char **, machid, int, flags, journals
THUNK_DECLARE(journal_get_header, iou_t *, iou, journal_t **, journal, Header *, header, thunk_t *, closure);
THUNK_DECLARE(journal_iter_next_object, iou_t *, iou, journal_t **, journal, Header *, header, uint64_t *, iter_offset, ObjectHeader *, iter_object_header, thunk_t *, closure);
-THUNK_DECLARE(journal_for_each, iou_t *, iou, journal_t **, journal, Header *, header, uint64_t *, iter_offset, ObjectHeader *, iter_object_header, thunk_t *, closure);
+THUNK_DECLARE(journal_iter_objects, iou_t *, iou, journal_t **, journal, Header *, header, uint64_t *, iter_offset, ObjectHeader *, iter_object_header, thunk_t *, closure);
THUNK_DECLARE(journal_get_hash_table, iou_t *, iou, journal_t **, journal, uint64_t *, hash_table_offset, uint64_t *, hash_table_size, HashItem **, res_hash_table, thunk_t *, closure);
THUNK_DECLARE(journal_hash_table_iter_next_object, iou_t *, iou, journal_t **, journal, HashItem **, hash_table, uint64_t *, hash_table_size, uint64_t *, iter_bucket, uint64_t *, iter_offset, HashedObjectHeader *, iter_object_header, size_t, iter_object_size, thunk_t *, closure);
© All Rights Reserved