static void packet_id_queue_add(struct PacketIdQueue *q, uint64_t id)

{

    USBRedirDevice *dev = q->dev;

    struct PacketIdQueueEntry *e;



    DPRINTF("adding packet id %"PRIu64" to %s queue\n", id, q->name);



    e = g_malloc0(sizeof(struct PacketIdQueueEntry));

    e->id = id;

    QTAILQ_INSERT_TAIL(&q->head, e, next);

    q->size++;

}

static void packet_id_queue_add(struct PacketIdQueue *q, uint64_t id)

{

    USBRedirDevice *dev = q->dev;

    struct PacketIdQueueEntry *e;



    DPRINTF("adding packet id %"PRIu64" to %s queue\n", id, q->name);



    e = g_malloc0(sizeof(struct PacketIdQueueEntry));

    e->id = id;

    QTAILQ_INSERT_TAIL(&q->head, e, next);

    q->size++;

}

    e = g_malloc0(sizeof(struct PacketIdQueueEntry));
static void FUNC_0(struct PacketIdQueue *VAR_0, uint64_t VAR_1)

{

    USBRedirDevice *dev = VAR_0->dev;

    struct PacketIdQueueEntry *VAR_2;



    DPRINTF("adding packet VAR_1 %"PRIu64" to %s queue\n", VAR_1, VAR_0->name);



    VAR_2 = g_malloc0(sizeof(struct PacketIdQueueEntry));

    VAR_2->VAR_1 = VAR_1;

    QTAILQ_INSERT_TAIL(&VAR_0->head, VAR_2, next);

    VAR_0->size++;

}

static void FUNC_0(struct PacketIdQueue *VAR_0, uint64_t VAR_1)
{ USBRedirDevice *dev = VAR_0->dev; struct PacketIdQueueEntry *VAR_2; DPRINTF("adding packet VAR_1 %"PRIu64" to %s queue\n", VAR_1, VAR_0->name); VAR_2 = g_malloc0(sizeof(struct PacketIdQueueEntry)); VAR_2->VAR_1 = VAR_1; QTAILQ_INSERT_TAIL(&VAR_0->head, VAR_2, next); VAR_0->size++; }