libdpkg: Switch dpkg_lzma_strerror() to use struct io_lzma
commit785a3f36a6748fbe8c6f9ecbf5e1db5c1e901bac
authorGuillem Jover <guillem@debian.org>
Mon, 9 Jan 2023 00:39:52 +0000 (9 01:39 +0100)
committerGuillem Jover <guillem@debian.org>
Tue, 10 Jan 2023 04:35:33 +0000 (10 05:35 +0100)
tree226dd5df4d71d8b7ee027fdbd76aa238bd56f859
parent75d0fbec710d21965cb0d2c05bd43b26ca47842b
libdpkg: Switch dpkg_lzma_strerror() to use struct io_lzma

Instead of passing the dpkg_stream_action enum, pass the io_lzma struct,
so that we can use other members if needed.
lib/dpkg/compress.c