/*================================================== * main_db_notify -- callback called whenever a db is * opened or closed * Created: 2002/06/16, Perry Rapp *================================================*/ static void main_db_notify (STRING db, BOOLEAN opening) { if (opening) crash_setdb(db); else crash_setdb(""); }
/*================================================== * main_db_notify -- callback called whenever a db is * opened or closed * Created: 2002/06/16, Perry Rapp *================================================*/ static void main_db_notify (STRING db, BOOLEAN opening) { /* store name away for reporting in case of crash later */ if (opening) crash_setdb(db); else crash_setdb(""); }