Changeset 105635 in vbox for trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-internal.h
- Timestamp:
- Aug 9, 2024 9:38:27 AM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-internal.h
r103630 r105635 73 73 typedef SHCLCLIENTMSG *PSHCLCLIENTMSG; 74 74 75 #ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS 75 76 typedef struct SHCLCLIENTTRANSFERSTATE 76 77 { … … 78 79 SHCLTRANSFERDIR enmTransferDir; 79 80 } SHCLCLIENTTRANSFERSTATE, *PSHCLCLIENTTRANSFERSTATE; 81 #endif 80 82 81 83 /** … … 169 171 /** POD (plain old data) state. */ 170 172 SHCLCLIENTPODSTATE POD; 173 #ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS 171 174 /** The client's transfers state. */ 172 175 SHCLCLIENTTRANSFERSTATE Transfers; 176 #endif 173 177 } SHCLCLIENTSTATE, *PSHCLCLIENTSTATE; 174 178 … … 288 292 extern SHCLEXTSTATE g_ExtState; 289 293 290 void shClSvcMsgQueueReset(PSHCLCLIENT pClient); 291 PSHCLCLIENTMSG shClSvcMsgAlloc(PSHCLCLIENT pClient, uint32_t uMsg, uint32_t cParms); 292 void shClSvcMsgFree(PSHCLCLIENT pClient, PSHCLCLIENTMSG pMsg); 293 void shClSvcMsgAdd(PSHCLCLIENT pClient, PSHCLCLIENTMSG pMsg, bool fAppend); 294 int shClSvcMsgAddAndWakeupClient(PSHCLCLIENT pClient, PSHCLCLIENTMSG pMsg); 295 296 int shClSvcClientInit(PSHCLCLIENT pClient, uint32_t uClientID); 297 void shClSvcClientDestroy(PSHCLCLIENT pClient); 298 void shClSvcClientLock(PSHCLCLIENT pClient); 299 void shClSvcClientUnlock(PSHCLCLIENT pClient); 300 void shClSvcClientReset(PSHCLCLIENT pClient); 301 302 int shClSvcClientStateInit(PSHCLCLIENTSTATE pClientState, uint32_t uClientID); 303 int shClSvcClientStateDestroy(PSHCLCLIENTSTATE pClientState); 304 void shclSvcClientStateReset(PSHCLCLIENTSTATE pClientState); 305 306 int shClSvcClientWakeup(PSHCLCLIENT pClient); 294 /** @name Service client functions. 295 * @{ 296 */ 297 PSHCLCLIENTMSG ShClSvcClientMsgAlloc(PSHCLCLIENT pClient, uint32_t uMsg, uint32_t cParms); 298 void ShClSvcClientMsgFree(PSHCLCLIENT pClient, PSHCLCLIENTMSG pMsg); 299 void ShClSvcClientMsgAdd(PSHCLCLIENT pClient, PSHCLCLIENTMSG pMsg, bool fAppend); 300 301 int ShClSvcClientInit(PSHCLCLIENT pClient, uint32_t uClientID); /* For testcases. */ 302 303 void ShClSvcClientLock(PSHCLCLIENT pClient); 304 void ShClSvcClientUnlock(PSHCLCLIENT pClient); 305 306 int ShClSvcClientWakeup(PSHCLCLIENT pClient); 307 /** @} */ 307 308 308 309 /** @name Service functions, accessible by the backends.
Note:
See TracChangeset
for help on using the changeset viewer.