static void qxl_log_cmd_draw(PCIQXLDevice *qxl, QXLDrawable *draw, int group_id)

{

    fprintf(stderr, ": surface_id %d type %s effect %s",

            draw->surface_id,

            qxl_name(qxl_draw_type, draw->type),

            qxl_name(qxl_draw_effect, draw->effect));

    switch (draw->type) {

    case QXL_DRAW_COPY:

        qxl_log_cmd_draw_copy(qxl, &draw->u.copy, group_id);

        break;

    }

}

static void qxl_log_cmd_draw(PCIQXLDevice *qxl, QXLDrawable *draw, int group_id)

{

    fprintf(stderr, ": surface_id %d type %s effect %s",

            draw->surface_id,

            qxl_name(qxl_draw_type, draw->type),

            qxl_name(qxl_draw_effect, draw->effect));

    switch (draw->type) {

    case QXL_DRAW_COPY:

        qxl_log_cmd_draw_copy(qxl, &draw->u.copy, group_id);

        break;

    }

}

static void FUNC_0(PCIQXLDevice *VAR_0, QXLDrawable *VAR_1, int VAR_2)

{

    fprintf(stderr, ": surface_id %d type %s effect %s",

            VAR_1->surface_id,

            qxl_name(qxl_draw_type, VAR_1->type),

            qxl_name(qxl_draw_effect, VAR_1->effect));

    switch (VAR_1->type) {

    case QXL_DRAW_COPY:

        qxl_log_cmd_draw_copy(VAR_0, &VAR_1->u.copy, VAR_2);

        break;

    }

}

static void FUNC_0(PCIQXLDevice *VAR_0, QXLDrawable *VAR_1, int VAR_2)
{ fprintf(stderr, ": surface_id %d type %s effect %s",
VAR_1->surface_id,
qxl_name(qxl_draw_type, VAR_1->type),
qxl_name(qxl_draw_effect, VAR_1->effect)); switch (VAR_1->type) { case QXL_DRAW_COPY:
qxl_log_cmd_draw_copy(VAR_0, &VAR_1->u.copy, VAR_2); break; } }