VirtualBox

Changeset 51714 in vbox


Ignore:
Timestamp:
Jun 24, 2014 4:25:10 PM (11 years ago)
Author:
vboxsync
Message:

Runtime: added RTZipPkzipMemDecompress()

Location:
trunk
Files:
1 added
2 edited

Legend:

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

    r51710 r51714  
    307307
    308308/**
     309 * Helper for decompressing files of a ZIP file located in memory.
     310 *
     311 * @returns IPRT status code.
     312 *
     313 * @param   ppvDst              Where to store the pointer to the allocated
     314 *                              buffer. To be freed with RTMemFree().
     315 * @param   pcbDst              Where to store the pointer to the size of the
     316 *                              allocated buffer.
     317 * @param   pvSrc               Pointer to the buffer containing the .zip file.
     318 * @param   cbSrc               Size of the buffer containing the .zip file.
     319 * @param   pszObject           Name of the object to extract.
     320 */
     321RTDECL(int) RTZipPkzipMemDecompress(void **ppvDst, size_t *pcbDst, void *pvSrc, size_t cbSrc, const char *pszObject);
     322
     323/**
    309324 * Opens a XAR filesystem stream.
    310325 *
  • trunk/src/VBox/Runtime/Makefile.kmk

    r51696 r51714  
    467467        common/zip/tarvfs.cpp \
    468468        common/zip/gzipvfs.cpp \
     469        common/zip/pkzip.cpp \
    469470        common/zip/pkzipvfs.cpp \
    470471        common/zip/zip.cpp \
Note: See TracChangeset for help on using the changeset viewer.

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