Changeset 87686 in vbox
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/GuestHost/SharedClipboard-transfers.h
r87658 r87686 957 957 958 958 #ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS_HTTP 959 int ShClHttpTransfer Create(PSHCLHTTPCONTEXT pCtx, PSHCLTRANSFER pTransfer);960 int ShClHttpTransfer Destroy(PSHCLHTTPCONTEXT pCtx, PSHCLTRANSFER pTransfer);959 int ShClHttpTransferRegister(PSHCLHTTPCONTEXT pCtx, PSHCLTRANSFER pTransfer); 960 int ShClHttpTransferUnregister(PSHCLHTTPCONTEXT pCtx, PSHCLTRANSFER pTransfer); 961 961 962 962 int ShClTransferHttpServerCreate(PSHCLHTTPSERVER pSrv, uint16_t *puPort); -
trunk/src/VBox/GuestHost/SharedClipboard/clipboard-transfers-http.cpp
r87658 r87686 85 85 *********************************************************************************************************************************/ 86 86 87 int ShClHttpTransferCreate(PSHCLHTTPCONTEXT pCtx, PSHCLTRANSFER pTransfer) 87 /** 88 * Registers a Shared Clipboard transfer to a HTTP context. 89 * 90 * @returns VBox status code. 91 * @param pCtx HTTP context to register transfer for. 92 * @param pTransfer Transfer to register. 93 */ 94 int ShClHttpTransferRegister(PSHCLHTTPCONTEXT pCtx, PSHCLTRANSFER pTransfer) 88 95 { 89 96 int rc = VINF_SUCCESS; … … 99 106 } 100 107 101 int ShClHttpTransferDestroy(PSHCLHTTPCONTEXT pCtx, PSHCLTRANSFER pTransfer) 108 /** 109 * Unregisters a formerly registered Shared Clipboard transfer. 110 * 111 * @returns VBox status code. 112 * @param pCtx HTTP context to unregister transfer from. 113 * @param pTransfer Transfer to unregister. 114 */ 115 int ShClHttpTransferUnregister(PSHCLHTTPCONTEXT pCtx, PSHCLTRANSFER pTransfer) 102 116 { 103 117 int rc = VINF_SUCCESS; -
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11.cpp
r87566 r87686 396 396 { 397 397 #ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS_HTTP 398 return ShClHttpTransfer Create(&pClient->State.pCtx->X11.HttpCtx, pTransfer);398 return ShClHttpTransferRegister(&pClient->State.pCtx->X11.HttpCtx, pTransfer); 399 399 #else 400 400 RT_NOREF(pClient, pTransfer); … … 406 406 { 407 407 #ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS_HTTP 408 return ShClHttpTransfer Destroy(&pClient->State.pCtx->X11.HttpCtx, pTransfer);408 return ShClHttpTransferUnregister(&pClient->State.pCtx->X11.HttpCtx, pTransfer); 409 409 #else 410 410 RT_NOREF(pClient, pTransfer);
Note:
See TracChangeset
for help on using the changeset viewer.