VirtualBox

Changeset 47356 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Jul 23, 2013 5:45:07 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
87502
Message:

IPRT: Added RTVfsIoStrmOpenNormal and RTVfsFileOpenNormal.

Location:
trunk/include/iprt
Files:
2 edited

Legend:

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

    r47352 r47356  
    17711771# define RTVfsFileGetSize                               RT_MANGLER(RTVfsFileGetSize)
    17721772# define RTVfsFileOpen                                  RT_MANGLER(RTVfsFileOpen)
     1773# define RTVfsFileOpenNormal                            RT_MANGLER(RTVfsFileOpenNormal)
    17731774# define RTVfsFilePoll                                  RT_MANGLER(RTVfsFilePoll)
    17741775# define RTVfsFileQueryInfo                             RT_MANGLER(RTVfsFileQueryInfo)
     
    17911792# define RTVfsIoStrmFromStdHandle                       RT_MANGLER(RTVfsIoStrmFromStdHandle)
    17921793# define RTVfsIoStrmIsAtEnd                             RT_MANGLER(RTVfsIoStrmIsAtEnd)
     1794# define RTVfsIoStrmOpenNormal                          RT_MANGLER(RTVfsIoStrmOpenNormal)
    17931795# define RTVfsIoStrmPoll                                RT_MANGLER(RTVfsIoStrmPoll)
    17941796# define RTVfsIoStrmQueryInfo                           RT_MANGLER(RTVfsIoStrmQueryInfo)
  • trunk/include/iprt/vfs.h

    r47351 r47356  
    453453
    454454/**
     455 * Convenience function combining RTFileOpen with RTVfsIoStrmFromRTFile.
     456 *
     457 * @returns IPRT status code.
     458 * @param   pszFilename     The path to the file in the normal file system.
     459 * @param   fOpen           The flags to pass to RTFileOpen when opening the
     460 *                          file, i.e. RTFILE_O_XXX.
     461 * @param   phVfsIos        Where to return the VFS I/O stream handle.
     462 */
     463RTDECL(int)         RTVfsIoStrmOpenNormal(const char *pszFilename, uint64_t fOpen, PRTVFSIOSTREAM phVfsIos);
     464
     465/**
    455466 * Create a VFS I/O stream handle from one of the standard handles.
    456467 *
     
    706717
    707718/**
     719 * Convenience function combining RTFileOpen with RTVfsFileFromRTFile.
     720 *
     721 * @returns IPRT status code.
     722 * @param   pszFilename     The path to the file in the normal file system.
     723 * @param   fOpen           The flags to pass to RTFileOpen when opening the
     724 *                          file, i.e. RTFILE_O_XXX.
     725 * @param   phVfsFile       Where to return the VFS file handle.
     726 */
     727RTDECL(int)         RTVfsFileOpenNormal(const char *pszFilename, uint64_t fOpen, PRTVFSFILE phVfsFile);
     728
     729/**
    708730 * Convert the VFS file handle to a VFS I/O stream handle.
    709731 *
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