1 /* DO NOT EDIT: automatically built by dist/distrib. */ 2 #ifndef _hash_ext_h_ 3 #define _hash_ext_h_ 4 int __ham_open __P((DB *, DB_INFO *)); 5 int __ham_close __P((DB *)); 6 int __ham_c_init __P((DBC *)); 7 u_int32_t __ham_call_hash __P((HASH_CURSOR *, u_int8_t *, int32_t)); 8 int __ham_init_dbt __P((DBT *, u_int32_t, void **, u_int32_t *)); 9 void __ham_c_update 10 __P((HASH_CURSOR *, db_pgno_t, u_int32_t, int, int)); 11 int __ham_insdel_log 12 __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t, 13 u_int32_t, u_int32_t, db_pgno_t, u_int32_t, 14 DB_LSN *, const DBT *, const DBT *)); 15 int __ham_insdel_print 16 __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 17 int __ham_insdel_read __P((void *, __ham_insdel_args **)); 18 int __ham_newpage_log 19 __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t, 20 u_int32_t, u_int32_t, db_pgno_t, DB_LSN *, 21 db_pgno_t, DB_LSN *, db_pgno_t, DB_LSN *)); 22 int __ham_newpage_print 23 __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 24 int __ham_newpage_read __P((void *, __ham_newpage_args **)); 25 int __ham_splitmeta_log 26 __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t, 27 u_int32_t, u_int32_t, u_int32_t, u_int32_t, 28 DB_LSN *)); 29 int __ham_splitmeta_print 30 __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 31 int __ham_splitmeta_read __P((void *, __ham_splitmeta_args **)); 32 int __ham_splitdata_log 33 __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t, 34 u_int32_t, u_int32_t, db_pgno_t, const DBT *, 35 DB_LSN *)); 36 int __ham_splitdata_print 37 __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 38 int __ham_splitdata_read __P((void *, __ham_splitdata_args **)); 39 int __ham_replace_log 40 __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t, 41 u_int32_t, db_pgno_t, u_int32_t, DB_LSN *, 42 int32_t, const DBT *, const DBT *, u_int32_t)); 43 int __ham_replace_print 44 __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 45 int __ham_replace_read __P((void *, __ham_replace_args **)); 46 int __ham_newpgno_log 47 __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t, 48 u_int32_t, u_int32_t, db_pgno_t, db_pgno_t, 49 u_int32_t, db_pgno_t, u_int32_t, DB_LSN *, 50 DB_LSN *)); 51 int __ham_newpgno_print 52 __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 53 int __ham_newpgno_read __P((void *, __ham_newpgno_args **)); 54 int __ham_ovfl_log 55 __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t, 56 u_int32_t, db_pgno_t, u_int32_t, db_pgno_t, 57 u_int32_t, DB_LSN *)); 58 int __ham_ovfl_print 59 __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 60 int __ham_ovfl_read __P((void *, __ham_ovfl_args **)); 61 int __ham_copypage_log 62 __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t, 63 u_int32_t, db_pgno_t, DB_LSN *, db_pgno_t, 64 DB_LSN *, db_pgno_t, DB_LSN *, const DBT *)); 65 int __ham_copypage_print 66 __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 67 int __ham_copypage_read __P((void *, __ham_copypage_args **)); 68 int __ham_init_print __P((DB_ENV *)); 69 int __ham_init_recover __P((DB_ENV *)); 70 int __ham_pgin __P((db_pgno_t, void *, DBT *)); 71 int __ham_pgout __P((db_pgno_t, void *, DBT *)); 72 int __ham_mswap __P((void *)); 73 int __ham_add_dup __P((DBC *, DBT *, u_int32_t)); 74 void __ham_move_offpage __P((DBC *, PAGE *, u_int32_t, db_pgno_t)); 75 void __ham_dsearch __P((DBC *, DBT *, u_int32_t *, int *)); 76 u_int32_t __ham_func2 __P((const void *, u_int32_t)); 77 u_int32_t __ham_func3 __P((const void *, u_int32_t)); 78 u_int32_t __ham_func4 __P((const void *, u_int32_t)); 79 u_int32_t __ham_func5 __P((const void *, u_int32_t)); 80 int __ham_item __P((DBC *, db_lockmode_t)); 81 int __ham_item_reset __P((DBC *)); 82 void __ham_item_init __P((HASH_CURSOR *)); 83 int __ham_item_done __P((DBC *, int)); 84 int __ham_item_last __P((DBC *, db_lockmode_t)); 85 int __ham_item_first __P((DBC *, db_lockmode_t)); 86 int __ham_item_prev __P((DBC *, db_lockmode_t)); 87 int __ham_item_next __P((DBC *, db_lockmode_t)); 88 void __ham_putitem __P((PAGE *p, const DBT *, int)); 89 void __ham_reputpair 90 __P((PAGE *p, u_int32_t, u_int32_t, const DBT *, const DBT *)); 91 int __ham_del_pair __P((DBC *, int)); 92 int __ham_replpair __P((DBC *, DBT *, u_int32_t)); 93 void __ham_onpage_replace __P((PAGE *, size_t, u_int32_t, int32_t, 94 int32_t, DBT *)); 95 int __ham_split_page __P((DBC *, u_int32_t, u_int32_t)); 96 int __ham_add_el __P((DBC *, const DBT *, const DBT *, int)); 97 void __ham_copy_item __P((size_t, PAGE *, u_int32_t, PAGE *)); 98 int __ham_add_ovflpage __P((DBC *, PAGE *, int, PAGE **)); 99 int __ham_new_page __P((DB *, u_int32_t, u_int32_t, PAGE **)); 100 int __ham_del_page __P((DBC *, PAGE *)); 101 int __ham_put_page __P((DB *, PAGE *, int32_t)); 102 int __ham_dirty_page __P((DB *, PAGE *)); 103 int __ham_get_page __P((DB *, db_pgno_t, PAGE **)); 104 int __ham_overflow_page 105 __P((DBC *, u_int32_t, PAGE **)); 106 #ifdef DEBUG 107 db_pgno_t __bucket_to_page __P((HASH_CURSOR *, db_pgno_t)); 108 #endif 109 void __ham_init_ovflpages __P((DBC *)); 110 int __ham_get_cpage __P((DBC *, db_lockmode_t)); 111 int __ham_next_cpage __P((DBC *, db_pgno_t, int, u_int32_t)); 112 void __ham_dpair __P((DB *, PAGE *, u_int32_t)); 113 int __ham_insdel_recover 114 __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 115 int __ham_newpage_recover 116 __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 117 int __ham_replace_recover 118 __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 119 int __ham_newpgno_recover 120 __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 121 int __ham_splitmeta_recover 122 __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 123 int __ham_splitdata_recover 124 __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 125 int __ham_ovfl_recover 126 __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 127 int __ham_copypage_recover 128 __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 129 int __ham_stat __P((DB *, void *, void *(*)(size_t), u_int32_t)); 130 #endif /* _hash_ext_h_ */ 131