1/* DO NOT EDIT: automatically built by dist/s_include. */ 2#ifndef _hash_ext_h_ 3#define _hash_ext_h_ 4 5#if defined(__cplusplus) 6extern "C" { 7#endif 8 9int __ham_quick_delete __P((DBC *)); 10int __hamc_init __P((DBC *)); 11int __hamc_count __P((DBC *, db_recno_t *)); 12int __hamc_cmp __P((DBC *, DBC *, int *)); 13int __hamc_dup __P((DBC *, DBC *)); 14u_int32_t __ham_call_hash __P((DBC *, u_int8_t *, u_int32_t)); 15int __ham_overwrite __P((DBC *, DBT *, u_int32_t)); 16int __ham_init_dbt __P((ENV *, DBT *, u_int32_t, void **, u_int32_t *)); 17int __hamc_update __P((DBC *, u_int32_t, db_ham_curadj, int)); 18int __ham_get_clist __P((DB *, db_pgno_t, u_int32_t, DBC ***)); 19int __ham_insdel_read __P((ENV *, DB **, void *, void *, __ham_insdel_args **)); 20int __ham_insdel_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, u_int32_t, db_pgno_t, u_int32_t, DB_LSN *, const DBT *, const DBT *)); 21int __ham_newpage_read __P((ENV *, DB **, void *, void *, __ham_newpage_args **)); 22int __ham_newpage_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, u_int32_t, db_pgno_t, DB_LSN *, db_pgno_t, DB_LSN *, db_pgno_t, DB_LSN *)); 23int __ham_splitdata_read __P((ENV *, DB **, void *, void *, __ham_splitdata_args **)); 24int __ham_splitdata_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, u_int32_t, db_pgno_t, const DBT *, DB_LSN *)); 25int __ham_replace_read __P((ENV *, DB **, void *, void *, __ham_replace_args **)); 26int __ham_replace_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, u_int32_t, DB_LSN *, int32_t, const DBT *, const DBT *, u_int32_t)); 27int __ham_copypage_read __P((ENV *, DB **, void *, void *, __ham_copypage_args **)); 28int __ham_copypage_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, DB_LSN *, db_pgno_t, DB_LSN *, db_pgno_t, DB_LSN *, const DBT *)); 29int __ham_metagroup_42_read __P((ENV *, DB **, void *, void *, __ham_metagroup_42_args **)); 30int __ham_metagroup_read __P((ENV *, DB **, void *, void *, __ham_metagroup_args **)); 31int __ham_metagroup_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, u_int32_t, db_pgno_t, DB_LSN *, db_pgno_t, DB_LSN *, db_pgno_t, DB_LSN *, u_int32_t, db_pgno_t)); 32int __ham_groupalloc_42_read __P((ENV *, DB **, void *, void *, __ham_groupalloc_42_args **)); 33int __ham_groupalloc_read __P((ENV *, DB **, void *, void *, __ham_groupalloc_args **)); 34int __ham_groupalloc_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, DB_LSN *, db_pgno_t, u_int32_t, db_pgno_t, db_pgno_t)); 35int __ham_curadj_read __P((ENV *, DB **, void *, void *, __ham_curadj_args **)); 36int __ham_curadj_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, u_int32_t, u_int32_t, u_int32_t, int, int, u_int32_t)); 37int __ham_chgpg_read __P((ENV *, DB **, void *, void *, __ham_chgpg_args **)); 38int __ham_chgpg_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_ham_mode, db_pgno_t, db_pgno_t, u_int32_t, u_int32_t)); 39int __ham_init_recover __P((ENV *, DB_DISTAB *)); 40int __ham_insdel_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 41int __ham_newpage_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 42int __ham_splitdata_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 43int __ham_replace_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 44int __ham_copypage_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 45int __ham_metagroup_42_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 46int __ham_metagroup_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 47int __ham_groupalloc_42_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 48int __ham_groupalloc_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 49int __ham_curadj_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 50int __ham_chgpg_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 51int __ham_init_print __P((ENV *, DB_DISTAB *)); 52int __ham_pgin __P((DB *, db_pgno_t, void *, DBT *)); 53int __ham_pgout __P((DB *, db_pgno_t, void *, DBT *)); 54int __ham_mswap __P((ENV *, void *)); 55int __ham_add_dup __P((DBC *, DBT *, u_int32_t, db_pgno_t *)); 56int __ham_dup_convert __P((DBC *)); 57int __ham_make_dup __P((ENV *, const DBT *, DBT *d, void **, u_int32_t *)); 58void __ham_dsearch __P((DBC *, DBT *, u_int32_t *, int *, u_int32_t)); 59u_int32_t __ham_func2 __P((DB *, const void *, u_int32_t)); 60u_int32_t __ham_func3 __P((DB *, const void *, u_int32_t)); 61u_int32_t __ham_func4 __P((DB *, const void *, u_int32_t)); 62u_int32_t __ham_func5 __P((DB *, const void *, u_int32_t)); 63u_int32_t __ham_test __P((DB *, const void *, u_int32_t)); 64int __ham_get_meta __P((DBC *)); 65int __ham_release_meta __P((DBC *)); 66int __ham_dirty_meta __P((DBC *, u_int32_t)); 67int __ham_return_meta __P((DBC *, u_int32_t, DBMETA **)); 68int __ham_db_create __P((DB *)); 69int __ham_db_close __P((DB *)); 70int __ham_get_h_ffactor __P((DB *, u_int32_t *)); 71int __ham_set_h_compare __P((DB *, int (*)(DB *, const DBT *, const DBT *))); 72int __ham_get_h_nelem __P((DB *, u_int32_t *)); 73void __ham_copy_config __P((DB *, DB*, u_int32_t)); 74int __ham_open __P((DB *, DB_THREAD_INFO *, DB_TXN *, const char * name, db_pgno_t, u_int32_t)); 75int __ham_metachk __P((DB *, const char *, HMETA *)); 76int __ham_new_file __P((DB *, DB_THREAD_INFO *, DB_TXN *, DB_FH *, const char *)); 77int __ham_new_subdb __P((DB *, DB *, DB_THREAD_INFO *, DB_TXN *)); 78int __ham_item __P((DBC *, db_lockmode_t, db_pgno_t *)); 79int __ham_item_reset __P((DBC *)); 80int __ham_item_init __P((DBC *)); 81int __ham_item_last __P((DBC *, db_lockmode_t, db_pgno_t *)); 82int __ham_item_first __P((DBC *, db_lockmode_t, db_pgno_t *)); 83int __ham_item_prev __P((DBC *, db_lockmode_t, db_pgno_t *)); 84int __ham_item_next __P((DBC *, db_lockmode_t, db_pgno_t *)); 85int __ham_insertpair __P((DBC *, PAGE *p, db_indx_t *indxp, const DBT *, const DBT *, int, int)); 86int __ham_getindex __P((DBC *, PAGE *, const DBT *, int, int *, db_indx_t *)); 87int __ham_verify_sorted_page __P((DBC *, PAGE *)); 88int __ham_sort_page __P((DBC *, PAGE **, PAGE *)); 89int __ham_del_pair __P((DBC *, int)); 90int __ham_replpair __P((DBC *, DBT *, u_int32_t)); 91void __ham_onpage_replace __P((DB *, PAGE *, u_int32_t, int32_t, u_int32_t, int, DBT *)); 92int __ham_split_page __P((DBC *, u_int32_t, u_int32_t)); 93int __ham_add_el __P((DBC *, const DBT *, const DBT *, int)); 94int __ham_copypair __P((DBC *, PAGE *, u_int32_t, PAGE *, db_indx_t *)); 95int __ham_add_ovflpage __P((DBC *, PAGE *, int, PAGE **)); 96int __ham_get_cpage __P((DBC *, db_lockmode_t)); 97int __ham_next_cpage __P((DBC *, db_pgno_t)); 98int __ham_lock_bucket __P((DBC *, db_lockmode_t)); 99void __ham_dpair __P((DB *, PAGE *, u_int32_t)); 100int __ham_insdel_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 101int __ham_newpage_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 102int __ham_replace_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 103int __ham_splitdata_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 104int __ham_copypage_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 105int __ham_metagroup_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 106int __ham_groupalloc_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 107int __ham_curadj_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 108int __ham_chgpg_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 109int __ham_metagroup_42_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 110int __ham_groupalloc_42_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *)); 111int __ham_reclaim __P((DB *, DB_THREAD_INFO *, DB_TXN *txn)); 112int __ham_truncate __P((DBC *, u_int32_t *)); 113int __ham_stat __P((DBC *, void *, u_int32_t)); 114int __ham_stat_print __P((DBC *, u_int32_t)); 115void __ham_print_cursor __P((DBC *)); 116int __ham_traverse __P((DBC *, db_lockmode_t, int (*)(DBC *, PAGE *, void *, int *), void *, int)); 117int __db_no_hash_am __P((ENV *)); 118int __ham_30_hashmeta __P((DB *, char *, u_int8_t *)); 119int __ham_30_sizefix __P((DB *, DB_FH *, char *, u_int8_t *)); 120int __ham_31_hashmeta __P((DB *, char *, u_int32_t, DB_FH *, PAGE *, int *)); 121int __ham_31_hash __P((DB *, char *, u_int32_t, DB_FH *, PAGE *, int *)); 122int __ham_46_hashmeta __P((DB *, char *, u_int32_t, DB_FH *, PAGE *, int *)); 123int __ham_46_hash __P((DB *, char *, u_int32_t, DB_FH *, PAGE *, int *)); 124int __ham_vrfy_meta __P((DB *, VRFY_DBINFO *, HMETA *, db_pgno_t, u_int32_t)); 125int __ham_vrfy __P((DB *, VRFY_DBINFO *, PAGE *, db_pgno_t, u_int32_t)); 126int __ham_vrfy_structure __P((DB *, VRFY_DBINFO *, db_pgno_t, u_int32_t)); 127int __ham_vrfy_hashing __P((DBC *, u_int32_t, HMETA *, u_int32_t, db_pgno_t, u_int32_t, u_int32_t (*) __P((DB *, const void *, u_int32_t)))); 128int __ham_salvage __P((DB *, VRFY_DBINFO *, db_pgno_t, PAGE *, void *, int (*)(void *, const void *), u_int32_t)); 129int __ham_meta2pgset __P((DB *, VRFY_DBINFO *, HMETA *, u_int32_t, DB *)); 130 131#if defined(__cplusplus) 132} 133#endif 134#endif /* !_hash_ext_h_ */ 135