__db_prflags(dbp->flags, fn);
__db_prflags(dbp->flags, fn, fp);
__db_prdb(dbp)	DB *dbp;{	static const FN fn[] = {		{ DB_AM_DUP,		"duplicates" },		{ DB_AM_INMEM,		"in-memory" },		{ DB_AM_LOCKING,	"locking" },		{ DB_AM_LOGGING,	"logging" },		{ DB_AM_MLOCAL,		"local mpool" },		{ DB_AM_PGDEF,		"default page size" },		{ DB_AM_RDONLY,		"read-only" },		{ DB_AM_RECOVER,	"recover" },		{ DB_AM_SWAP,		"needswap" },		{ DB_AM_THREAD,		"thread" },		{ DB_BT_RECNUM,		"btree:records" },		{ DB_HS_DIRTYMETA,	"hash:dirty-meta" },		{ DB_RE_DELIMITER,	"recno:delimiter" },		{ DB_RE_FIXEDLEN,	"recno:fixed-length" },		{ DB_RE_PAD,		"recno:pad" },		{ DB_RE_RENUMBER,	"recno:renumber" },		{ DB_RE_SNAPSHOT,	"recno:snapshot" },		{ 0 },	};	FILE *fp;	const char *t;	fp = __db_prinit(NULL);	switch (dbp->type) {	case DB_BTREE:		t = "btree";		break;	case DB_HASH:		t = "hash";		break;	case DB_RECNO:		t = "recno";		break;	default:		t = "UNKNOWN";		break;	}	fprintf(fp, "%s ", t);	__db_prflags(dbp->flags, fn);	fprintf(fp, "\n");	return (0);}