static void qmp_input_start_struct(Visitor *v, const char *name, void **obj,

                                   size_t size, Error **errp)

{

    QmpInputVisitor *qiv = to_qiv(v);

    QObject *qobj = qmp_input_get_object(qiv, name, true);

    Error *err = NULL;






    if (!qobj || qobject_type(qobj) != QTYPE_QDICT) {

        error_setg(errp, QERR_INVALID_PARAMETER_TYPE, name ? name : "null",

                   "QDict");

        return;




    qmp_input_push(qiv, qobj, &err);

    if (err) {

        error_propagate(errp, err);

        return;





        *obj = g_malloc0(size);


static void qmp_input_start_struct(Visitor *v, const char *name, void **obj,

                                   size_t size, Error **errp)

{

    QmpInputVisitor *qiv = to_qiv(v);

    QObject *qobj = qmp_input_get_object(qiv, name, true);

    Error *err = NULL;






    if (!qobj || qobject_type(qobj) != QTYPE_QDICT) {

        error_setg(errp, QERR_INVALID_PARAMETER_TYPE, name ? name : "null",

                   "QDict");

        return;




    qmp_input_push(qiv, qobj, &err);

    if (err) {

        error_propagate(errp, err);

        return;





        *obj = g_malloc0(size);


static void FUNC_0(Visitor *VAR_0, const char *VAR_1, void **VAR_2,

                                   size_t VAR_3, Error **VAR_4)

{

    QmpInputVisitor *qiv = to_qiv(VAR_0);

    QObject *qobj = qmp_input_get_object(qiv, VAR_1, true);

    Error *err = NULL;






    if (!qobj || qobject_type(qobj) != QTYPE_QDICT) {

        error_setg(VAR_4, QERR_INVALID_PARAMETER_TYPE, VAR_1 ? VAR_1 : "null",

                   "QDict");

        return;




    qmp_input_push(qiv, qobj, &err);

    if (err) {

        error_propagate(VAR_4, err);

        return;





        *VAR_2 = g_malloc0(VAR_3);


static void FUNC_0(Visitor *VAR_0, const char *VAR_1, void **VAR_2,
size_t VAR_3, Error **VAR_4)
{ QmpInputVisitor *qiv = to_qiv(VAR_0); QObject *qobj = qmp_input_get_object(qiv, VAR_1, true); Error *err = NULL; if (!qobj || qobject_type(qobj) != QTYPE_QDICT) { error_setg(VAR_4, QERR_INVALID_PARAMETER_TYPE, VAR_1 ? VAR_1 : "null",
"QDict"); return; qmp_input_push(qiv, qobj, &err); if (err) { error_propagate(VAR_4, err); return; *VAR_2 = g_malloc0(VAR_3);