summaryrefslogtreecommitdiff
path: root/src/upstream/sd-id128.h
AgeCommit message (Collapse)Author
2020-11-25upstream: import some hacked systemd headersVito Caputo
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.
© All Rights Reserved