VirtualBox

Changeset 84203 in vbox for trunk/include


Ignore:
Timestamp:
May 8, 2020 11:28:35 AM (5 years ago)
Author:
vboxsync
Message:

IPRT: Adding RTZIPTAR_C_UPDATE, RTZipTarFsStreamForFile and RTZipTarFsStreamTruncate. Also added some new VFS functions and changed the fReadOnly argument of RTVfsNewFsStream into RTFILE_O_ACCESS_MASK, so it is possible to specify read+write. Untested. bugref:9699

File:
1 edited

Legend:

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

    r84192 r84203  
    311311 *                              another one is retained.
    312312 * @param   enmFormat           The desired output format.
    313  * @param   fFlags              RTZIPTAR_C_XXX.
     313 * @param   fFlags              RTZIPTAR_C_XXX, except RTZIPTAR_C_UPDATE.
    314314 * @param   phVfsFss            Where to return the handle to the TAR
    315315 *                              filesystem stream.
     
    331331
    332332/**
     333 * Opens a TAR filesystem stream for the purpose of create a new TAR archive or
     334 * updating an existing one.
     335 *
     336 * @returns IPRT status code.
     337 *
     338 * @param   hVfsFileOut         The TAR file handle, i.e. where the tar stuff is
     339 *                              written and optionally read/update.  The
     340 *                              reference is not consumed, instead another one
     341 *                              is retained.
     342 * @param   enmFormat           The desired output format.
     343 * @param   fFlags              RTZIPTAR_C_XXX.
     344 * @param   phVfsFss            Where to return the handle to the TAR
     345 *                              filesystem stream.
     346 */
     347RTDECL(int) RTZipTarFsStreamForFile(RTVFSFILE hVfsFile, RTZIPTARFORMAT enmFormat, uint32_t fFlags, PRTVFSFSSTREAM phVfsFss);
     348
     349/**
    333350 * Set the owner to store the archive entries with.
    334351 *
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