static void bdrv_password_cb(void *opaque, const char *password,

                             void *readline_opaque)

{

    Monitor *mon = opaque;

    BlockDriverState *bs = readline_opaque;

    int ret = 0;

    Error *local_err = NULL;



    bdrv_add_key(bs, password, &local_err);

    if (local_err) {

        error_report_err(local_err);

        ret = -EPERM;

    }

    if (mon->password_completion_cb)

        mon->password_completion_cb(mon->password_opaque, ret);



    monitor_read_command(mon, 1);

}

static void bdrv_password_cb(void *opaque, const char *password,

                             void *readline_opaque)

{

    Monitor *mon = opaque;

    BlockDriverState *bs = readline_opaque;

    int ret = 0;

    Error *local_err = NULL;



    bdrv_add_key(bs, password, &local_err);

    if (local_err) {

        error_report_err(local_err);

        ret = -EPERM;

    }

    if (mon->password_completion_cb)

        mon->password_completion_cb(mon->password_opaque, ret);



    monitor_read_command(mon, 1);

}

static void bdrv_password_cb(void *opaque, const char *password,                              void *readline_opaque)     Monitor *mon = opaque;     BlockDriverState *bs = readline_opaque;     int ret = 0;     Error *local_err = NULL;     bdrv_add_key(bs, password, &local_err);     if (local_err) {         error_report_err(local_err);         ret = -EPERM;     if (mon->password_completion_cb)         mon->password_completion_cb(mon->password_opaque, ret);     monitor_read_command(mon, 1);     Error *local_err = NULL;
static void FUNC_0(void *VAR_0, const char *VAR_1,

                             void *VAR_2)

{

    Monitor *mon = VAR_0;

    BlockDriverState *bs = VAR_2;

    int VAR_3 = 0;

    Error *local_err = NULL;



    bdrv_add_key(bs, VAR_1, &local_err);

    if (local_err) {

        error_report_err(local_err);

        VAR_3 = -EPERM;

    }

    if (mon->password_completion_cb)

        mon->password_completion_cb(mon->password_opaque, VAR_3);



    monitor_read_command(mon, 1);

}

static void FUNC_0(void *VAR_0, const char *VAR_1,
void *VAR_2)
{ Monitor *mon = VAR_0; BlockDriverState *bs = VAR_2; int VAR_3 = 0; Error *local_err = NULL; bdrv_add_key(bs, VAR_1, &local_err); if (local_err) { error_report_err(local_err); VAR_3 = -EPERM; } if (mon->password_completion_cb)
mon->password_completion_cb(mon->password_opaque, VAR_3); monitor_read_command(mon, 1); }