VirtualBox

Changeset 50205 in vbox for trunk/include


Ignore:
Timestamp:
Jan 24, 2014 12:49:04 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
91776
Message:

tar.cpp: Drop the TAR file reading code.

Location:
trunk/include/iprt
Files:
2 edited

Legend:

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

    r50194 r50205  
    14971497# define RTSystemShutdown                               RT_MANGLER(RTSystemShutdown)
    14981498# define RTTarClose                                     RT_MANGLER(RTTarClose)
    1499 # define RTTarCurrentFile                               RT_MANGLER(RTTarCurrentFile)
    15001499# define RTTarFileClose                                 RT_MANGLER(RTTarFileClose)
    15011500# define RTTarFileGetSize                               RT_MANGLER(RTTarFileGetSize)
    15021501# define RTTarFileOpen                                  RT_MANGLER(RTTarFileOpen)
    1503 # define RTTarFileOpenCurrentFile                       RT_MANGLER(RTTarFileOpenCurrentFile)
    15041502# define RTTarFileReadAt                                RT_MANGLER(RTTarFileReadAt)
    15051503# define RTTarFileSetSize                               RT_MANGLER(RTTarFileSetSize)
    15061504# define RTTarFileWriteAt                               RT_MANGLER(RTTarFileWriteAt)
    15071505# define RTTarOpen                                      RT_MANGLER(RTTarOpen)
    1508 # define RTTarSeekNextFile                              RT_MANGLER(RTTarSeekNextFile)
    15091506# define RTTcpClientCancelConnect                       RT_MANGLER(RTTcpClientCancelConnect)
    15101507# define RTTcpClientClose                               RT_MANGLER(RTTcpClientClose)
  • trunk/include/iprt/tar.h

    r50194 r50205  
    6161
    6262/**
    63  * Opens a Tar archive.
     63 * Creates a Tar archive.
    6464 *
    65  * Use the mask to specify the access type. In create mode the target file
    66  * have not to exists.
     65 * Use the mask to specify the access type.
    6766 *
    6867 * @returns IPRT status code.
    6968 *
    7069 * @param   phTar          Where to store the RTTAR handle.
    71  * @param   pszTarname     The file name of the tar archive to open.
     70 * @param   pszTarname     The file name of the tar archive to create.  Should
     71 *                         not exist.
    7272 * @param   fMode          Open flags, i.e a combination of the RTFILE_O_* defines.
    7373 *                         The ACCESS, ACTION and DENY flags are mandatory!
    74  * @param   fStream        Open the file in stream mode. Within this mode no
    75  *                         seeking is allowed. Use this together with
    76  *                         RTTarFileCurrent, RTTarFileOpenCurrent,
    77  *                         RTTarFileSeekNextFile and the read method to
    78  *                         sequential read a tar file. Currently ignored with
    79  *                         RTFILE_O_WRITE.
    8074 */
    81 RTR3DECL(int) RTTarOpen(PRTTAR phTar, const char *pszTarname, uint32_t fMode, bool fStream);
     75RTR3DECL(int) RTTarOpen(PRTTAR phTar, const char *pszTarname, uint32_t fMode);
    8276
    8377/**
     
    8983 */
    9084RTR3DECL(int) RTTarClose(RTTAR hTar);
    91 
    92 /**
    93  * Jumps to the next file from the current RTTar position.
    94  *
    95  * @returns IPRT status code.
    96  *
    97  * @param   hTar           Handle to the RTTAR interface.
    98  */
    99 RTR3DECL(int) RTTarSeekNextFile(RTTAR hTar);
    100 
    101 /**
    102  * Return the filename where RTTar currently stays at.
    103  *
    104  * @returns IPRT status code.
    105  *
    106  * @param   hTar           Handle to the RTTAR interface.
    107  * @param   ppszFilename   On success the filename.
    108  */
    109 RTR3DECL(int) RTTarCurrentFile(RTTAR hTar, char **ppszFilename);
    110 
    111 /**
    112  * Opens the file where RTTar currently stays at.
    113  *
    114  * The current file can only be opened once.  The next call will open the next
    115  * file, implicitly calling RTTarSeekNextFile().
    116  *
    117  * @returns IPRT status code.
    118  *
    119  * @param   hTar           Handle to the RTTAR interface.
    120  * @param   phFile         Where to store the handle to the opened file.
    121  * @param   ppszFilename   On success the filename.
    122  * @param   fOpen          Open flags, i.e a combination of the RTFILE_O_* defines.
    123  *                         The ACCESS, ACTION flags are mandatory! Currently
    124  *                         only RTFILE_O_OPEN | RTFILE_O_READ is supported.
    125  */
    126 RTR3DECL(int) RTTarFileOpenCurrentFile(RTTAR hTar, PRTTARFILE phFile, char **ppszFilename, uint32_t fOpen);
    12785
    12886/**
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