int flags;
u_int32_t flags;
__db_getchk(dbp, key, data, flags)	const DB *dbp;	const DBT *key;	DBT *data;	int flags;{	/* Check for invalid db->get() function flags. */	DB_CHECK_FLAGS(dbp->dbenv,	    "get", flags, F_ISSET(dbp, DB_BT_RECNUM) ? DB_SET_RECNO : 0);	/* Check for invalid key/data flags. */	DB_CHECK_FLAGS(dbp->dbenv, "key", key->flags, 0);	DB_CHECK_FLAGS(dbp->dbenv, "data", data->flags,	    DB_DBT_MALLOC | DB_DBT_USERMEM | DB_DBT_PARTIAL);	DB_CHECK_FCOMBO(dbp->dbenv,	    "data", data->flags, DB_DBT_MALLOC, DB_DBT_USERMEM);	if (F_ISSET(dbp, DB_AM_THREAD) &&	    !F_ISSET(data, DB_DBT_MALLOC | DB_DBT_USERMEM))		return (__db_ferr(dbp->dbenv, "threaded data", 1));	return (0);}