Changes between Version 14 and Version 15 of FileCompression


Ignore:
Timestamp:
Nov 22, 2010, 9:38:39 PM (14 years ago)
Author:
carlgt1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FileCompression

    v14 v15  
    248248These 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.
    249249
    250 qcn_gzip.h: #qcn-qzip-h
     250qcn_gzip.h:
    251251
    252252{{{
     
    263263
    264264
    265 qcn_gzip.cpp: #qcn-qzip-cpp
     265qcn_gzip.cpp:
    266266
    267267{{{