VirtualBox

Changeset 30254 in vbox for trunk/include


Ignore:
Timestamp:
Jun 16, 2010 2:37:24 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
62754
Message:

iprt: introduced RTFsQueryType()

File:
1 edited

Legend:

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

    r28800 r30254  
    180180
    181181
     182/** @name Filesystem type IDs. Used by RTFsQueryType. */
     183#define RTFS_FS_TYPE_UNKNOWN            0
     184#define RTFS_FS_TYPE_EXT                1
     185#define RTFS_FS_TYPE_EXT2               2
     186#define RTFS_FS_TYPE_EXT3               3
     187#define RTFS_FS_TYPE_EXT4               4
     188#define RTFS_FS_TYPE_TMPFS              5
     189#define RTFS_FS_TYPE_JFS                6
     190#define RTFS_FS_TYPE_NFS                7
     191#define RTFS_FS_TYPE_HFS                8
     192#define RTFS_FS_TYPE_CIFS               9
     193#define RTFS_FS_TYPE_FAT               10
     194#define RTFS_FS_TYPE_NTFS              11
     195#define RTFS_FS_TYPE_ZFS               12
     196
     197
    182198/**
    183199 * The available additional information in a RTFSOBJATTR object.
     
    385401RTR3DECL(int) RTFsQueryDriver(const char *pszFsPath, char *pszFsDriver, size_t cbFsDriver);
    386402
     403/**
     404 * Query the name of the filesystem the file is located on.
     405 *
     406 * @returns iprt status code.
     407 * @param   pszFsPath       Path within the mounted filesystem.
     408 * @param   pu32Type        Where to store the filesystem type.
     409 *                          See RTFS_FS_TYPE_xxx constants.
     410 */
     411RTR3DECL(int) RTFsQueryType(const char *pszFsPath, uint32_t *pu32Type);
     412
    387413#endif /* IN_RING3 */
    388414
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