static int curl_aio_flush(void *opaque)

{

    BDRVCURLState *s = opaque;

    int i, j;



    for (i=0; i < CURL_NUM_STATES; i++) {

        for(j=0; j < CURL_NUM_ACB; j++) {

            if (s->states[i].acb[j]) {

                return 1;

            }

        }

    }

    return 0;

}

static int curl_aio_flush(void *opaque)

{

    BDRVCURLState *s = opaque;

    int i, j;



    for (i=0; i < CURL_NUM_STATES; i++) {

        for(j=0; j < CURL_NUM_ACB; j++) {

            if (s->states[i].acb[j]) {

                return 1;

            }

        }

    }

    return 0;

}

static int FUNC_0(void *VAR_0)

{

    BDRVCURLState *s = VAR_0;

    int VAR_1, VAR_2;



    for (VAR_1=0; VAR_1 < CURL_NUM_STATES; VAR_1++) {

        for(VAR_2=0; VAR_2 < CURL_NUM_ACB; VAR_2++) {

            if (s->states[VAR_1].acb[VAR_2]) {

                return 1;

            }

        }

    }

    return 0;

}

static int FUNC_0(void *VAR_0)
{ BDRVCURLState *s = VAR_0; int VAR_1, VAR_2; for (VAR_1=0; VAR_1 < CURL_NUM_STATES; VAR_1++) { for(VAR_2=0; VAR_2 < CURL_NUM_ACB; VAR_2++) { if (s->states[VAR_1].acb[VAR_2]) { return 1; } } } return 0; }