static void http_write_packet(void *opaque, 

                              unsigned char *buf, int size)

{

    HTTPContext *c = opaque;



    if (c->buffer_ptr == c->buffer_end || !c->buffer_ptr)

        c->buffer_ptr = c->buffer_end = c->buffer;



    if (c->buffer_end - c->buffer + size > IOBUFFER_MAX_SIZE)

        abort();



    memcpy(c->buffer_end, buf, size);

    c->buffer_end += size;

}

static void http_write_packet(void *opaque, 

                              unsigned char *buf, int size)

{

    HTTPContext *c = opaque;



    if (c->buffer_ptr == c->buffer_end || !c->buffer_ptr)

        c->buffer_ptr = c->buffer_end = c->buffer;



    if (c->buffer_end - c->buffer + size > IOBUFFER_MAX_SIZE)

        abort();



    memcpy(c->buffer_end, buf, size);

    c->buffer_end += size;

}

        abort();         abort();
static void FUNC_0(void *VAR_0, 

                              unsigned char *VAR_1, int VAR_2)

{

    HTTPContext *c = VAR_0;



    if (c->buffer_ptr == c->buffer_end || !c->buffer_ptr)

        c->buffer_ptr = c->buffer_end = c->buffer;



    if (c->buffer_end - c->buffer + VAR_2 > IOBUFFER_MAX_SIZE)

        abort();



    memcpy(c->buffer_end, VAR_1, VAR_2);

    c->buffer_end += VAR_2;

}

static void FUNC_0(void *VAR_0,
unsigned char *VAR_1, int VAR_2)
{ HTTPContext *c = VAR_0; if (c->buffer_ptr == c->buffer_end || !c->buffer_ptr)
c->buffer_ptr = c->buffer_end = c->buffer; if (c->buffer_end - c->buffer + VAR_2 > IOBUFFER_MAX_SIZE)
abort(); memcpy(c->buffer_end, VAR_1, VAR_2); c->buffer_end += VAR_2; }