void ga_command_state_add(GACommandState *cs,

                          void (*init)(void),

                          void (*cleanup)(void))

{

    GACommandGroup *cg = g_malloc0(sizeof(GACommandGroup));

    cg->init = init;

    cg->cleanup = cleanup;

    cs->groups = g_slist_append(cs->groups, cg);

}

void ga_command_state_add(GACommandState *cs,

                          void (*init)(void),

                          void (*cleanup)(void))

{

    GACommandGroup *cg = g_malloc0(sizeof(GACommandGroup));

    cg->init = init;

    cg->cleanup = cleanup;

    cs->groups = g_slist_append(cs->groups, cg);

}

    GACommandGroup *cg = g_malloc0(sizeof(GACommandGroup));
void FUNC_0(GACommandState *VAR_0,

                          void (*VAR_1)(void),

                          void (*VAR_2)(void))

{

    GACommandGroup *cg = g_malloc0(sizeof(GACommandGroup));

    cg->VAR_1 = VAR_1;

    cg->VAR_2 = VAR_2;

    VAR_0->groups = g_slist_append(VAR_0->groups, cg);

}

void FUNC_0(GACommandState *VAR_0,
void (*VAR_1)(void),
void (*VAR_2)(void))
{ GACommandGroup *cg = g_malloc0(sizeof(GACommandGroup)); cg->VAR_1 = VAR_1; cg->VAR_2 = VAR_2; VAR_0->groups = g_slist_append(VAR_0->groups, cg); }