VirtualBox

Changeset 47500 in vbox for trunk/include


Ignore:
Timestamp:
Aug 1, 2013 6:01:14 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
87679
Message:

pr6022. Second variant of support GZIP files for OVA appliance.

Location:
trunk/include/iprt
Files:
2 edited

Legend:

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

    r47359 r47500  
    18611861# define RTZipDecompDestroy                             RT_MANGLER(RTZipDecompDestroy)
    18621862# define RTZipDecompress                                RT_MANGLER(RTZipDecompress)
     1863# define RTZipGzipFileBufferDecompress                  RT_MANGLER(RTZipGzipFileBufferDecompress)
    18631864# define RTZipGzipCompressIoStream                      RT_MANGLER(RTZipGzipCompressIoStream)
    18641865# define RTZipGzipDecompressIoStream                    RT_MANGLER(RTZipGzipDecompressIoStream)
    18651866# define RTZipTarCmd                                    RT_MANGLER(RTZipTarCmd)
    18661867# define RTZipTarFsStreamFromIoStream                   RT_MANGLER(RTZipTarFsStreamFromIoStream)
     1868
    18671869/*
    18681870 * Stable variables (alphabetical order):
  • trunk/include/iprt/zip.h

    r47359 r47500  
    170170
    171171/**
     172 * Decompresses a chunk of Gzip file.
     173 *
     174 * @returns iprt status code.
     175 * @param   pZip        The stream decompressor instance.
     176 * @param   pvBufIn     Where to read the compressed data from.
     177 * @param   cbBufIn     Number of bytes to read.
     178 * @param   pcbRead     Number of bytes actually read from the
     179 *                      buffer
     180 * @param   pvBufOut    Where to store the decompressed data.
     181 * @param   cbBufOut    Number of bytes to produce.
     182 * @param   pcbWritten  Number of bytes actually written to the
     183 *                      buffer.
     184 */
     185RTDECL(int)     RTZipGzipFileBufferDecompress(PRTZIPDECOMP pZip,
     186                                              void *pvBufIn,
     187                                              size_t cbBufIn,
     188                                              size_t *pcbRead,
     189                                              void *pvBufOut,
     190                                              size_t cbBufOut,
     191                                              size_t *pcbWritten);
     192
     193/**
    172194 * Destroys the stream decompressor instance.
    173195 *
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