const char *sep;
static const FN fn[] = { { BH_CALLPGIN,	"callpgin" }, { BH_DIRTY,	"dirty" }, { BH_DISCARD,	"discard" }, { BH_LOCKED,	"locked" }, { BH_TRASH,	"trash" }, { BH_WRITE,	"write" }, { 0 }, }; int i;
__memp_pbh(fp, dbmp, bhp, data)	FILE *fp;	DB_MPOOL *dbmp;	BH *bhp;	int data;{	const char *sep;	if (!data)		return;	(void)fprintf(fp, "    BH @ %lu (mf: %lu): page %lu; ref %lu",	    (u_long)R_OFFSET(dbmp, bhp),	    (u_long)bhp->mf_offset, (u_long)bhp->pgno, (u_long)bhp->ref);	sep = "; ";	if (F_ISSET(bhp, BH_DIRTY)) {		(void)fprintf(fp, "%sdirty", sep);		sep = ", ";	}	if (F_ISSET(bhp, BH_WRITE)) {		(void)fprintf(fp, "%schk_write", sep);		sep = ", ";	}	(void)fprintf(fp, "\n");}