qio_channel_websock_source_dispatch(GSource *source,

                                    GSourceFunc callback,

                                    gpointer user_data)

{

    QIOChannelFunc func = (QIOChannelFunc)callback;

    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 (*func)(QIO_CHANNEL(wsource->wioc),

                   (cond & wsource->condition),

                   user_data);

}

qio_channel_websock_source_dispatch(GSource *source,

                                    GSourceFunc callback,

                                    gpointer user_data)

{

    QIOChannelFunc func = (QIOChannelFunc)callback;

    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 (*func)(QIO_CHANNEL(wsource->wioc),

                   (cond & wsource->condition),

                   user_data);

}

    if (wsource->wioc->rawinput.offset) {     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;     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;                    (cond & wsource->condition),
FUNC_0(GSource *VAR_0,

                                    GSourceFunc VAR_1,

                                    gpointer VAR_2)

{

    QIOChannelFunc func = (QIOChannelFunc)VAR_1;

    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 (*func)(QIO_CHANNEL(wsource->wioc),

                   (cond & wsource->condition),

                   VAR_2);

}

FUNC_0(GSource *VAR_0,
GSourceFunc VAR_1,
gpointer VAR_2)
{ QIOChannelFunc func = (QIOChannelFunc)VAR_1; 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 (*func)(QIO_CHANNEL(wsource->wioc),
(cond & wsource->condition),
VAR_2); }