VirtualBox

Ignore:
Timestamp:
Dec 9, 2020 2:12:21 PM (4 years ago)
Author:
vboxsync
Message:

Shared Clipboard/Transfers: Added ShClTransferHttpServerIsRunning(). bugref:9874

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/SharedClipboard/clipboard-transfers-http.cpp

    r87066 r87067  
    550550}
    551551
     552/**
     553 * Returns whether a given HTTP server instance is running or not.
     554 *
     555 * @returns \c true if running, or \c false if not.
     556 * @param   pSrv                HTTP server instance to check running state for.
     557 */
     558bool ShClTransferHttpServerIsRunning(PSHCLHTTPSERVER pSrv)
     559{
     560    AssertPtrReturn(pSrv, false);
     561
     562    return (pSrv->hHTTPServer != NIL_RTHTTPSERVER); /* Seems enough for now. */
     563}
     564
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