VirtualBox

Changeset 47359 in vbox for trunk/include/iprt/zip.h


Ignore:
Timestamp:
Jul 24, 2013 12:45:47 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
87505
Message:

IPRT: Added compression to the gzip VFS I/O stream class (RTZipGzipCompressIoStream) and implemented compression in the RTGzip example tool (testcase\RTGzip.exe).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/zip.h

    r47343 r47359  
    221221 * @returns IPRT status code.
    222222 *
    223  * @param   hVfsIosIn           The compressed input stream.  The reference is
    224  *                              not consumed, instead another one is retained.
     223 * @param   hVfsIosIn           The compressed input stream (must be readable).
     224 *                              The reference is not consumed, instead another
     225 *                              one is retained.
    225226 * @param   fFlags              Flags, MBZ.
    226  * @param   phVfsIosOut         Where to return the handle to the gzip I/O
    227  *                              stream.
    228  */
    229 RTDECL(int) RTZipGzipDecompressIoStream(RTVFSIOSTREAM hVfsIosIn, uint32_t fFlags, PRTVFSIOSTREAM phVfsIosOut);
     227 * @param   phVfsIosGunzip      Where to return the handle to the gunzipped I/O
     228 *                              stream (read).
     229 */
     230RTDECL(int) RTZipGzipDecompressIoStream(RTVFSIOSTREAM hVfsIosIn, uint32_t fFlags, PRTVFSIOSTREAM phVfsIosGunzip);
     231
     232/**
     233 * Opens a gzip decompression I/O stream.
     234 *
     235 * @returns IPRT status code.
     236 *
     237 * @param   hVfsIosDst          The compressed output stream (must be writable).
     238 *                              The reference is not consumed, instead another
     239 *                              one is retained.
     240 * @param   fFlags              Flags, MBZ.
     241 * @param   uLevel              The gzip compression level, 1 thru 9.
     242 * @param   phVfsIosGzip        Where to return the gzip input I/O stream handle
     243 *                              (you write to this).
     244 */
     245RTDECL(int) RTZipGzipCompressIoStream(RTVFSIOSTREAM hVfsIosDst, uint32_t fFlags, uint8_t uLevel, PRTVFSIOSTREAM phVfsIosGzip);
    230246
    231247/**
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette