Changes between Version 13 and Version 14 of FileCompression


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

--

Legend:

Unmodified
Added
Removed
Modified
  • FileCompression

    v13 v14  
    220220described above).
    221221
    222 === Getting boinc_zip ===
     222=== Getting boinc_zip === #boinc-zip-getting
    223223
    224224boinc_zip is no longer in the main boinc subversion "trunk" but resides in this "depends" brance:
     
    243243}}}
    244244
     245
    245246== Client and Server Compression and Decompression using gzip (zlib) == #gzip
    246247
    247248These 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.
    248249
    249 qcn_gzip.h:
     250qcn_gzip.h: #qcn-qzip-h
    250251
    251252{{{
     
    262263
    263264
    264 qcn_gzip.cpp:
     265qcn_gzip.cpp: #qcn-qzip-cpp
    265266
    266267{{{