1 /*- 2 * Copyright (c) 1991 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)extern.h 5.2 (Berkeley) 09/08/91 8 */ 9 10 BUFHEAD *__add_ovflpage __P((BUFHEAD *)); 11 int __addel __P((BUFHEAD *, const DBT *, const DBT *)); 12 int __big_delete __P((BUFHEAD *)); 13 int __big_insert __P((BUFHEAD *, const DBT *, const DBT *)); 14 int __big_keydata __P((BUFHEAD *, DBT *, DBT *, int)); 15 int __big_return __P((BUFHEAD *, int, DBT *, int)); 16 int __big_split __P((BUFHEAD *, BUFHEAD *, BUFHEAD *, 17 int, u_int, SPLIT_RETURN *)); 18 int __buf_free __P((int, int)); 19 void __buf_init __P((int)); 20 u_int __call_hash __P((char *, int)); 21 int __delpair __P((BUFHEAD *, int)); 22 int __expand_table __P((void)); 23 int __find_bigpair __P((BUFHEAD *, int, char *, int)); 24 u_short __find_last_page __P((BUFHEAD **)); 25 void __free_ovflpage __P((BUFHEAD *)); 26 BUFHEAD *__get_buf __P((u_int, BUFHEAD *, int)); 27 int __get_page __P((char *, u_int, int, int, int)); 28 int __init_bitmap __P((int, int, int)); 29 u_int __log2 __P((u_int)); 30 int __put_page __P((char *, u_int, int, int)); 31 void __reclaim_buf __P((BUFHEAD *)); 32 int __split_page __P((u_int, u_int)); 33 34 extern HTAB *hashp; 35 #ifdef HASH_STATISTICS 36 extern long hash_accesses, hash_collisions, hash_expansions, hash_overflows; 37 #endif 38 extern int (*default_hash) __P((u_char *, int)); 39