Changes between Version 14 and Version 15 of FileCompression
- Timestamp:
- Nov 22, 2010, 9:38:39 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FileCompression
v14 v15 248 248 These basic routines may be useful if you want to compress/decompress a file using the zlib library (usually called "libz.a" and available for most platforms). Include the header file below (qcn_gzip.h) in your program, and link against libz, and you will gain two simple to use functions for gzip'ing or gunzip'ing a file. This is for simple single file or file-by-file compression or decompression (i.e. one file that is to be compressed into a .gz or decompressed back to it's original uncompressed state). You can check for boinc client status if you want the ability to quit inside an operation etc. 249 249 250 qcn_gzip.h: #qcn-qzip-h250 qcn_gzip.h: 251 251 252 252 {{{ … … 263 263 264 264 265 qcn_gzip.cpp: #qcn-qzip-cpp265 qcn_gzip.cpp: 266 266 267 267 {{{