VirtualBox

Changeset 34045 in vbox for trunk/include


Ignore:
Timestamp:
Nov 12, 2010 7:16:09 PM (14 years ago)
Author:
vboxsync
Message:

iprt: more tar code and vfs filesystem stream bugfixes.

Location:
trunk/include/iprt
Files:
2 edited

Legend:

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

    r34002 r34045  
    12961296/** The tar file ended unexpectedly. */
    12971297#define VERR_TAR_UNEXPECTED_EOS                 (-927)
     1298/** The tar termination records was encountered without reaching the end of
     1299  * the input stream. */
     1300#define VERR_TAR_EOS_MORE_INPUT                 (-928)
    12981301/** @} */
    12991302
  • trunk/include/iprt/zip.h

    r33973 r34045  
    230230RTDECL(int) RTZipGzipDecompressIoStream(RTVFSIOSTREAM hVfsIosIn, uint32_t fFlags, PRTVFSIOSTREAM phVfsIosOut);
    231231
     232/**
     233 * Opens a TAR filesystem stream.
     234 *
     235 * This is used to extract, list or check a TAR archive.
     236 *
     237 * @returns IPRT status code.
     238 *
     239 * @param   hVfsIosIn           The compressed input stream.  The reference is
     240 *                              not consumed, instead another one is retained.
     241 * @param   fFlags              Flags, MBZ.
     242 * @param   phVfsFss            Where to return the handle to the TAR
     243 *                              filesystem stream.
     244 */
     245RTDECL(int) RTZipTarFsStreamFromIoStream(RTVFSIOSTREAM hVfsIosIn, uint32_t fFlags, PRTVFSFSSTREAM phVfsFss);
     246
     247/**
     248 * A mini TAR program.
     249 *
     250 * @returns Program exit code.
     251 *
     252 * @param   cArgs               The number of arguments.
     253 * @param   papszArgs           The argument vector.  (Note that this may be
     254 *                              reordered, so the memory must be writable.)
     255 */
     256RTDECL(RTEXITCODE) RTZipTarCmd(unsigned cArgs, char **papszArgs);
     257
    232258/** @} */
    233259
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