summaryrefslogtreecommitdiff
path: root/src/reclaim-tail-waste.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-11-25 17:57:35 -0800
committerVito Caputo <vcaputo@pengaru.com>2020-11-25 17:57:35 -0800
commit7b15a68d12e2df7f45c4311d0281ff9a78693e81 (patch)
tree79a9e097888e3458366e5dbf68895036007878d1 /src/reclaim-tail-waste.c
parent9ab253b33805bb7416e458992ffed73e9883a52b (diff)
upstream: import some hacked systemd headers
This brings journal-file data structures and byte swapping helpers I may as well just reuse. I've had to do some minor messing about to make things workable in isolation out of the systemd tree without pulling in too much. I've also added a new HashedObjectHeader type to encompass the slightly larger common header components of FieldObject and DataObject to facilitate a generic hash table iterator that can operate on just loading HashedObjectHeader when nothing more than the object size is needed for accounting. Basically the HashedObjectHeader is ObjectHeader+hash+next_hash_offset.
Diffstat (limited to 'src/reclaim-tail-waste.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved