Lines Matching refs:pClient
306 * @param pClient Pointer where to store the client information.
308 static int vboxServiceGetLAClientInfo(uint32_t uClientID, PVBOXSERVICELACLIENTINFO pClient)
311 AssertPtrReturn(pClient, VERR_INVALID_POINTER);
313 int rc = vboxServiceGetLAClientValue(uClientID, "Name", &pClient->pszName,
319 &pClient->uAttachedTS);
323 pClient->fAttached = !RTStrICmp(pszAttach, "1") ? true : false;
329 rc = vboxServiceGetLAClientValue(uClientID, "Location", &pClient->pszLocation,
332 rc = vboxServiceGetLAClientValue(uClientID, "Domain", &pClient->pszDomain,
335 pClient->uID = uClientID;
344 * @param pClient Pointer to client information structure to free.
346 static void vboxServiceFreeLAClientInfo(PVBOXSERVICELACLIENTINFO pClient)
348 if (pClient)
350 if (pClient->pszName)
352 RTStrFree(pClient->pszName);
353 pClient->pszName = NULL;
355 if (pClient->pszLocation)
357 RTStrFree(pClient->pszLocation);
358 pClient->pszLocation = NULL;
360 if (pClient->pszDomain)
362 RTStrFree(pClient->pszDomain);
363 pClient->pszDomain = NULL;