Changeset 33859 in vbox for trunk/include/iprt/vfs.h
- Timestamp:
- Nov 8, 2010 4:15:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/vfs.h
r33822 r33859 120 120 char *pszMountPoint, size_t cbMountPoint); 121 121 122 122 123 /** @defgroup grp_vfs_dir VFS Directory API 123 124 * @{ 124 125 */ 126 127 /** 128 * Retains a reference to the VFS directory handle. 129 * 130 * @returns New reference count on success, UINT32_MAX on failure. 131 * @param hVfsDir The VFS directory handle. 132 */ 133 RTDECL(uint32_t) RTVfsDirRetain(RTVFSDIR hVfsDir); 134 135 /** 136 * Releases a reference to the VFS directory handle. 137 * 138 * @returns New reference count on success (0 if closed), UINT32_MAX on failure. 139 * @param hVfsIos The VFS directory handle. 140 */ 141 RTDECL(uint32_t) RTVfsDirRelease(RTVFSDIR hVfsDir); 142 125 143 /** @} */ 126 144 127 145 128 /** @defgroup grp_vfs_iostream VFS I/O Stream 146 /** @defgroup grp_vfs_iostream VFS Symbolic Link API 147 * @{ 148 */ 149 150 /** 151 * Read the symbolic link target. 152 * 153 * @returns IPRT status code. 154 * @param hVfsSym The VFS symbolic link handle. 155 * @param pszTarget The target buffer. 156 * @param cbTarget The size of the target buffer. 157 * @sa RTSymlinkRead 158 */ 159 RTDECL(int) RTVfsSymlinkRead(RTVFSSYMLINK hVfsSym, char *pszTarget, size_t cbTarget); 160 161 /** @} */ 162 163 164 165 /** @defgroup grp_vfs_iostream VFS I/O Stream API 129 166 * @{ 130 167 */ … … 264 301 */ 265 302 RTDECL(RTFOFF) RTVfsIoStrmTell(RTVFSIOSTREAM hVfsIos); 303 304 /** 305 * Skips @a cb ahead in the stream. 306 * 307 * @returns IPRT status code. 308 * @param hVfsIos The VFS I/O stream handle. 309 * @param cb The number bytes to skip. 310 */ 311 RTDECL(int) RTVfsIoStrmSkip(RTVFSIOSTREAM hVfsIos, RTFOFF cb); 312 313 /** 314 * Fills the stream with @a cb zeros. 315 * 316 * @returns IPRT status code. 317 * @param hVfsIos The VFS I/O stream handle. 318 * @param cb The number of zero bytes to insert. 319 */ 320 RTDECL(int) RTVfsIoStrmZeroFill(RTVFSIOSTREAM hVfsIos, RTFOFF cb); 266 321 /** @} */ 267 322
Note:
See TracChangeset
for help on using the changeset viewer.