flate

deflate implementation
git clone git://git.suckless.org/flate
Log | Files | Refs | README

commit b598e8d90d3680b89058f1bdc63ff598461091af
parent 19f6bb4724641e60bd8f633ae3bd5a794b135ee2
Author: nsz <nszabolcs@gmail.com>
Date:   Fri, 21 Aug 2009 15:47:57 +0200

doc update
Diffstat:
README | 23+++++++++++++++++++----
sflate.c | 2+-
2 files changed, 20 insertions(+), 5 deletions(-)

diff --git a/README b/README @@ -13,7 +13,22 @@ based on: build: make -features: - deflate: raw deflate compression - inflate: decode raw deflate compressed data - inflate_simple: minimal inflate +usage: + sflate [-q|-v] [-c|-d] [-r|-g|-z|-p] <in >out + + -q quiet (default) + -v verbose + -c compress (default) + -d decompress + -r raw (default) + -g gzip + -z zlib + -p pkzip + +files: + adler.c: adler32 chechksum + crc.c: crc32 checksum + deflate.c: raw deflate compression + inflate.c: raw deflate decompression + inflate_simple.c: minimal inflate implementation for reference + sflate.c: deflate, zlib, gzip stream compression diff --git a/sflate.c b/sflate.c @@ -300,7 +300,7 @@ int main(int argc, char *argv[]) { continue; } fprintf(stderr, "usage: %s [-q|-v] [-c|-d] [-r|-g|-z|-p]\n\n" - "deflate stream compression" + "deflate stream compression\n" " -q quiet (default)\n" " -v verbose\n" " -c compress (default)\n"