Lines Matching defs:pfnServe
139 PFNRTTCPSERVE pfnServe;
210 * The thread will loop accepting connections and call pfnServe for
211 * each of the incoming connections in turn. The pfnServe function can
221 * @param pfnServe The function which will serve a new client connection.
222 * @param pvUser User argument passed to pfnServe.
226 PFNRTTCPSERVE pfnServe, void *pvUser, PPRTTCPSERVER ppServer)
232 AssertPtrReturn(pfnServe, VERR_INVALID_POINTER);
249 pServer->pfnServe = pfnServe;
355 pServer->pfnServe = NULL;
377 * The function will loop accepting connections and call pfnServe for
378 * each of the incoming connections in turn. The pfnServe function can
383 * @retval VERR_TCP_SERVER_STOP if stopped by pfnServe.
387 * @param pfnServe The function which will serve a new client connection.
388 * @param pvUser User argument passed to pfnServe.
390 RTR3DECL(int) RTTcpServerListen(PRTTCPSERVER pServer, PFNRTTCPSERVE pfnServe, void *pvUser)
395 AssertPtrReturn(pfnServe, VERR_INVALID_POINTER);
403 Assert(!pServer->pfnServe);
408 pServer->pfnServe = pfnServe;
483 * Run a pfnServe callback.
492 rc = pServer->pfnServe(hClientSocket, pServer->pvUser);
606 Assert(!pServer->pfnServe);