int flags, isrdonly, isvalid;
u_int32_t flags; int isrdonly, isvalid;
__db_cdelchk(dbp, flags, isrdonly, isvalid)	const DB *dbp;	int flags, isrdonly, isvalid;{	/* Check for changes to a read-only tree. */	if (isrdonly)		return (__db_rdonly(dbp->dbenv, "c_del"));	/* Check for invalid dbc->c_del() function flags. */	DB_CHECK_FLAGS(dbp->dbenv, "c_del", flags, 0);	/*	 * The cursor must be initialized, return -1 for an invalid cursor,	 * otherwise 0.	 */	return (isvalid ? 0 : EINVAL);}