/* Returns: 0 on SUCCESS 1 to indicate an external ERROR (i.e. key not found, etc) -1 to indicate an internal ERROR (i.e. out of memory, etc)  */
static int hash_get(DB *dbp, const DBT *key, DBT *data, u_int32_t flag) const
/* Returns: 0 on SUCCESS 1 to indicate an external ERROR (i.e. key not found, etc) -1 to indicate an internal ERROR (i.e. out of memory, etc)  */
static int hash_get(DB *dbp, const DBT *key, DBT *data, u_int32_t flag) const
{
	HTAB *hashp;
	hashp = (HTAB *)dbp->internal;
	if (flag) {
		hashp->errno = errno = EINVAL;
		return (ERROR);
	}
	return (hash_access(hashp, HASH_GET, (DBT *)key, data));
}