libdpkg: Generalize compression stream action handling
commit64e1d8cbf74f751f340cea25c45c7e6d0c5d7765
authorGuillem Jover <guillem@debian.org>
Sun, 8 Jan 2023 23:51:31 +0000 (9 00:51 +0100)
committerGuillem Jover <guillem@debian.org>
Tue, 10 Jan 2023 04:35:33 +0000 (10 05:35 +0100)
tree48c0fede3e0d4141a751cebe4101db996ceaf32f
parent02f30a5323bab224292dadb2a79319133997cc21
libdpkg: Generalize compression stream action handling

Stop handling the xz/lzma actions using the liblzma specific actions,
and use a generic enum, renamed from the old dpkg_stream_status, which
was in fact partially handling the action. This will make it easier in
the future to use the same action for all compressors.
lib/dpkg/compress.c