summaryrefslogtreecommitdiff
path: root/src/test/test-compress.c
Commit message (Collapse)AuthorAgeFilesLines
* compress: replace compress_blob() with compress_blob_explicit()Yu Watanabe2023-04-111-22/+14
| | | | | | | And make compress_xyz() return 0 on success, as we know which compression algorithm is used when calling compress_blob(). Follow-up for 2360352ef02548723ac0c8eaf5ff6905eb9eeca5.
* tree-wide: use -EBADF moreYu Watanabe2022-12-211-1/+1
|
* basic: move compress.[ch] → src/basic/Lennart Poettering2022-04-261-0/+382
The compression helpers are used both in journal code and in coredump code, and there's a good chance we'll use them later for other stuff. Let's hence move them into src/basic/, to make them a proper internal API we can use from everywhere where that's desirable. (pstore might be a candidate, for example) No real code changes, just some moving around, build system rearrangements, and stripping of journal-def.h inclusion.