static ssize_t vnc_tls_pull(gnutls_transport_ptr_t transport,

                            void *data,

                            size_t len) {

    struct VncState *vs = (struct VncState *)transport;

    int ret;



 retry:

    ret = recv(vs->csock, data, len, 0);

    if (ret < 0) {

	if (errno == EINTR)

	    goto retry;

	return -1;

    }

    return ret;

}

static ssize_t vnc_tls_pull(gnutls_transport_ptr_t transport,

                            void *data,

                            size_t len) {

    struct VncState *vs = (struct VncState *)transport;

    int ret;



 retry:

    ret = recv(vs->csock, data, len, 0);

    if (ret < 0) {

	if (errno == EINTR)

	    goto retry;

	return -1;

    }

    return ret;

}

static ssize_t FUNC_0(gnutls_transport_ptr_t transport,

                            void *data,

                            size_t len) {

    struct VncState *VAR_0 = (struct VncState *)transport;

    int VAR_1;



 retry:

    VAR_1 = recv(VAR_0->csock, data, len, 0);

    if (VAR_1 < 0) {

	if (errno == EINTR)

	    goto retry;

	return -1;

    }

    return VAR_1;

}

static ssize_t FUNC_0(gnutls_transport_ptr_t transport,
void *data,
size_t len) { struct VncState *VAR_0 = (struct VncState *)transport; int VAR_1; retry:
VAR_1 = recv(VAR_0->csock, data, len, 0); if (VAR_1 < 0) { if (errno == EINTR)
goto retry; return -1; } return VAR_1; }