static void do_acl_show(Monitor *mon, const QDict *qdict)

{

    const char *aclname = qdict_get_str(qdict, "aclname");

    qemu_acl *acl = find_acl(mon, aclname);

    qemu_acl_entry *entry;

    int i = 0;



    if (acl) {

        monitor_printf(mon, "policy: %s\n",

                       acl->defaultDeny ? "deny" : "allow");

        TAILQ_FOREACH(entry, &acl->entries, next) {

            i++;

            monitor_printf(mon, "%d: %s %s\n", i,

                           entry->deny ? "deny" : "allow", entry->match);

        }

    }

}

static void do_acl_show(Monitor *mon, const QDict *qdict)

{

    const char *aclname = qdict_get_str(qdict, "aclname");

    qemu_acl *acl = find_acl(mon, aclname);

    qemu_acl_entry *entry;

    int i = 0;



    if (acl) {

        monitor_printf(mon, "policy: %s\n",

                       acl->defaultDeny ? "deny" : "allow");

        TAILQ_FOREACH(entry, &acl->entries, next) {

            i++;

            monitor_printf(mon, "%d: %s %s\n", i,

                           entry->deny ? "deny" : "allow", entry->match);

        }

    }

}

static void FUNC_0(Monitor *VAR_0, const QDict *VAR_1)

{

    const char *VAR_2 = qdict_get_str(VAR_1, "VAR_2");

    qemu_acl *acl = find_acl(VAR_0, VAR_2);

    qemu_acl_entry *entry;

    int VAR_3 = 0;



    if (acl) {

        monitor_printf(VAR_0, "policy: %s\n",

                       acl->defaultDeny ? "deny" : "allow");

        TAILQ_FOREACH(entry, &acl->entries, next) {

            VAR_3++;

            monitor_printf(VAR_0, "%d: %s %s\n", VAR_3,

                           entry->deny ? "deny" : "allow", entry->match);

        }

    }

}

static void FUNC_0(Monitor *VAR_0, const QDict *VAR_1)
{ const char *VAR_2 = qdict_get_str(VAR_1, "VAR_2"); qemu_acl *acl = find_acl(VAR_0, VAR_2); qemu_acl_entry *entry; int VAR_3 = 0; if (acl) { monitor_printf(VAR_0, "policy: %s\n",
acl->defaultDeny ? "deny" : "allow"); TAILQ_FOREACH(entry, &acl->entries, next) { VAR_3++; monitor_printf(VAR_0, "%d: %s %s\n", VAR_3,
entry->deny ? "deny" : "allow", entry->match); } } }