lib/compression/lzxpress compression: use a write context struct
commitfb35cf29a426ee2cb0ee280e147627fd3e84a71d
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 17 Nov 2022 03:15:00 +0000 (17 16:15 +1300)
committerJoseph Sutton <jsutton@samba.org>
Thu, 1 Dec 2022 22:56:40 +0000 (1 22:56 +0000)
tree5f2d631a789d1179efd008e233a046317d29a2c9
parente4066b2be6d87cae130f40e3faf3a0c8815389f8
lib/compression/lzxpress compression: use a write context struct

This will make it possible to move encoding operations into helper
functions, which will make it easier to restructure the code to use a
hash table for faster matching.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
lib/compression/lzxpress.c