Changeset 62787 in vbox for trunk/src/VBox
- Timestamp:
- Aug 1, 2016 7:01:38 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedFolders/service.cpp
r62489 r62787 1 /* $Id$ */ 1 2 /** @file 2 * Shared Folders :Host service entry points.3 * Shared Folders - Host service entry points. 3 4 */ 4 5 … … 32 33 33 34 34 /* Shared Folders Host Service.35 /** @page pg_shfl_svc Shared Folders Host Service 35 36 * 36 37 * Shared Folders map a host file system to guest logical filesystem. … … 84 85 static DECLCALLBACK(int) svcConnect (void *, uint32_t u32ClientID, void *pvClient) 85 86 { 87 RT_NOREF2(u32ClientID, pvClient); 86 88 int rc = VINF_SUCCESS; 87 88 NOREF(u32ClientID);89 NOREF(pvClient);90 89 91 90 Log(("SharedFolders host service: connected, u32ClientID = %u\n", u32ClientID)); … … 96 95 static DECLCALLBACK(int) svcDisconnect (void *, uint32_t u32ClientID, void *pvClient) 97 96 { 97 RT_NOREF1(u32ClientID); 98 98 int rc = VINF_SUCCESS; 99 99 SHFLCLIENTDATA *pClient = (SHFLCLIENTDATA *)pvClient; … … 114 114 { 115 115 #ifndef UNITTEST /* Read this as not yet tested */ 116 RT_NOREF1(u32ClientID); 116 117 SHFLCLIENTDATA *pClient = (SHFLCLIENTDATA *)pvClient; 117 118 … … 169 170 } 170 171 172 #else 173 RT_NOREF3(u32ClientID, pvClient, pSSM); 171 174 #endif 172 175 return VINF_SUCCESS; … … 176 179 { 177 180 #ifndef UNITTEST /* Read this as not yet tested */ 181 RT_NOREF1(u32ClientID); 178 182 uint32_t nrMappings; 179 183 SHFLCLIENTDATA *pClient = (SHFLCLIENTDATA *)pvClient; … … 286 290 } 287 291 Log(("SharedFolders host service: successfully loaded state\n")); 292 #else 293 RT_NOREF3(u32ClientID, pvClient, pSSM); 288 294 #endif 289 295 return VINF_SUCCESS; … … 292 298 static DECLCALLBACK(void) svcCall (void *, VBOXHGCMCALLHANDLE callHandle, uint32_t u32ClientID, void *pvClient, uint32_t u32Function, uint32_t cParms, VBOXHGCMSVCPARM paParms[]) 293 299 { 300 RT_NOREF1(u32ClientID); 294 301 int rc = VINF_SUCCESS; 295 302 … … 300 307 bool fAsynchronousProcessing = false; 301 308 302 #ifdef DEBUG 303 uint32_t i; 304 305 for (i = 0; i < cParms; i++) 309 #ifdef LOG_ENABLED 310 for (uint32_t i = 0; i < cParms; i++) 306 311 { 307 312 /** @todo parameters other than 32 bit */
Note:
See TracChangeset
for help on using the changeset viewer.