VirtualBox

Changeset 40029 in vbox


Ignore:
Timestamp:
Feb 7, 2012 11:17:33 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
76152
Message:

Runtime: Add filesystem API to detect which ranges of a medium are in use (work in progress)

Location:
trunk
Files:
2 added
5 edited

Legend:

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

    r39877 r40029  
    17081708/** @} */
    17091709
     1710/** @name Filesystem status codes
     1711 * @{ */
     1712/** Filesystem can't be opened because it is corrupt. */
     1713#define VERR_FILESYSTEM_CORRUPT                     (-22500)
     1714/** @} */
     1715
    17101716/* SED-END */
    17111717
  • trunk/include/iprt/mangling.h

    r40027 r40029  
    512512# define RTFileWrite                                    RT_MANGLER(RTFileWrite)
    513513# define RTFileWriteAt                                  RT_MANGLER(RTFileWriteAt)
     514# define RTFilesystemOpen                               RT_MANGLER(RTFilesystemOpen)
     515# define RTFilesystemRetain                             RT_MANGLER(RTFilesystemRetain)
     516# define RTFilesystemRelease                            RT_MANGLER(RTFilesystemRelease)
     517# define RTFilesystemGetFormat                          RT_MANGLER(RTFilesystemGetFormat)
     518# define RTFilesystemGetBlockSize                       RT_MANGLER(RTFilesystemGetBlockSize)
     519# define RTFilesystemQueryRangeUse                      RT_MANGLER(RTFilesystemQueryRangeUse)
    514520# define RTFsQueryProperties                            RT_MANGLER(RTFsQueryProperties)
    515521# define RTFsQuerySerial                                RT_MANGLER(RTFsQuerySerial)
  • trunk/src/VBox/Runtime/Makefile.kmk

    r39951 r40029  
    284284        common/err/RTErrConvertFromErrno.cpp \
    285285        common/err/RTErrConvertToErrno.cpp \
     286        common/filesystem/filesystem.cpp \
     287        common/filesystem/filesystemext.cpp \
    286288        common/ldr/ldr.cpp \
    287289        common/ldr/ldrELF.cpp \
  • trunk/src/VBox/Runtime/include/internal/magics.h

    r39500 r40029  
    5757/** The value of RTFILEAIOREQINT::u32Magic. (Stephen Edwin King)  */
    5858#define RTFILEAIOREQ_MAGIC              UINT32_C(0x19470921)
     59/** The value of RTFILESYSTEMINT::u32Magic. (John Scalzi) */
     60#define RTFILESYSTEM_MAGIC              UINT32_C(0x19690510)
     61/** The value of RTFILESYSTEMINT::u32Magic after close. */
     62#define RTFILESYSTEM_MAGIC_DEAD         (~RTFILESYSTEM_MAGIC)
    5963/** The value of RTENVINTERNAL::u32Magic. (Rumiko Takahashi) */
    6064#define RTENV_MAGIC                     UINT32_C(0x19571010)
  • trunk/src/VBox/Runtime/testcase/Makefile.kmk

    r39632 r40029  
    6666        tstFork \
    6767        tstRTFsQueries \
     68        tstRTFilesystem \
    6869        tstRTGetOpt \
    6970        tstRTGetOptArgv \
     
    261262tstRTFsQueries_SOURCES = tstRTFsQueries.cpp
    262263
     264tstRTFilesystem_TEMPLATE = VBOXR3TSTEXE
     265tstRTFilesystem_SOURCES = tstRTFilesystem.cpp
     266
    263267tstRTGetOpt_TEMPLATE = VBOXR3TSTEXE
    264268tstRTGetOpt_SOURCES = tstRTGetOpt.cpp
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