#ifndef __GZip_h_ #define __GZip_h_ // GZip is a thin wrapper on top of zlib. GZip is the most popular option // for http compression. Deflate is a well known option, but the standard // gets messed up a lot and it is not consistently implemented. According to // wikipedia. #include enum GZipOptions { gzoFastest, gzoNormal, gzoSmallest }; std::string gZipCompress(std::string input, GZipOptions options = gzoNormal); #endif