Changeset 84204 in vbox
- Timestamp:
- May 8, 2020 11:29:09 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
include/iprt/mangling.h (modified) (1 diff)
-
include/iprt/vfs.h (modified) (1 diff)
-
src/VBox/Runtime/common/vfs/vfsbase.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/mangling.h
r84193 r84204 2830 2830 # define RTVfsSymlinkSetTimes RT_MANGLER(RTVfsSymlinkSetTimes) 2831 2831 # define RTVfsSymlinkToPrivate RT_MANGLER(RTVfsSymlinkToPrivate) 2832 # define RTVfsTypeName RT_MANGLER(RTVfsTypeName) 2832 2833 # define RTVfsUtilDummyPollOne RT_MANGLER(RTVfsUtilDummyPollOne) 2833 2834 # define RTVfsUtilPumpIoStreams RT_MANGLER(RTVfsUtilPumpIoStreams) -
trunk/include/iprt/vfs.h
r84191 r84204 91 91 /** Pointer to a VFS object type. */ 92 92 typedef RTVFSOBJTYPE *PRTVFSOBJTYPE; 93 94 /** 95 * Translates a RTVFSOBJTYPE value into a string. 96 * 97 * @returns Pointer to readonly name. 98 * @param enmType The object type to name. 99 */ 100 RTDECL(const char *) RTVfsTypeName(RTVFSOBJTYPE enmType); 93 101 94 102 -
trunk/src/VBox/Runtime/common/vfs/vfsbase.cpp
r84192 r84204 370 370 PRTVFSPARSEDPATH pPath, uint32_t fFlags); 371 371 372 373 374 /** 375 * Translates a RTVFSOBJTYPE value into a string. 376 * 377 * @returns Pointer to readonly name. 378 * @param enmType The object type to name. 379 */ 380 RTDECL(const char *) RTVfsTypeName(RTVFSOBJTYPE enmType) 381 { 382 switch (enmType) 383 { 384 case RTVFSOBJTYPE_INVALID: return "invalid"; 385 case RTVFSOBJTYPE_BASE: return "base"; 386 case RTVFSOBJTYPE_VFS: return "VFS"; 387 case RTVFSOBJTYPE_FS_STREAM: return "FS stream"; 388 case RTVFSOBJTYPE_IO_STREAM: return "I/O stream"; 389 case RTVFSOBJTYPE_DIR: return "directory"; 390 case RTVFSOBJTYPE_FILE: return "file"; 391 case RTVFSOBJTYPE_SYMLINK: return "symlink"; 392 case RTVFSOBJTYPE_END: return "end"; 393 case RTVFSOBJTYPE_32BIT_HACK: 394 break; 395 } 396 return "unknown"; 397 } 372 398 373 399
Note:
See TracChangeset
for help on using the changeset viewer.

