tree: d5133c71dec031a7f1922d2247a2e69251b3e18c [path history] [tgz]
  1. .debug/
  2. legacy/
  3. bitstream.h
  4. divsufsort.c
  5. divsufsort.h
  6. error_private.h
  7. error_public.h
  8. fse.c
  9. fse.h
  10. fse_static.h
  11. huff0.c
  12. huff0.h
  13. huff0_static.h
  14. libzstd.pc.in
  15. LICENSE
  16. Makefile
  17. mem.h
  18. README.md
  19. zbuff.c
  20. zbuff.h
  21. zbuff_static.h
  22. zdict.c
  23. zdict.h
  24. zdict_static.h
  25. zstd.h
  26. zstd_compress.c
  27. zstd_decompress.c
  28. zstd_internal.h
  29. zstd_opt.h
  30. zstd_static.h
lib/README.md

zstd - library files

The lib directory contains several files, but depending on target use case, some of them may not be necessary.

Minimal library files

Shared ressources
zstd core compression

Stable API is exposed in zstd.h. Advanced and experimental API is exposed in zstd_static.h. zstd_static.h API elements should be used with static linking only, as their definition may change in future version of the library.

  • bitstream.h
  • fse.c
  • fse.h
  • fse_static.h
  • huff0.c
  • huff0.h
  • huff0_static.h
  • zstd_compress.c
  • zstd_decompress.c
  • zstd_internal.h
  • zstd_opt.h
  • zstd.h
  • zstd_static.h

Buffered streaming

This complementary API makes streaming integration easier. It is used by zstd command line utility, and 7zip plugin :

  • zbuff.c
  • zbuff.h
  • zbuff_static.h

Dictionary builder

To create dictionaries from training sets :

  • divsufsort.c
  • divsufsort.h
  • zdict.c
  • zdict.h
  • zdict_static.h

Miscellaneous

The other files are not source code. There are :

  • LICENSE : contains the BSD license text
  • Makefile : script to compile or install zstd library (static or dynamic)
  • libzstd.pc.in : for pkg-config (make install)