int parseDTD (char* dtdpath) { FILE* f; int r = -1; ENTER ("parseDTD"); if (f = fopen (dtdpath, "r")) { r = parseXml (f); /* DTDをパースする */ fclose (f); } else warn3 ("Specified DTD file \"", dtdpath, "\" does not exist."); LEAVE ("parseDTD"); return r; }
void module_leave() { int i; static char nm[] = "module_leave"; for (i = 0; i < module_count; i++) { struct digest_module *mp = modules[i]; if (mp->shutdown) { if ((*mp->shutdown)()) error3(nm, mp->name, "callback failed"); } else warn3(nm, mp->name, "no shutdown() callback"); } }