1/* Do not edit: automatically built by gen_rec.awk. */ 2 3#ifndef __ham_AUTO_H 4#define __ham_AUTO_H 5#define DB___ham_insdel 21 6typedef struct ___ham_insdel_args { 7 u_int32_t type; 8 DB_TXN *txnp; 9 DB_LSN prev_lsn; 10 u_int32_t opcode; 11 int32_t fileid; 12 db_pgno_t pgno; 13 u_int32_t ndx; 14 DB_LSN pagelsn; 15 DBT key; 16 DBT data; 17} __ham_insdel_args; 18 19#define DB___ham_newpage 22 20typedef struct ___ham_newpage_args { 21 u_int32_t type; 22 DB_TXN *txnp; 23 DB_LSN prev_lsn; 24 u_int32_t opcode; 25 int32_t fileid; 26 db_pgno_t prev_pgno; 27 DB_LSN prevlsn; 28 db_pgno_t new_pgno; 29 DB_LSN pagelsn; 30 db_pgno_t next_pgno; 31 DB_LSN nextlsn; 32} __ham_newpage_args; 33 34#define DB___ham_splitdata 24 35typedef struct ___ham_splitdata_args { 36 u_int32_t type; 37 DB_TXN *txnp; 38 DB_LSN prev_lsn; 39 int32_t fileid; 40 u_int32_t opcode; 41 db_pgno_t pgno; 42 DBT pageimage; 43 DB_LSN pagelsn; 44} __ham_splitdata_args; 45 46#define DB___ham_replace 25 47typedef struct ___ham_replace_args { 48 u_int32_t type; 49 DB_TXN *txnp; 50 DB_LSN prev_lsn; 51 int32_t fileid; 52 db_pgno_t pgno; 53 u_int32_t ndx; 54 DB_LSN pagelsn; 55 int32_t off; 56 DBT olditem; 57 DBT newitem; 58 u_int32_t makedup; 59} __ham_replace_args; 60 61#define DB___ham_copypage 28 62typedef struct ___ham_copypage_args { 63 u_int32_t type; 64 DB_TXN *txnp; 65 DB_LSN prev_lsn; 66 int32_t fileid; 67 db_pgno_t pgno; 68 DB_LSN pagelsn; 69 db_pgno_t next_pgno; 70 DB_LSN nextlsn; 71 db_pgno_t nnext_pgno; 72 DB_LSN nnextlsn; 73 DBT page; 74} __ham_copypage_args; 75 76#define DB___ham_metagroup_42 29 77typedef struct ___ham_metagroup_42_args { 78 u_int32_t type; 79 DB_TXN *txnp; 80 DB_LSN prev_lsn; 81 int32_t fileid; 82 u_int32_t bucket; 83 db_pgno_t mmpgno; 84 DB_LSN mmetalsn; 85 db_pgno_t mpgno; 86 DB_LSN metalsn; 87 db_pgno_t pgno; 88 DB_LSN pagelsn; 89 u_int32_t newalloc; 90} __ham_metagroup_42_args; 91 92#define DB___ham_metagroup 29 93typedef struct ___ham_metagroup_args { 94 u_int32_t type; 95 DB_TXN *txnp; 96 DB_LSN prev_lsn; 97 int32_t fileid; 98 u_int32_t bucket; 99 db_pgno_t mmpgno; 100 DB_LSN mmetalsn; 101 db_pgno_t mpgno; 102 DB_LSN metalsn; 103 db_pgno_t pgno; 104 DB_LSN pagelsn; 105 u_int32_t newalloc; 106 db_pgno_t last_pgno; 107} __ham_metagroup_args; 108 109#define DB___ham_groupalloc_42 32 110typedef struct ___ham_groupalloc_42_args { 111 u_int32_t type; 112 DB_TXN *txnp; 113 DB_LSN prev_lsn; 114 int32_t fileid; 115 DB_LSN meta_lsn; 116 db_pgno_t start_pgno; 117 u_int32_t num; 118 db_pgno_t free; 119} __ham_groupalloc_42_args; 120 121#define DB___ham_groupalloc 32 122typedef struct ___ham_groupalloc_args { 123 u_int32_t type; 124 DB_TXN *txnp; 125 DB_LSN prev_lsn; 126 int32_t fileid; 127 DB_LSN meta_lsn; 128 db_pgno_t start_pgno; 129 u_int32_t num; 130 db_pgno_t unused; 131 db_pgno_t last_pgno; 132} __ham_groupalloc_args; 133 134#define DB___ham_curadj 33 135typedef struct ___ham_curadj_args { 136 u_int32_t type; 137 DB_TXN *txnp; 138 DB_LSN prev_lsn; 139 int32_t fileid; 140 db_pgno_t pgno; 141 u_int32_t indx; 142 u_int32_t len; 143 u_int32_t dup_off; 144 int add; 145 int is_dup; 146 u_int32_t order; 147} __ham_curadj_args; 148 149#define DB___ham_chgpg 34 150typedef struct ___ham_chgpg_args { 151 u_int32_t type; 152 DB_TXN *txnp; 153 DB_LSN prev_lsn; 154 int32_t fileid; 155 db_ham_mode mode; 156 db_pgno_t old_pgno; 157 db_pgno_t new_pgno; 158 u_int32_t old_indx; 159 u_int32_t new_indx; 160} __ham_chgpg_args; 161 162#endif 163