openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/libvncserver/0.9.12+gitAUTOINC+c0a23857a5-r0/git/libvncserver/websockets.c
rfbBool webSocketsHasDataInBuffer(rfbClientPtr cl)
{
    ws_ctx_t* wsctx = (ws_ctx_t*)cl->wsctx;

    if (wsctx && wsctx->readlen)
        return TRUE;

    return (cl->sslctx && rfbssl_pending(cl) > 0);
}
/* returns TRUE if there is data waiting to be read in our internal buffer
 * or if is there any pending data in the buffer of the SSL implementation
 */
returns TRUE if there is data waiting to be read in our internal buffer
or if is there any pending data in the buffer of the SSL implementation
returns TRUE if there is data waiting to be read in our internal buffer or if is there any pending data in the buffer of the SSL implementation
rfbBool webSocketsHasDataInBuffer(rfbClientPtr cl)
{
    ws_ctx_t* wsctx = (ws_ctx_t*)cl->wsctx;
    if (wsctx && wsctx->readlen)
        return TRUE;
    return (cl->sslctx && rfbssl_pending(cl) > 0);
}
rfbBool webSocketsHasDataInBuffer ( rfbClientPtr cl ) { ws_ctx_t * wsctx = ( ws_ctx_t * ) cl -> wsctx ; if ( wsctx && wsctx -> readlen ) return TRUE ; return ( cl -> sslctx && rfbssl_pending ( cl ) > 0 ) ; }
returns TRUE if there is data waiting to be read in our internal buffer
 or if is there any pending data in the buffer of the SSL implementation
returns TRUE if there is data waiting to be read in our internal buffer or if is there any pending data in the buffer of the SSL implementation