Searched refs:wsctx (Results 1 – 4 of 4) sorted by relevance
259 ws_ctx_t *wsctx = NULL; in webSocketsHandshake() local422 wsctx = calloc(1, sizeof(ws_ctx_t)); in webSocketsHandshake()424 wsctx->version = WEBSOCKETS_VERSION_HYBI; in webSocketsHandshake()425 wsctx->encode = webSocketsEncodeHybi; in webSocketsHandshake()426 wsctx->decode = webSocketsDecodeHybi; in webSocketsHandshake()428 wsctx->version = WEBSOCKETS_VERSION_HIXIE; in webSocketsHandshake()429 wsctx->encode = webSocketsEncodeHixie; in webSocketsHandshake()430 wsctx->decode = webSocketsDecodeHixie; in webSocketsHandshake()432 wsctx->base64 = base64; in webSocketsHandshake()433 cl->wsctx = (wsCtx *)wsctx; in webSocketsHandshake()[all …]
579 if (cl->wsctx) { in rfbReadExactTimeout()758 if (cl->wsctx) { in rfbWriteExact()
1997 if (cl->wsctx && webSocketCheckDisconnect(cl)) in rfbProcessClientNormalMessage()
695 wsCtx *wsctx; member