Changeset 50205 in vbox for trunk/include
- Timestamp:
- Jan 24, 2014 12:49:04 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 91776
- Location:
- trunk/include/iprt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/mangling.h
r50194 r50205 1497 1497 # define RTSystemShutdown RT_MANGLER(RTSystemShutdown) 1498 1498 # define RTTarClose RT_MANGLER(RTTarClose) 1499 # define RTTarCurrentFile RT_MANGLER(RTTarCurrentFile)1500 1499 # define RTTarFileClose RT_MANGLER(RTTarFileClose) 1501 1500 # define RTTarFileGetSize RT_MANGLER(RTTarFileGetSize) 1502 1501 # define RTTarFileOpen RT_MANGLER(RTTarFileOpen) 1503 # define RTTarFileOpenCurrentFile RT_MANGLER(RTTarFileOpenCurrentFile)1504 1502 # define RTTarFileReadAt RT_MANGLER(RTTarFileReadAt) 1505 1503 # define RTTarFileSetSize RT_MANGLER(RTTarFileSetSize) 1506 1504 # define RTTarFileWriteAt RT_MANGLER(RTTarFileWriteAt) 1507 1505 # define RTTarOpen RT_MANGLER(RTTarOpen) 1508 # define RTTarSeekNextFile RT_MANGLER(RTTarSeekNextFile)1509 1506 # define RTTcpClientCancelConnect RT_MANGLER(RTTcpClientCancelConnect) 1510 1507 # define RTTcpClientClose RT_MANGLER(RTTcpClientClose) -
trunk/include/iprt/tar.h
r50194 r50205 61 61 62 62 /** 63 * Opens a Tar archive.63 * Creates a Tar archive. 64 64 * 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. 67 66 * 68 67 * @returns IPRT status code. 69 68 * 70 69 * @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. 72 72 * @param fMode Open flags, i.e a combination of the RTFILE_O_* defines. 73 73 * The ACCESS, ACTION and DENY flags are mandatory! 74 * @param fStream Open the file in stream mode. Within this mode no75 * seeking is allowed. Use this together with76 * RTTarFileCurrent, RTTarFileOpenCurrent,77 * RTTarFileSeekNextFile and the read method to78 * sequential read a tar file. Currently ignored with79 * RTFILE_O_WRITE.80 74 */ 81 RTR3DECL(int) RTTarOpen(PRTTAR phTar, const char *pszTarname, uint32_t fMode , bool fStream);75 RTR3DECL(int) RTTarOpen(PRTTAR phTar, const char *pszTarname, uint32_t fMode); 82 76 83 77 /** … … 89 83 */ 90 84 RTR3DECL(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 next115 * 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! Currently124 * only RTFILE_O_OPEN | RTFILE_O_READ is supported.125 */126 RTR3DECL(int) RTTarFileOpenCurrentFile(RTTAR hTar, PRTTARFILE phFile, char **ppszFilename, uint32_t fOpen);127 85 128 86 /**
Note:
See TracChangeset
for help on using the changeset viewer.