static int send_solid_rect(VncState *vs)

{

    size_t bytes;



    vnc_write_u8(vs, VNC_TIGHT_FILL << 4); /* no flushing, no filter */



    if (vs->tight_pixel24) {

        tight_pack24(vs, vs->tight.buffer, 1, &vs->tight.offset);

        bytes = 3;

    } else {

        bytes = vs->clientds.pf.bytes_per_pixel;

    }



    vnc_write(vs, vs->tight.buffer, bytes);

    return 1;

}

static int send_solid_rect(VncState *vs)

{

    size_t bytes;



    vnc_write_u8(vs, VNC_TIGHT_FILL << 4); 



    if (vs->tight_pixel24) {

        tight_pack24(vs, vs->tight.buffer, 1, &vs->tight.offset);

        bytes = 3;

    } else {

        bytes = vs->clientds.pf.bytes_per_pixel;

    }



    vnc_write(vs, vs->tight.buffer, bytes);

    return 1;

}

static int FUNC_0(VncState *VAR_0)

{

    size_t bytes;



    vnc_write_u8(VAR_0, VNC_TIGHT_FILL << 4); 



    if (VAR_0->tight_pixel24) {

        tight_pack24(VAR_0, VAR_0->tight.buffer, 1, &VAR_0->tight.offset);

        bytes = 3;

    } else {

        bytes = VAR_0->clientds.pf.bytes_per_pixel;

    }



    vnc_write(VAR_0, VAR_0->tight.buffer, bytes);

    return 1;

}

static int FUNC_0(VncState *VAR_0)
{ size_t bytes; vnc_write_u8(VAR_0, VNC_TIGHT_FILL << 4); if (VAR_0->tight_pixel24) { tight_pack24(VAR_0, VAR_0->tight.buffer, 1, &VAR_0->tight.offset); bytes = 3; } else { bytes = VAR_0->clientds.pf.bytes_per_pixel; } vnc_write(VAR_0, VAR_0->tight.buffer, bytes); return 1; }