static void vnc_dpy_copy(DisplayState *ds, int src_x, int src_y, int dst_x, int dst_y, int w, int h)

{

    VncDisplay *vd = ds->opaque;

    VncState *vs = vd->clients;

    while (vs != NULL) {

        if (vnc_has_feature(vs, VNC_FEATURE_COPYRECT))

            vnc_copy(vs, src_x, src_y, dst_x, dst_y, w, h);

        else /* TODO */

            vnc_update(vs, dst_x, dst_y, w, h);

        vs = vs->next;

    }

}

static void vnc_dpy_copy(DisplayState *ds, int src_x, int src_y, int dst_x, int dst_y, int w, int h)

{

    VncDisplay *vd = ds->opaque;

    VncState *vs = vd->clients;

    while (vs != NULL) {

        if (vnc_has_feature(vs, VNC_FEATURE_COPYRECT))

            vnc_copy(vs, src_x, src_y, dst_x, dst_y, w, h);

        else 

            vnc_update(vs, dst_x, dst_y, w, h);

        vs = vs->next;

    }

}

    VncState *vs = vd->clients;     while (vs != NULL) {         vs = vs->next;
static void FUNC_0(DisplayState *VAR_0, int VAR_1, int VAR_2, int VAR_3, int VAR_4, int VAR_5, int VAR_6)

{

    VncDisplay *vd = VAR_0->opaque;

    VncState *vs = vd->clients;

    while (vs != NULL) {

        if (vnc_has_feature(vs, VNC_FEATURE_COPYRECT))

            vnc_copy(vs, VAR_1, VAR_2, VAR_3, VAR_4, VAR_5, VAR_6);

        else 

            vnc_update(vs, VAR_3, VAR_4, VAR_5, VAR_6);

        vs = vs->next;

    }

}

static void FUNC_0(DisplayState *VAR_0, int VAR_1, int VAR_2, int VAR_3, int VAR_4, int VAR_5, int VAR_6)
{ VncDisplay *vd = VAR_0->opaque; VncState *vs = vd->clients; while (vs != NULL) { if (vnc_has_feature(vs, VNC_FEATURE_COPYRECT))
vnc_copy(vs, VAR_1, VAR_2, VAR_3, VAR_4, VAR_5, VAR_6); else
vnc_update(vs, VAR_3, VAR_4, VAR_5, VAR_6); vs = vs->next; } }