VirtualBox

Changeset 104001 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 22, 2024 4:03:33 PM (12 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
162388
Message:

Guest Control/Main: Renaming (removed "File" from some internal GuestFile APIs; unnecessary).

Location:
trunk/src/VBox/Main
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/GuestFileImpl.h

    r98278 r104001  
    6969    /** @name Public internal methods.
    7070     * @{ */
    71     int             i_closeFile(int *pGuestRc);
     71    int             i_close(int *pGuestRc);
    7272    EventSource    *i_getEventSource(void) { return mEventSource; }
    73     int             i_onFileNotify(PVBOXGUESTCTRLHOSTCBCTX pCbCtx, PVBOXGUESTCTRLHOSTCALLBACK pSvcCbData);
     73    int             i_onNotify(PVBOXGUESTCTRLHOSTCBCTX pCbCtx, PVBOXGUESTCTRLHOSTCALLBACK pSvcCbData);
    7474    int             i_onGuestDisconnected(PVBOXGUESTCTRLHOSTCBCTX pCbCtx, PVBOXGUESTCTRLHOSTCALLBACK pSvcCbData);
    75     int             i_openFile(uint32_t uTimeoutMS, int *pGuestRc);
     75    int             i_open(uint32_t uTimeoutMS, int *pGuestRc);
    7676    int             i_queryInfo(GuestFsObjData &objData, int *prcGuest);
    7777    int             i_readData(uint32_t uSize, uint32_t uTimeoutMS, void* pvData, uint32_t cbData, uint32_t* pcbRead);
  • trunk/src/VBox/Main/src-client/GuestFileImpl.cpp

    r99252 r104001  
    368368
    369369        case GUEST_MSG_FILE_NOTIFY:
    370             vrc = i_onFileNotify(pCbCtx, pSvcCb);
     370            vrc = i_onNotify(pCbCtx, pSvcCb);
    371371            break;
    372372
     
    391391 *                              was returned.
    392392 */
    393 int GuestFile::i_closeFile(int *prcGuest)
     393int GuestFile::i_close(int *prcGuest)
    394394{
    395395    LogFlowThisFunc(("strFile=%s\n", mData.mOpenInfo.mFilename.c_str()));
     
    473473 * @param   pSvcCbData          Host callback data.
    474474 */
    475 int GuestFile::i_onFileNotify(PVBOXGUESTCTRLHOSTCBCTX pCbCtx, PVBOXGUESTCTRLHOSTCALLBACK pSvcCbData)
     475int GuestFile::i_onNotify(PVBOXGUESTCTRLHOSTCBCTX pCbCtx, PVBOXGUESTCTRLHOSTCALLBACK pSvcCbData)
    476476{
    477477    AssertPtrReturn(pCbCtx, VERR_INVALID_POINTER);
     
    792792 *                              was returned. Optional.
    793793 */
    794 int GuestFile::i_openFile(uint32_t uTimeoutMS, int *prcGuest)
     794int GuestFile::i_open(uint32_t uTimeoutMS, int *prcGuest)
    795795{
    796796    AssertReturn(mData.mOpenInfo.mFilename.isNotEmpty(), VERR_INVALID_PARAMETER);
     
    15281528    /* Close file on guest. */
    15291529    int vrcGuest = VERR_IPE_UNINITIALIZED_STATUS;
    1530     int vrc = i_closeFile(&vrcGuest);
     1530    int vrc = i_close(&vrcGuest);
    15311531    if (RT_FAILURE(vrc))
    15321532    {
  • trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp

    r102833 r104001  
    19901990    {
    19911991        int vrcGuest = VERR_IPE_UNINITIALIZED_STATUS;
    1992         vrc = pFile->i_openFile(30 * 1000 /* 30s timeout */, &vrcGuest);
     1992        vrc = pFile->i_open(30 * 1000 /* 30s timeout */, &vrcGuest);
    19931993        if (   vrc == VERR_GSTCTL_GUEST_ERROR
    19941994            && pvrcGuest)
  • trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp

    r103244 r104001  
    505505{
    506506    int vrcGuest;
    507     int vrc = file->i_closeFile(&vrcGuest);
     507    int vrc = file->i_close(&vrcGuest);
    508508    if (RT_FAILURE(vrc))
    509509    {
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