int ch, flags, verbose;
u_int32_t flags; int ch, verbose;
main(argc, argv)	int argc;	char *argv[];{	extern char *optarg;	extern int optind;	DB_ENV *dbenv;	time_t now;	int ch, flags, verbose;	char *home;	home = NULL;	flags = verbose = 0;	while ((ch = getopt(argc, argv, "ch:v")) != EOF)		switch (ch) {		case 'c':			LF_SET(DB_RECOVER_FATAL);			break;		case 'h':			home = optarg;			break;		case 'v':			verbose = 1;			break;		case '?':		default:			usage();		}	argc -= optind;	argv += optind;	if (argc != 0)		usage();	dbenv = db_init(home, flags, verbose);	if (verbose) {		__db_err(dbenv, "Recovery complete at %.24s", ctime(&now));		__db_err(dbenv, "%s %lu %s [%lu][%lu]",		    "Maximum transaction id",		    (u_long)dbenv->tx_info->region->last_txnid,		    "Recovery checkpoint",		    (u_long)dbenv->tx_info->region->last_ckp.file,		    (u_long)dbenv->tx_info->region->last_ckp.offset);	}	return (db_appexit(dbenv));}