1 /* DO NOT EDIT: automatically built by dist/distrib. */
2 #ifndef	_hash_ext_h_
3 #define	_hash_ext_h_
4 #if defined(__cplusplus)
5 extern "C" {
6 #endif
7 int CDB___ham_metachk __P((DB *, const char *, HMETA *));
8 int CDB___ham_open __P((DB *, const char *, db_pgno_t, u_int32_t));
9 int CDB___ham_c_init __P((DBC *));
10 int CDB___ham_c_count __P((DBC *, db_recno_t *));
11 int CDB___ham_c_dup __P((DBC *, DBC *));
12 u_int32_t CDB___ham_call_hash __P((DBC *, u_int8_t *, int32_t));
13 int CDB___ham_init_dbt __P((DB_ENV *,
14     DBT *, u_int32_t, void **, u_int32_t *));
15 void CDB___ham_c_update
16    __P((DBC *, db_pgno_t, u_int32_t, int, int));
17 int CDB___ham_get_clist __P((DB *,
18     db_pgno_t, u_int32_t, DBC ***));
19 void CDB___ham_c_chgpg
20    __P((DBC *, db_pgno_t, u_int32_t, db_pgno_t, u_int32_t));
21 int CDB___ham_pgin __P((DB_ENV *, db_pgno_t, void *, DBT *));
22 int CDB___ham_pgout __P((DB_ENV *, db_pgno_t, void *, DBT *));
23 int CDB___ham_mswap __P((void *));
24 int CDB___ham_add_dup __P((DBC *, DBT *, u_int32_t, db_pgno_t *));
25 int CDB___ham_dup_convert __P((DBC *));
26 int CDB___ham_make_dup __P((DB_ENV *,
27     const DBT *, DBT *d, void **, u_int32_t *));
28 void CDB___ham_move_offpage __P((DBC *, PAGE *, u_int32_t, db_pgno_t));
29 void CDB___ham_dsearch __P((DBC *, DBT *, u_int32_t *, int *));
30 int CDB___ham_cprint __P((DB *));
31 u_int32_t CDB___ham_func2 __P((const void *, u_int32_t));
32 u_int32_t CDB___ham_func3 __P((const void *, u_int32_t));
33 u_int32_t CDB___ham_func4 __P((const void *, u_int32_t));
34 u_int32_t CDB___ham_func5 __P((const void *, u_int32_t));
35 int CDB___ham_get_meta __P((DBC *));
36 int CDB___ham_release_meta __P((DBC *));
37 int CDB___ham_dirty_meta __P((DBC *));
38 int CDB___ham_db_create __P((DB *));
39 int CDB___ham_db_close __P((DB *));
40 int CDB___ham_item __P((DBC *, db_lockmode_t, db_pgno_t *));
41 int CDB___ham_item_reset __P((DBC *));
42 void CDB___ham_item_init __P((DBC *));
43 int CDB___ham_item_last __P((DBC *, db_lockmode_t, db_pgno_t *));
44 int CDB___ham_item_first __P((DBC *, db_lockmode_t, db_pgno_t *));
45 int CDB___ham_item_prev __P((DBC *, db_lockmode_t, db_pgno_t *));
46 int CDB___ham_item_next __P((DBC *, db_lockmode_t, db_pgno_t *));
47 void CDB___ham_putitem __P((PAGE *p, const DBT *, int));
48 void CDB___ham_reputpair
49    __P((PAGE *p, u_int32_t, u_int32_t, const DBT *, const DBT *));
50 int CDB___ham_del_pair __P((DBC *, int));
51 int CDB___ham_replpair __P((DBC *, DBT *, u_int32_t));
52 void CDB___ham_onpage_replace __P((PAGE *, size_t, u_int32_t, int32_t,
53     int32_t,  DBT *));
54 int CDB___ham_split_page __P((DBC *, u_int32_t, u_int32_t));
55 int CDB___ham_add_el __P((DBC *, const DBT *, const DBT *, int));
56 void CDB___ham_copy_item __P((size_t, PAGE *, u_int32_t, PAGE *));
57 int CDB___ham_add_ovflpage __P((DBC *, PAGE *, int, PAGE **));
58 int CDB___ham_put_page __P((DB *, PAGE *, int32_t));
59 int CDB___ham_dirty_page __P((DB *, PAGE *));
60 int CDB___ham_get_page __P((DB *, db_pgno_t, PAGE **));
61 db_pgno_t CDB___bucket_to_page __P((HASH_CURSOR *, db_pgno_t));
62 int CDB___ham_get_cpage __P((DBC *, db_lockmode_t));
63 int CDB___ham_next_cpage __P((DBC *, db_pgno_t, int));
64 int CDB___ham_lock_bucket __P((DBC *, db_lockmode_t));
65 void CDB___ham_dpair __P((DB *, PAGE *, u_int32_t));
66 int CDB___ham_insdel_recover
67     __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
68 int CDB___ham_newpage_recover
69     __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
70 int CDB___ham_replace_recover
71    __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
72 int CDB___ham_splitdata_recover
73    __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
74 int CDB___ham_copypage_recover
75   __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
76 int CDB___ham_metagroup_recover
77   __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
78 int CDB___ham_groupalloc_recover
79   __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
80 int CDB___ham_reclaim __P((DB *, DB_TXN *txn));
81 int CDB___ham_stat __P((DB *, void *, void *(*)(size_t), u_int32_t));
82  int CDB___ham_traverse __P((DB *, DBC *, db_lockmode_t,
83     int (*)(DB *, PAGE *, void *, int *), void *));
84 int CDB___ham_30_hashmeta __P((DB *, char *, u_int8_t *));
85 int CDB___ham_31_hashmeta
86      __P((DB *, char *, u_int32_t, DB_FH *, PAGE *, int *));
87 int CDB___ham_31_hash
88      __P((DB *, char *, u_int32_t, DB_FH *, PAGE *, int *));
89 int CDB___ham_vrfy_meta __P((DB *, VRFY_DBINFO *, HMETA *,
90     db_pgno_t, u_int32_t));
91 int CDB___ham_vrfy __P((DB *, VRFY_DBINFO *, PAGE *, db_pgno_t,
92     u_int32_t));
93 int CDB___ham_vrfy_structure __P((DB *, VRFY_DBINFO *, db_pgno_t,
94     u_int32_t));
95 int CDB___ham_vrfy_hashing __P((DB *,
96     u_int32_t, HMETA *, u_int32_t, db_pgno_t, u_int32_t,
97     u_int32_t (*) __P((const void *, u_int32_t))));
98 int CDB___ham_salvage __P((DB *, VRFY_DBINFO *, db_pgno_t, PAGE *,
99     void *, int (*)(void *, const void *), u_int32_t));
100 int CDB___ham_meta2pgset __P((DB *, VRFY_DBINFO *, HMETA *, u_int32_t,
101     DB *));
102 #if defined(__cplusplus)
103 }
104 #endif
105 #endif /* _hash_ext_h_ */
106