/*- * See the file LICENSE for redistribution information. * * Copyright (c) 1996, 1997, 1998 * Sleepycat Software. All rights reserved. */ #include "config.h" #ifndef lint static const char sccsid[] = "@(#)hash_stat.c 10.12 (Sleepycat) 12/19/98"; #endif /* not lint */ #ifndef NO_SYSTEM_INCLUDES #include #include #endif #include "edb_int.h" #include "edb_page.h" #include "hash.h" /* * __ham_stat -- * Gather/print the hash statistics * * PUBLIC: int __ham_stat __P((DB *, void *, void *(*)(size_t), u_int32_t)); */ int __ham_stat(edbp, spp, edb_malloc, flags) DB *edbp; void *spp; void *(*edb_malloc) __P((size_t)); u_int32_t flags; { COMPQUIET(spp, NULL); COMPQUIET(edb_malloc, NULL); COMPQUIET(flags, 0); DB_PANIC_CHECK(edbp); return (__edb_eopnotsup(edbp->edbenv)); }