Search code examples
c++includelzf

Files needed to include when using liblzf


i want to use liblzf in my application that is written in c++

The description on the site says that It only uses 2 .c and 2 .h files but the tar.gz file contains 3 .h and 3 .c files. Can anyone tell me what should I only include in my application?


Solution

  • lzf_c.c for compression, lzf_d.c for decompression. You don't need lzf.c which seems to be a testing harness. I suspect you have some tweaking to do to get it working with C++.