1N/A/*-
1N/A * See the file LICENSE for redistribution information.
1N/A *
1N/A * Copyright (c) 1996, 1997, 1998
1N/A * Sleepycat Software. All rights reserved.
1N/A */
1N/A
1N/A#include "config.h"
1N/A
1N/A#ifndef lint
1N/Astatic const char sccsid[] = "@(#)hash_stat.c 10.12 (Sleepycat) 12/19/98";
1N/A#endif /* not lint */
1N/A
1N/A#ifndef NO_SYSTEM_INCLUDES
1N/A#include <sys/types.h>
1N/A
1N/A#include <errno.h>
1N/A#endif
1N/A
1N/A#include "db_int.h"
1N/A#include "db_page.h"
1N/A#include "hash.h"
1N/A
1N/A/*
1N/A * __ham_stat --
1N/A * Gather/print the hash statistics
1N/A *
1N/A * PUBLIC: int __ham_stat __P((DB *, void *, void *(*)(size_t), u_int32_t));
1N/A */
1N/Aint
1N/A__ham_stat(dbp, spp, db_malloc, flags)
1N/A DB *dbp;
1N/A void *spp;
1N/A void *(*db_malloc) __P((size_t));
1N/A u_int32_t flags;
1N/A{
1N/A COMPQUIET(spp, NULL);
1N/A COMPQUIET(db_malloc, NULL);
1N/A COMPQUIET(flags, 0);
1N/A
1N/A DB_PANIC_CHECK(dbp);
1N/A
1N/A return (__db_eopnotsup(dbp->dbenv));
1N/A}