VirtualBox

Changeset 37596 in vbox for trunk/include


Ignore:
Timestamp:
Jun 22, 2011 7:30:06 PM (14 years ago)
Author:
vboxsync
Message:

*: RTFILE becomes a pointer, RTFileOpen++ expands it's flags paramter from uint32_t to uint64_t.

Location:
trunk/include/iprt
Files:
3 edited

Legend:

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

    r37559 r37596  
    254254 *                          The ACCESS, ACTION and DENY flags are mandatory!
    255255 */
    256 RTDECL(int)  RTFileOpen(PRTFILE pFile, const char *pszFilename, uint32_t fOpen);
     256RTDECL(int)  RTFileOpen(PRTFILE pFile, const char *pszFilename, uint64_t fOpen);
    257257
    258258/**
     
    267267 * @param   ...             Arguments to the format string.
    268268 */
    269 RTDECL(int)  RTFileOpenF(PRTFILE pFile, uint32_t fOpen, const char *pszFilenameFmt, ...);
     269RTDECL(int)  RTFileOpenF(PRTFILE pFile, uint64_t fOpen, const char *pszFilenameFmt, ...);
    270270
    271271/**
     
    280280 * @param   va              Arguments to the format string.
    281281 */
    282 RTDECL(int)  RTFileOpenV(PRTFILE pFile, uint32_t fOpen, const char *pszFilenameFmt, va_list va);
     282RTDECL(int)  RTFileOpenV(PRTFILE pFile, uint64_t fOpen, const char *pszFilenameFmt, va_list va);
    283283
    284284/**
     
    289289 * @param   fAccess         The desired access only, i.e. read, write or both.
    290290 */
    291 RTDECL(int)  RTFileOpenBitBucket(PRTFILE phFile, uint32_t fAccess);
     291RTDECL(int)  RTFileOpenBitBucket(PRTFILE phFile, uint64_t fAccess);
    292292
    293293/**
  • trunk/include/iprt/types.h

    r37396 r37596  
    14771477
    14781478/** File handle. */
    1479 typedef RTUINT                                      RTFILE;
     1479typedef R3R0PTRTYPE(struct RTFILEINT *)             RTFILE;
    14801480/** Pointer to file handle. */
    14811481typedef RTFILE                                     *PRTFILE;
    14821482/** Nil file handle. */
    1483 #define NIL_RTFILE                                  (~(RTFILE)0)
     1483#define NIL_RTFILE                                  ((RTFILE)~(RTHCINTPTR)0)
    14841484
    14851485/** Async I/O request handle. */
  • trunk/include/iprt/vfs.h

    r36511 r37596  
    439439 * @param   phVfsIos        Where to return the VFS I/O stream handle.
    440440 */
    441 RTDECL(int)         RTVfsIoStrmFromRTFile(RTFILE hFile, uint32_t fOpen, bool fLeaveOpen, PRTVFSIOSTREAM phVfsIos);
     441RTDECL(int)         RTVfsIoStrmFromRTFile(RTFILE hFile, uint64_t fOpen, bool fLeaveOpen, PRTVFSIOSTREAM phVfsIos);
    442442
    443443/**
     
    452452 * @param   phVfsIos        Where to return the VFS I/O stream handle.
    453453 */
    454 RTDECL(int)         RTVfsIoStrmFromStdHandle(RTHANDLESTD enmStdHandle, uint32_t fOpen, bool fLeaveOpen,
     454RTDECL(int)         RTVfsIoStrmFromStdHandle(RTHANDLESTD enmStdHandle, uint64_t fOpen, bool fLeaveOpen,
    455455                                             PRTVFSIOSTREAM phVfsIos);
    456456
     
    676676 * @{
    677677 */
    678 RTDECL(int)         RTVfsFileOpen(RTVFS hVfs, const char *pszFilename, uint32_t fOpen, PRTVFSFILE phVfsFile);
     678RTDECL(int)         RTVfsFileOpen(RTVFS hVfs, const char *pszFilename, uint64_t fOpen, PRTVFSFILE phVfsFile);
    679679
    680680/**
     
    689689 * @param   phVfsFile       Where to return the VFS file handle.
    690690 */
    691 RTDECL(int)         RTVfsFileFromRTFile(RTFILE hFile, uint32_t fOpen, bool fLeaveOpen, PRTVFSFILE phVfsFile);
     691RTDECL(int)         RTVfsFileFromRTFile(RTFILE hFile, uint64_t fOpen, bool fLeaveOpen, PRTVFSFILE phVfsFile);
    692692RTDECL(RTHCUINTPTR) RTVfsFileToNative(RTFILE hVfsFile);
    693693
     
    898898RTDECL(int) RTVfsChainOpenVfs(      const char *pszSpec,                 PRTVFS          phVfs,     const char **ppszError);
    899899RTDECL(int) RTVfsChainOpenFsStream( const char *pszSpec,                 PRTVFSFSSTREAM  phVfsFss,  const char **ppszError);
    900 RTDECL(int) RTVfsChainOpenDir(      const char *pszSpec, uint32_t fOpen, PRTVFSDIR       phVfsDir,  const char **ppszError);
    901 RTDECL(int) RTVfsChainOpenFile(     const char *pszSpec, uint32_t fOpen, PRTVFSFILE      phVfsFile, const char **ppszError);
     900RTDECL(int) RTVfsChainOpenDir(      const char *pszSpec, uint64_t fOpen, PRTVFSDIR       phVfsDir,  const char **ppszError);
     901RTDECL(int) RTVfsChainOpenFile(     const char *pszSpec, uint64_t fOpen, PRTVFSFILE      phVfsFile, const char **ppszError);
    902902RTDECL(int) RTVfsChainOpenSymlink(  const char *pszSpec,                 PRTVFSSYMLINK   phVfsSym,  const char **ppszError);
    903 RTDECL(int) RTVfsChainOpenIoStream( const char *pszSpec, uint32_t fOpen, PRTVFSIOSTREAM  phVfsIos,  const char **ppszError);
     903RTDECL(int) RTVfsChainOpenIoStream( const char *pszSpec, uint64_t fOpen, PRTVFSIOSTREAM  phVfsIos,  const char **ppszError);
    904904
    905905/**
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette