Changeset 34558 in vbox for trunk/src/VBox/HostServices/auth/directoryservice
- Timestamp:
- Dec 1, 2010 10:56:44 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 68349
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/auth/directoryservice/directoryservice.cpp
r33185 r34558 258 258 259 259 RT_C_DECLS_BEGIN 260 DECLEXPORT( VRDPAuthResult) VRDPAUTHCALL VRDPAuth(PVRDPAUTHUUID pUuid,261 VRDPAuthGuestJudgement guestJudgement,262 263 264 260 DECLEXPORT(AuthResult) AUTHCALL VRDPAuth(PAUTHUUID pUuid, 261 AuthGuestJudgement guestJudgement, 262 const char *pszUser, 263 const char *pszPassword, 264 const char *pszDomain) 265 265 { 266 266 /* Validate input */ 267 AssertPtrReturn(pszUser, VRDPAuthAccessDenied);268 AssertPtrReturn(pszPassword, VRDPAuthAccessDenied);267 AssertPtrReturn(pszUser, AuthResultAccessDenied); 268 AssertPtrReturn(pszPassword, AuthResultAccessDenied); 269 269 270 270 /* Result to a default value */ 271 VRDPAuthResult result = VRDPAuthAccessDenied;271 AuthResult result = AuthResultAccessDenied; 272 272 273 273 tDirStatus dsErr = eDSNoErr; … … 299 299 dsErr = authWithNode(pDirRef, pAuthNodeList, pszUser, pszPassword); 300 300 if (dsErr == eDSNoErr) 301 result = VRDPAuthAccessGranted;301 result = AuthResultAccessGranted; 302 302 dsCleanErr = dsDataListDeallocate(pDirRef, pAuthNodeList); 303 303 if (dsCleanErr == eDSNoErr) … … 317 317 RT_C_DECLS_END 318 318 319 static P VRDPAUTHENTRY gpfnAuthEntry = VRDPAuth;320 319 static PAUTHENTRY gpfnAuthEntry = VRDPAuth; 320
Note:
See TracChangeset
for help on using the changeset viewer.