qio_channel_websock_source_check(GSource *source)

{

    QIOChannelWebsockSource *wsource = (QIOChannelWebsockSource *)source;

    GIOCondition cond = 0;



    if (wsource->wioc->rawinput.offset) {

        cond |= G_IO_IN;

    }

    if (wsource->wioc->rawoutput.offset < QIO_CHANNEL_WEBSOCK_MAX_BUFFER) {

        cond |= G_IO_OUT;

    }



    return cond & wsource->condition;

}

qio_channel_websock_source_check(GSource *source)

{

    QIOChannelWebsockSource *wsource = (QIOChannelWebsockSource *)source;

    GIOCondition cond = 0;



    if (wsource->wioc->rawinput.offset) {

        cond |= G_IO_IN;

    }

    if (wsource->wioc->rawoutput.offset < QIO_CHANNEL_WEBSOCK_MAX_BUFFER) {

        cond |= G_IO_OUT;

    }



    return cond & wsource->condition;

}

    if (wsource->wioc->rawinput.offset) { qio_channel_websock_source_check(GSource *source)     QIOChannelWebsockSource *wsource = (QIOChannelWebsockSource *)source;     GIOCondition cond = 0;     if (wsource->wioc->rawinput.offset) {         cond |= G_IO_IN;     if (wsource->wioc->rawoutput.offset < QIO_CHANNEL_WEBSOCK_MAX_BUFFER) {         cond |= G_IO_OUT;     return cond & wsource->condition;     GIOCondition cond = 0;     if (wsource->wioc->rawinput.offset) {         cond |= G_IO_IN;     if (wsource->wioc->rawoutput.offset < QIO_CHANNEL_WEBSOCK_MAX_BUFFER) {         cond |= G_IO_OUT;
FUNC_0(GSource *VAR_0)

{

    QIOChannelWebsockSource *wsource = (QIOChannelWebsockSource *)VAR_0;

    GIOCondition cond = 0;



    if (wsource->wioc->rawinput.offset) {

        cond |= G_IO_IN;

    }

    if (wsource->wioc->rawoutput.offset < QIO_CHANNEL_WEBSOCK_MAX_BUFFER) {

        cond |= G_IO_OUT;

    }



    return cond & wsource->condition;

}

FUNC_0(GSource *VAR_0)
{ QIOChannelWebsockSource *wsource = (QIOChannelWebsockSource *)VAR_0; GIOCondition cond = 0; if (wsource->wioc->rawinput.offset) { cond |= G_IO_IN; } if (wsource->wioc->rawoutput.offset < QIO_CHANNEL_WEBSOCK_MAX_BUFFER) { cond |= G_IO_OUT; } return cond & wsource->condition; }