Changeset 103632 in vbox
- Timestamp:
- Mar 1, 2024 11:13:16 AM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-transfers.cpp
r103630 r103632 64 64 *********************************************************************************************************************************/ 65 65 static int shClSvcTransferSendStatusAsync(PSHCLCLIENT pClient, PSHCLTRANSFER pTransfer, SHCLTRANSFERSTATUS uStatus, int rcTransfer, PSHCLEVENT *ppEvent); 66 static int shClSvcTransfer SetListOpen(uint32_t cParms, VBOXHGCMSVCPARM aParms[], uint64_t idCtx, PSHCLLISTOPENPARMS pOpenParms);67 static int shClSvcTransfer SetListClose(uint32_t cParms, VBOXHGCMSVCPARM aParms[], uint64_t idCtx, SHCLLISTHANDLE hList);66 static int shClSvcTransferMsgSetListOpen(uint32_t cParms, VBOXHGCMSVCPARM aParms[], uint64_t idCtx, PSHCLLISTOPENPARMS pOpenParms); 67 static int shClSvcTransferMsgSetListClose(uint32_t cParms, VBOXHGCMSVCPARM aParms[], uint64_t idCtx, SHCLLISTHANDLE hList); 68 68 69 69 … … 330 330 rc = ShClTransferTransformPath(pOpenParms->pszPath, pOpenParms->cbPath); 331 331 if (RT_SUCCESS(rc)) 332 rc = shClSvcTransfer SetListOpen(pMsg->cParms, pMsg->aParms, pMsg->idCtx, pOpenParms);332 rc = shClSvcTransferMsgSetListOpen(pMsg->cParms, pMsg->aParms, pMsg->idCtx, pOpenParms); 333 333 if (RT_SUCCESS(rc)) 334 334 { … … 401 401 pEvent->idEvent); 402 402 403 rc = shClSvcTransfer SetListClose(pMsg->cParms, pMsg->aParms, pMsg->idCtx, hList);403 rc = shClSvcTransferMsgSetListClose(pMsg->cParms, pMsg->aParms, pMsg->idCtx, hList); 404 404 if (RT_SUCCESS(rc)) 405 405 { … … 876 876 * @param pReply Where to store the reply. 877 877 */ 878 static int shClSvcTransfer GetReply(uint32_t cParms, VBOXHGCMSVCPARM aParms[],879 PSHCLREPLY pReply)878 static int shClSvcTransferMsgGetReply(uint32_t cParms, VBOXHGCMSVCPARM aParms[], 879 PSHCLREPLY pReply) 880 880 { 881 881 int rc; … … 965 965 * @param pRootLstHdr Where to store the transfer root list header on success. 966 966 */ 967 static int shClSvcTransfer GetRootListHdr(uint32_t cParms, VBOXHGCMSVCPARM aParms[],968 PSHCLLISTHDR pRootLstHdr)967 static int shClSvcTransferMsgGetRootListHdr(uint32_t cParms, VBOXHGCMSVCPARM aParms[], 968 PSHCLLISTHDR pRootLstHdr) 969 969 { 970 970 int rc; … … 991 991 * @param pListEntry Where to store the root list entry. 992 992 */ 993 static int shClSvcTransfer GetRootListEntry(uint32_t cParms, VBOXHGCMSVCPARM aParms[],994 PSHCLLISTENTRY pListEntry)993 static int shClSvcTransferMsgGetRootListEntry(uint32_t cParms, VBOXHGCMSVCPARM aParms[], 994 PSHCLLISTENTRY pListEntry) 995 995 { 996 996 int rc; … … 1028 1028 * @param pOpenParms Where to store the open parameters of the request. 1029 1029 */ 1030 static int shClSvcTransfer GetListOpen(uint32_t cParms, VBOXHGCMSVCPARM aParms[],1031 PSHCLLISTOPENPARMS pOpenParms)1030 static int shClSvcTransferMsgGetListOpen(uint32_t cParms, VBOXHGCMSVCPARM aParms[], 1031 PSHCLLISTOPENPARMS pOpenParms) 1032 1032 { 1033 1033 int rc; … … 1059 1059 * @param pOpenParms List open parameters to set. 1060 1060 */ 1061 static int shClSvcTransfer SetListOpen(uint32_t cParms, VBOXHGCMSVCPARM aParms[],1062 uint64_t idCtx, PSHCLLISTOPENPARMS pOpenParms)1061 static int shClSvcTransferMsgSetListOpen(uint32_t cParms, VBOXHGCMSVCPARM aParms[], 1062 uint64_t idCtx, PSHCLLISTOPENPARMS pOpenParms) 1063 1063 { 1064 1064 int rc; … … 1090 1090 * @param hList Handle of list to close. 1091 1091 */ 1092 static int shClSvcTransfer SetListClose(uint32_t cParms, VBOXHGCMSVCPARM aParms[],1093 uint64_t idCtx, SHCLLISTHANDLE hList)1092 static int shClSvcTransferMsgSetListClose(uint32_t cParms, VBOXHGCMSVCPARM aParms[], 1093 uint64_t idCtx, SHCLLISTHANDLE hList) 1094 1094 { 1095 1095 int rc; … … 1118 1118 * @param pListHdr Where to store the list header. 1119 1119 */ 1120 static int shClSvcTransfer GetListHdr(uint32_t cParms, VBOXHGCMSVCPARM aParms[],1121 PSHCLLISTHANDLE phList, PSHCLLISTHDR pListHdr)1120 static int shClSvcTransferMsgGetListHdr(uint32_t cParms, VBOXHGCMSVCPARM aParms[], 1121 PSHCLLISTHANDLE phList, PSHCLLISTHDR pListHdr) 1122 1122 { 1123 1123 int rc; … … 1155 1155 * @param pListHdr Pointer to list header to set. 1156 1156 */ 1157 static int shClSvcTransfer SetListHdr(uint32_t cParms, VBOXHGCMSVCPARM aParms[], PSHCLLISTHDR pListHdr)1157 static int shClSvcTransferMsgSetListHdr(uint32_t cParms, VBOXHGCMSVCPARM aParms[], PSHCLLISTHDR pListHdr) 1158 1158 { 1159 1159 int rc; … … 1186 1186 * @param pListEntry Where to store the list entry. 1187 1187 */ 1188 static int shClSvcTransfer GetListEntry(uint32_t cParms, VBOXHGCMSVCPARM aParms[],1189 PSHCLLISTHANDLE phList, PSHCLLISTENTRY pListEntry)1188 static int shClSvcTransferMsgGetListEntry(uint32_t cParms, VBOXHGCMSVCPARM aParms[], 1189 PSHCLLISTHANDLE phList, PSHCLLISTENTRY pListEntry) 1190 1190 { 1191 1191 int rc; … … 1230 1230 * @param pEntry Pointer list entry to set. 1231 1231 */ 1232 static int shClSvcTransfer SetListEntry(uint32_t cParms, VBOXHGCMSVCPARM aParms[],1233 PSHCLLISTENTRY pEntry)1232 static int shClSvcTransferMsgSetListEntry(uint32_t cParms, VBOXHGCMSVCPARM aParms[], 1233 PSHCLLISTENTRY pEntry) 1234 1234 { 1235 1235 int rc; … … 1310 1310 * @param aParms Array function parameters supplied. 1311 1311 */ 1312 static int shClSvcTransfer HandleReply(PSHCLCLIENT pClient, PSHCLTRANSFER pTransfer, uint32_t cParms, VBOXHGCMSVCPARM aParms[])1312 static int shClSvcTransferMsgHandleReply(PSHCLCLIENT pClient, PSHCLTRANSFER pTransfer, uint32_t cParms, VBOXHGCMSVCPARM aParms[]) 1313 1313 { 1314 1314 LogFlowFunc(("pTransfer=%p\n", pTransfer)); … … 1320 1320 if (pReply) 1321 1321 { 1322 rc = shClSvcTransfer GetReply(cParms, aParms, pReply);1322 rc = shClSvcTransferMsgGetReply(cParms, aParms, pReply); 1323 1323 if (RT_SUCCESS(rc)) 1324 1324 { … … 1625 1625 case VBOX_SHCL_GUEST_FN_REPLY: 1626 1626 { 1627 rc = shClSvcTransfer HandleReply(pClient, pTransfer, cParms, aParms);1627 rc = shClSvcTransferMsgHandleReply(pClient, pTransfer, cParms, aParms); 1628 1628 break; 1629 1629 } … … 1654 1654 { 1655 1655 SHCLLISTHDR lstHdr; 1656 rc = shClSvcTransfer GetRootListHdr(cParms, aParms, &lstHdr);1656 rc = shClSvcTransferMsgGetRootListHdr(cParms, aParms, &lstHdr); 1657 1657 if (RT_SUCCESS(rc)) 1658 1658 { … … 1724 1724 { 1725 1725 SHCLLISTENTRY lstEntry; 1726 rc = shClSvcTransfer GetRootListEntry(cParms, aParms, &lstEntry);1726 rc = shClSvcTransferMsgGetRootListEntry(cParms, aParms, &lstEntry); 1727 1727 if (RT_SUCCESS(rc)) 1728 1728 { … … 1754 1754 1755 1755 SHCLLISTOPENPARMS listOpenParms; 1756 rc = shClSvcTransfer GetListOpen(cParms, aParms, &listOpenParms);1756 rc = shClSvcTransferMsgGetListOpen(cParms, aParms, &listOpenParms); 1757 1757 if (RT_SUCCESS(rc)) 1758 1758 { … … 1794 1794 rc = ShClTransferListGetHeader(pTransfer, hList, &hdrList); 1795 1795 if (RT_SUCCESS(rc)) 1796 rc = shClSvcTransfer SetListHdr(cParms, aParms, &hdrList);1796 rc = shClSvcTransferMsgSetListHdr(cParms, aParms, &hdrList); 1797 1797 } 1798 1798 break; … … 1806 1806 { 1807 1807 SHCLLISTHANDLE hList; 1808 rc = shClSvcTransfer GetListHdr(cParms, aParms, &hList, &hdrList);1808 rc = shClSvcTransferMsgGetListHdr(cParms, aParms, &hList, &hdrList); 1809 1809 if (RT_SUCCESS(rc)) 1810 1810 { … … 1846 1846 rc = ShClTransferListRead(pTransfer, hList, &entryList); 1847 1847 if (RT_SUCCESS(rc)) 1848 rc = shClSvcTransfer SetListEntry(cParms, aParms, &entryList);1848 rc = shClSvcTransferMsgSetListEntry(cParms, aParms, &entryList); 1849 1849 } 1850 1850 } … … 1859 1859 { 1860 1860 SHCLLISTHANDLE hList; 1861 rc = shClSvcTransfer GetListEntry(cParms, aParms, &hList, &entryList);1861 rc = shClSvcTransferMsgGetListEntry(cParms, aParms, &hList, &entryList); 1862 1862 if (RT_SUCCESS(rc)) 1863 1863 {
Note:
See TracChangeset
for help on using the changeset viewer.