VirtualBox

Changeset 100233 in vbox for trunk/include


Ignore:
Timestamp:
Jun 21, 2023 10:25:48 AM (18 months ago)
Author:
vboxsync
Message:

Shared Clipboard: Added dedicated functions to stop the HTTP server without destroying it, plus separate initialized / running flags. bugref:9437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/GuestHost/SharedClipboard-transfers.h

    r100212 r100233  
    984984    /** A new transfer got registered. */
    985985    SHCLHTTPSERVERSTATUS_TRANSFER_REGISTERED   = 0x1,
    986     /** A new transfer got registered. */
     986    /** A transfer got unregistered. */
    987987    SHCLHTTPSERVERSTATUS_TRANSFER_UNREGISTERED = 0x2
    988988} SHCLHTTPSERVERSTATUS;
     
    998998     *  Updates \a enmStatus. */
    999999    RTSEMEVENT           StatusEvent;
     1000    /** Initialized indicator. */
     1001    bool                 fInitialized;
     1002    /** Running indicator. */
     1003    bool                 fRunning;
    10001004    /** Current status. */
    10011005    SHCLHTTPSERVERSTATUS enmStatus;
     
    11881192 *  @{
    11891193 */
     1194int ShClTransferHttpServerInit(PSHCLHTTPSERVER pSrv);
     1195int ShClTransferHttpServerDestroy(PSHCLHTTPSERVER pSrv);
    11901196int ShClTransferHttpServerStart(PSHCLHTTPSERVER pSrv, unsigned cMaxAttempts, uint16_t *puPort);
    11911197int ShClTransferHttpServerStartEx(PSHCLHTTPSERVER pSrv, uint16_t uPort);
    1192 int ShClTransferHttpServerDestroy(PSHCLHTTPSERVER pSrv);
    1193 int ShClTransferHttpServerInit(PSHCLHTTPSERVER pSrv);
     1198int ShClTransferHttpServerStop(PSHCLHTTPSERVER pSrv);
    11941199int ShClTransferHttpServerRegisterTransfer(PSHCLHTTPSERVER pSrv, PSHCLTRANSFER pTransfer);
    11951200int ShClTransferHttpServerUnregisterTransfer(PSHCLHTTPSERVER pSrv, PSHCLTRANSFER pTransfer);
    11961201PSHCLTRANSFER ShClTransferHttpServerGetTransferFirst(PSHCLHTTPSERVER pSrv);
     1202PSHCLTRANSFER ShClTransferHttpServerGetTransferLast(PSHCLHTTPSERVER pSrv);
    11971203bool ShClTransferHttpServerGetTransfer(PSHCLHTTPSERVER pSrv, SHCLTRANSFERID idTransfer);
    11981204uint16_t ShClTransferHttpServerGetPort(PSHCLHTTPSERVER pSrv);
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