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

  • 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)