VirtualBox

Changeset 58196 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Oct 12, 2015 3:18:51 PM (9 years ago)
Author:
vboxsync
Message:

VBoxGuestR0LibSharedFolders: VBSFMAP -> VBGLSFMAP; VBSFCLIENT -> VBGLSFCLIENT

Location:
trunk/src/VBox/Additions/common/VBoxGuestLib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR0LibSharedFolders.c

    r58195 r58196  
    7070}
    7171
    72 DECLVBGL(int) VbglR0SfConnect(PVBSFCLIENT pClient)
     72DECLVBGL(int) VbglR0SfConnect(PVBGLSFCLIENT pClient)
    7373{
    7474    int rc;
     
    9494}
    9595
    96 DECLVBGL(void) VbglR0SfDisconnect(PVBSFCLIENT pClient)
     96DECLVBGL(void) VbglR0SfDisconnect(PVBGLSFCLIENT pClient)
    9797{
    9898    int rc;
     
    113113}
    114114
    115 DECLVBGL(int) VbglR0SfQueryMappings(PVBSFCLIENT pClient, SHFLMAPPING paMappings[], uint32_t *pcMappings)
     115DECLVBGL(int) VbglR0SfQueryMappings(PVBGLSFCLIENT pClient, SHFLMAPPING paMappings[], uint32_t *pcMappings)
    116116{
    117117    int rc;
     
    141141}
    142142
    143 DECLVBGL(int) VbglR0SfQueryMapName(PVBSFCLIENT pClient, SHFLROOT root, SHFLSTRING *pString, uint32_t size)
     143DECLVBGL(int) VbglR0SfQueryMapName(PVBGLSFCLIENT pClient, SHFLROOT root, SHFLSTRING *pString, uint32_t size)
    144144{
    145145    int rc;
     
    163163}
    164164
    165 DECLVBGL(int) VbglR0SfMapFolder(PVBSFCLIENT pClient, PSHFLSTRING szFolderName, PVBSFMAP pMap)
     165DECLVBGL(int) VbglR0SfMapFolder(PVBGLSFCLIENT pClient, PSHFLSTRING szFolderName, PVBGLSFMAP pMap)
    166166{
    167167    int rc;
     
    221221}
    222222
    223 DECLVBGL(int) VbglR0SfUnmapFolder(PVBSFCLIENT pClient, PVBSFMAP pMap)
     223DECLVBGL(int) VbglR0SfUnmapFolder(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap)
    224224{
    225225    int rc;
     
    238238}
    239239
    240 DECLVBGL(int) VbglR0SfCreate(PVBSFCLIENT pClient, PVBSFMAP pMap, PSHFLSTRING pParsedPath, PSHFLCREATEPARMS pCreateParms)
     240DECLVBGL(int) VbglR0SfCreate(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, PSHFLSTRING pParsedPath, PSHFLCREATEPARMS pCreateParms)
    241241{
    242242    /** @todo copy buffers to physical or mapped memory. */
     
    264264}
    265265
    266 DECLVBGL(int) VbglR0SfClose(PVBSFCLIENT pClient, PVBSFMAP pMap, SHFLHANDLE Handle)
     266DECLVBGL(int) VbglR0SfClose(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, SHFLHANDLE Handle)
    267267{
    268268    int rc;
     
    284284}
    285285
    286 DECLVBGL(int) VbglR0SfRemove(PVBSFCLIENT pClient, PVBSFMAP pMap, PSHFLSTRING pParsedPath, uint32_t flags)
     286DECLVBGL(int) VbglR0SfRemove(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, PSHFLSTRING pParsedPath, uint32_t flags)
    287287{
    288288    int rc = VINF_SUCCESS;
     
    309309}
    310310
    311 DECLVBGL(int) VbglR0SfRename(PVBSFCLIENT pClient, PVBSFMAP pMap, PSHFLSTRING pSrcPath, PSHFLSTRING pDestPath, uint32_t flags)
     311DECLVBGL(int) VbglR0SfRename(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, PSHFLSTRING pSrcPath, PSHFLSTRING pDestPath, uint32_t flags)
    312312{
    313313    int rc;
     
    337337}
    338338
    339 DECLVBGL(int) VbglR0SfRead(PVBSFCLIENT pClient, PVBSFMAP pMap, SHFLHANDLE hFile,
     339DECLVBGL(int) VbglR0SfRead(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, SHFLHANDLE hFile,
    340340                           uint64_t offset, uint32_t *pcbBuffer, uint8_t *pBuffer, bool fLocked)
    341341{
     
    368368}
    369369
    370 DECLVBGL(int) VbglR0SfReadPageList(PVBSFCLIENT pClient, PVBSFMAP pMap, SHFLHANDLE hFile, uint64_t offset, uint32_t *pcbBuffer,
     370DECLVBGL(int) VbglR0SfReadPageList(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, SHFLHANDLE hFile, uint64_t offset, uint32_t *pcbBuffer,
    371371                                   uint16_t offFirstPage, uint16_t cPages, RTGCPHYS64 *paPages)
    372372{
     
    414414}
    415415
    416 DECLVBGL(int) VbglR0SfWrite(PVBSFCLIENT pClient, PVBSFMAP pMap, SHFLHANDLE hFile,
     416DECLVBGL(int) VbglR0SfWrite(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, SHFLHANDLE hFile,
    417417                            uint64_t offset, uint32_t *pcbBuffer, uint8_t *pBuffer, bool fLocked)
    418418{
     
    445445}
    446446
    447 DECLVBGL(int) VbglR0SfWritePhysCont(PVBSFCLIENT pClient, PVBSFMAP pMap, SHFLHANDLE hFile, uint64_t offset,
     447DECLVBGL(int) VbglR0SfWritePhysCont(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, SHFLHANDLE hFile, uint64_t offset,
    448448                                    uint32_t *pcbBuffer, RTCCPHYS PhysBuffer)
    449449{
     
    494494}
    495495
    496 DECLVBGL(int) VbglR0SfWritePageList(PVBSFCLIENT pClient, PVBSFMAP pMap, SHFLHANDLE hFile, uint64_t offset, uint32_t *pcbBuffer,
     496DECLVBGL(int) VbglR0SfWritePageList(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, SHFLHANDLE hFile, uint64_t offset, uint32_t *pcbBuffer,
    497497                                    uint16_t offFirstPage, uint16_t cPages, RTGCPHYS64 *paPages)
    498498{
     
    540540}
    541541
    542 DECLVBGL(int) VbglR0SfFlush(PVBSFCLIENT pClient, PVBSFMAP pMap, SHFLHANDLE hFile)
     542DECLVBGL(int) VbglR0SfFlush(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, SHFLHANDLE hFile)
    543543{
    544544    int rc;
     
    561561
    562562DECLVBGL(int) VbglR0SfDirInfo(
    563     PVBSFCLIENT pClient,
    564     PVBSFMAP pMap,
     563    PVBGLSFCLIENT pClient,
     564    PVBGLSFMAP pMap,
    565565    SHFLHANDLE hFile,
    566566    PSHFLSTRING ParsedPath,
     
    607607}
    608608
    609 DECLVBGL(int) VbglR0SfFsInfo(PVBSFCLIENT pClient, PVBSFMAP pMap, SHFLHANDLE hFile,
     609DECLVBGL(int) VbglR0SfFsInfo(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, SHFLHANDLE hFile,
    610610                             uint32_t flags, uint32_t *pcbBuffer, PSHFLDIRINFO pBuffer)
    611611{
     
    638638}
    639639
    640 DECLVBGL(int) VbglR0SfLock(PVBSFCLIENT pClient, PVBSFMAP pMap, SHFLHANDLE hFile,
     640DECLVBGL(int) VbglR0SfLock(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, SHFLHANDLE hFile,
    641641                           uint64_t offset, uint64_t cbSize, uint32_t fLock)
    642642{
     
    666666}
    667667
    668 DECLVBGL(int) VbglR0SfSetUtf8(PVBSFCLIENT pClient)
     668DECLVBGL(int) VbglR0SfSetUtf8(PVBGLSFCLIENT pClient)
    669669{
    670670    int rc;
     
    679679}
    680680
    681 DECLVBGL(int) VbglR0SfReadLink(PVBSFCLIENT pClient, PVBSFMAP pMap, PSHFLSTRING pParsedPath, uint32_t cbBuffer, uint8_t *pBuffer)
     681DECLVBGL(int) VbglR0SfReadLink(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, PSHFLSTRING pParsedPath, uint32_t cbBuffer, uint8_t *pBuffer)
    682682{
    683683    int rc;
     
    704704}
    705705
    706 DECLVBGL(int) VbglR0SfSymlink(PVBSFCLIENT pClient, PVBSFMAP pMap, PSHFLSTRING pNewPath, PSHFLSTRING pOldPath,
     706DECLVBGL(int) VbglR0SfSymlink(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, PSHFLSTRING pNewPath, PSHFLSTRING pOldPath,
    707707                              PSHFLFSOBJINFO pBuffer)
    708708{
     
    734734}
    735735
    736 DECLVBGL(int) VbglR0SfSetSymlinks(PVBSFCLIENT pClient)
     736DECLVBGL(int) VbglR0SfSetSymlinks(PVBGLSFCLIENT pClient)
    737737{
    738738    int rc;
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR0LibSharedFolders.h

    r58195 r58196  
    6363
    6464#include <iprt/assert.h>
    65 #define ASSERTVBSF AssertRelease
    6665
    6766#include <VBox/shflsvc.h>
    6867
    69 typedef struct _VBSFCLIENT
     68typedef struct VBGLSFCLIENT
    7069{
    7170    uint32_t ulClientID;
    7271    VBGLHGCMHANDLE handle;
    73 } VBSFCLIENT;
    74 typedef VBSFCLIENT *PVBSFCLIENT;
     72} VBGLSFCLIENT;
     73typedef VBGLSFCLIENT *PVBGLSFCLIENT;
    7574
    76 typedef struct _VBSFMAP
     75typedef struct VBGLSFMAP
    7776{
    7877    SHFLROOT root;
    79 } VBSFMAP, *PVBSFMAP;
     78} VBGLSFMAP, *PVBGLSFMAP;
    8079
    8180
     
    131130DECLVBGL(int)  VbglR0SfInit(void);
    132131DECLVBGL(void) VbglR0SfTerm(void);
    133 DECLVBGL(int)  VbglR0SfConnect(PVBSFCLIENT pClient);
    134 DECLVBGL(void) VbglR0SfDisconnect(PVBSFCLIENT pClient);
     132DECLVBGL(int)  VbglR0SfConnect(PVBGLSFCLIENT pClient);
     133DECLVBGL(void) VbglR0SfDisconnect(PVBGLSFCLIENT pClient);
    135134
    136 DECLVBGL(int)  VbglR0SfQueryMappings(PVBSFCLIENT pClient, SHFLMAPPING paMappings[], uint32_t *pcMappings);
     135DECLVBGL(int)  VbglR0SfQueryMappings(PVBGLSFCLIENT pClient, SHFLMAPPING paMappings[], uint32_t *pcMappings);
    137136
    138 DECLVBGL(int)  VbglR0SfQueryMapName(PVBSFCLIENT pClient, SHFLROOT root, SHFLSTRING *pString, uint32_t size);
     137DECLVBGL(int)  VbglR0SfQueryMapName(PVBGLSFCLIENT pClient, SHFLROOT root, SHFLSTRING *pString, uint32_t size);
    139138
    140139/**
     
    161160 *       as additional information.
    162161 */
    163 DECLVBGL(int)  VbglR0SfCreate(PVBSFCLIENT pClient, PVBSFMAP pMap, PSHFLSTRING pParsedPath, PSHFLCREATEPARMS pCreateParms);
     162DECLVBGL(int)  VbglR0SfCreate(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, PSHFLSTRING pParsedPath, PSHFLCREATEPARMS pCreateParms);
    164163
    165 DECLVBGL(int)  VbglR0SfClose(PVBSFCLIENT pClient, PVBSFMAP pMap, SHFLHANDLE Handle);
    166 DECLVBGL(int)  VbglR0SfRemove(PVBSFCLIENT pClient, PVBSFMAP pMap, PSHFLSTRING pParsedPath, uint32_t flags);
    167 DECLVBGL(int)  VbglR0SfRename(PVBSFCLIENT pClient, PVBSFMAP pMap, PSHFLSTRING pSrcPath, PSHFLSTRING pDestPath, uint32_t flags);
    168 DECLVBGL(int)  VbglR0SfFlush(PVBSFCLIENT pClient, PVBSFMAP pMap, SHFLHANDLE hFile);
     164DECLVBGL(int)  VbglR0SfClose(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, SHFLHANDLE Handle);
     165DECLVBGL(int)  VbglR0SfRemove(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, PSHFLSTRING pParsedPath, uint32_t flags);
     166DECLVBGL(int)  VbglR0SfRename(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, PSHFLSTRING pSrcPath, PSHFLSTRING pDestPath, uint32_t flags);
     167DECLVBGL(int)  VbglR0SfFlush(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, SHFLHANDLE hFile);
    169168
    170 DECLVBGL(int)  VbglR0SfRead(PVBSFCLIENT pClient, PVBSFMAP pMap, SHFLHANDLE hFile, uint64_t offset, uint32_t *pcbBuffer, uint8_t *pBuffer, bool fLocked);
    171 DECLVBGL(int)  VbglR0SfReadPageList(PVBSFCLIENT pClient, PVBSFMAP pMap, SHFLHANDLE hFile, uint64_t offset, uint32_t *pcbBuffer,
     169DECLVBGL(int)  VbglR0SfRead(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, SHFLHANDLE hFile, uint64_t offset, uint32_t *pcbBuffer, uint8_t *pBuffer, bool fLocked);
     170DECLVBGL(int)  VbglR0SfReadPageList(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, SHFLHANDLE hFile, uint64_t offset, uint32_t *pcbBuffer,
    172171                                    uint16_t offFirstPage, uint16_t cPages, RTGCPHYS64 *paPages);
    173 DECLVBGL(int)  VbglR0SfWrite(PVBSFCLIENT pClient, PVBSFMAP pMap, SHFLHANDLE hFile, uint64_t offset,
     172DECLVBGL(int)  VbglR0SfWrite(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, SHFLHANDLE hFile, uint64_t offset,
    174173                             uint32_t *pcbBuffer,  uint8_t *pBuffer, bool fLocked);
    175 DECLVBGL(int)  VbglR0SfWritePhysCont(PVBSFCLIENT pClient, PVBSFMAP pMap, SHFLHANDLE hFile, uint64_t offset,
     174DECLVBGL(int)  VbglR0SfWritePhysCont(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, SHFLHANDLE hFile, uint64_t offset,
    176175                                     uint32_t *pcbBuffer, RTCCPHYS PhysBuffer);
    177 DECLVBGL(int)  VbglR0SfWritePageList(PVBSFCLIENT pClient, PVBSFMAP pMap, SHFLHANDLE hFile, uint64_t offset, uint32_t *pcbBuffer,
     176DECLVBGL(int)  VbglR0SfWritePageList(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, SHFLHANDLE hFile, uint64_t offset, uint32_t *pcbBuffer,
    178177                                     uint16_t offFirstPage, uint16_t cPages, RTGCPHYS64 *paPages);
    179178
    180 DECLVBGL(int)  VbglR0SfLock(PVBSFCLIENT pClient, PVBSFMAP pMap, SHFLHANDLE hFile, uint64_t offset, uint64_t cbSize, uint32_t fLock);
     179DECLVBGL(int)  VbglR0SfLock(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, SHFLHANDLE hFile, uint64_t offset, uint64_t cbSize, uint32_t fLock);
    181180
    182 DECLVBGL(int)  VbglR0SfDirInfo(PVBSFCLIENT pClient, PVBSFMAP pMap, SHFLHANDLE hFile,PSHFLSTRING ParsedPath, uint32_t flags,
     181DECLVBGL(int)  VbglR0SfDirInfo(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, SHFLHANDLE hFile,PSHFLSTRING ParsedPath, uint32_t flags,
    183182                                 uint32_t index, uint32_t *pcbBuffer, PSHFLDIRINFO pBuffer, uint32_t *pcFiles);
    184 DECLVBGL(int)  VbglR0SfFsInfo(PVBSFCLIENT pClient, PVBSFMAP pMap, SHFLHANDLE hFile, uint32_t flags, uint32_t *pcbBuffer, PSHFLDIRINFO pBuffer);
     183DECLVBGL(int)  VbglR0SfFsInfo(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, SHFLHANDLE hFile, uint32_t flags, uint32_t *pcbBuffer, PSHFLDIRINFO pBuffer);
    185184
    186 DECLVBGL(int)  VbglR0SfMapFolder(PVBSFCLIENT pClient, PSHFLSTRING szFolderName, PVBSFMAP pMap);
    187 DECLVBGL(int)  VbglR0SfUnmapFolder(PVBSFCLIENT pClient, PVBSFMAP pMap);
    188 DECLVBGL(int)  VbglR0SfSetUtf8(PVBSFCLIENT pClient);
     185DECLVBGL(int)  VbglR0SfMapFolder(PVBGLSFCLIENT pClient, PSHFLSTRING szFolderName, PVBGLSFMAP pMap);
     186DECLVBGL(int)  VbglR0SfUnmapFolder(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap);
     187DECLVBGL(int)  VbglR0SfSetUtf8(PVBGLSFCLIENT pClient);
    189188
    190 DECLVBGL(int)  VbglR0SfReadLink(PVBSFCLIENT pClient, PVBSFMAP pMap, PSHFLSTRING ParsedPath, uint32_t pcbBuffer, uint8_t *pBuffer);
    191 DECLVBGL(int)  VbglR0SfSymlink(PVBSFCLIENT pClient, PVBSFMAP pMap, PSHFLSTRING pNewPath, PSHFLSTRING pOldPath, PSHFLFSOBJINFO pBuffer);
    192 DECLVBGL(int)  VbglR0SfSetSymlinks(PVBSFCLIENT pClient);
     189DECLVBGL(int)  VbglR0SfReadLink(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, PSHFLSTRING ParsedPath, uint32_t pcbBuffer, uint8_t *pBuffer);
     190DECLVBGL(int)  VbglR0SfSymlink(PVBGLSFCLIENT pClient, PVBGLSFMAP pMap, PSHFLSTRING pNewPath, PSHFLSTRING pOldPath, PSHFLFSOBJINFO pBuffer);
     191DECLVBGL(int)  VbglR0SfSetSymlinks(PVBGLSFCLIENT pClient);
    193192
    194193#endif /* !___VBoxGuestLib_VBoxGuestR0LibSharedFolders_h */
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