void qemuio_add_command(const cmdinfo_t *ci)

{

    cmdtab = g_realloc(cmdtab, ++ncmds * sizeof(*cmdtab));

    cmdtab[ncmds - 1] = *ci;

    qsort(cmdtab, ncmds, sizeof(*cmdtab), compare_cmdname);

}

void qemuio_add_command(const cmdinfo_t *ci)

{

    cmdtab = g_realloc(cmdtab, ++ncmds * sizeof(*cmdtab));

    cmdtab[ncmds - 1] = *ci;

    qsort(cmdtab, ncmds, sizeof(*cmdtab), compare_cmdname);

}

    cmdtab = g_realloc(cmdtab, ++ncmds * sizeof(*cmdtab));
void FUNC_0(const cmdinfo_t *VAR_0)

{

    cmdtab = g_realloc(cmdtab, ++ncmds * sizeof(*cmdtab));

    cmdtab[ncmds - 1] = *VAR_0;

    qsort(cmdtab, ncmds, sizeof(*cmdtab), compare_cmdname);

}

void FUNC_0(const cmdinfo_t *VAR_0)
{ cmdtab = g_realloc(cmdtab, ++ncmds * sizeof(*cmdtab)); cmdtab[ncmds - 1] = *VAR_0; qsort(cmdtab, ncmds, sizeof(*cmdtab), compare_cmdname); }