zstd/lib
2016-04-22 18:22:30 +02:00
..
common introduced ZSTD_NODECOMPRESS to link only compressor 2016-04-22 18:22:30 +02:00
compress introduced ZSTD_NOCOMPRESS to generate decompressor only 2016-04-22 13:59:05 +02:00
decompress introduced ZSTD_NODECOMPRESS to link only compressor 2016-04-22 18:22:30 +02:00
dictBuilder separation of lib/ into common/, compress/, decompress/, dictBuilder/, legacy/ 2016-04-22 12:43:18 +02:00
legacy separation of lib/ into common/, compress/, decompress/, dictBuilder/, legacy/ 2016-04-22 12:43:18 +02:00
libzstd.pc.in Initial release 2015-01-24 01:58:16 +01:00
LICENSE Initial release 2015-01-24 01:58:16 +01:00
Makefile Error functions moved to common/zstd_common.c 2016-04-22 17:14:25 +02:00
README.md separation of lib/ into common/, compress/, decompress/, dictBuilder/, legacy/ 2016-04-22 12:43:18 +02:00

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
  • huf.c
  • huf.h
  • huf_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)