/** * Removes the given language from the scenarios file. If the scenarios * file is empty (before or) after removing the language, the file is * removed. */ str SABAOTHretreatScenario(int *ret, str *lang) { str err = msab_retreatScenario(*lang); if (err != NULL) excFromMem(MAL, "sabaoth.retreatscenario", err); (void)ret; return(MAL_SUCCEED); }
str SQLepilogue(void *ret) { char *s = "sql", *m = "msql"; str res; (void) ret; if (SQLinitialized) { mvc_exit(); SQLinitialized = FALSE; } /* this function is never called, but for the style of it, we clean * up our own mess */ res = msab_retreatScenario(m); if (!res) return msab_retreatScenario(s); return res; }