1*0Sstevel@tonic-gate /* Do not edit: automatically built by dist/db_gen.sh. */ 2*0Sstevel@tonic-gate 3*0Sstevel@tonic-gate /* 4*0Sstevel@tonic-gate * Copyright (c) 1998 by Sun Microsystems, Inc. 5*0Sstevel@tonic-gate * All rights reserved. 6*0Sstevel@tonic-gate */ 7*0Sstevel@tonic-gate 8*0Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 9*0Sstevel@tonic-gate 10*0Sstevel@tonic-gate #ifndef ham_AUTO_H 11*0Sstevel@tonic-gate #define ham_AUTO_H 12*0Sstevel@tonic-gate 13*0Sstevel@tonic-gate #define DB_ham_insdel (DB_ham_BEGIN + 1) 14*0Sstevel@tonic-gate 15*0Sstevel@tonic-gate typedef struct _ham_insdel_args { 16*0Sstevel@tonic-gate u_int32_t type; 17*0Sstevel@tonic-gate DB_TXN *txnid; 18*0Sstevel@tonic-gate DB_LSN prev_lsn; 19*0Sstevel@tonic-gate u_int32_t opcode; 20*0Sstevel@tonic-gate u_int32_t fileid; 21*0Sstevel@tonic-gate db_pgno_t pgno; 22*0Sstevel@tonic-gate u_int32_t ndx; 23*0Sstevel@tonic-gate DB_LSN pagelsn; 24*0Sstevel@tonic-gate DBT key; 25*0Sstevel@tonic-gate DBT data; 26*0Sstevel@tonic-gate } __ham_insdel_args; 27*0Sstevel@tonic-gate 28*0Sstevel@tonic-gate 29*0Sstevel@tonic-gate #define DB_ham_newpage (DB_ham_BEGIN + 2) 30*0Sstevel@tonic-gate 31*0Sstevel@tonic-gate typedef struct _ham_newpage_args { 32*0Sstevel@tonic-gate u_int32_t type; 33*0Sstevel@tonic-gate DB_TXN *txnid; 34*0Sstevel@tonic-gate DB_LSN prev_lsn; 35*0Sstevel@tonic-gate u_int32_t opcode; 36*0Sstevel@tonic-gate u_int32_t fileid; 37*0Sstevel@tonic-gate db_pgno_t prev_pgno; 38*0Sstevel@tonic-gate DB_LSN prevlsn; 39*0Sstevel@tonic-gate db_pgno_t new_pgno; 40*0Sstevel@tonic-gate DB_LSN pagelsn; 41*0Sstevel@tonic-gate db_pgno_t next_pgno; 42*0Sstevel@tonic-gate DB_LSN nextlsn; 43*0Sstevel@tonic-gate } __ham_newpage_args; 44*0Sstevel@tonic-gate 45*0Sstevel@tonic-gate 46*0Sstevel@tonic-gate #define DB_ham_splitmeta (DB_ham_BEGIN + 3) 47*0Sstevel@tonic-gate 48*0Sstevel@tonic-gate typedef struct _ham_splitmeta_args { 49*0Sstevel@tonic-gate u_int32_t type; 50*0Sstevel@tonic-gate DB_TXN *txnid; 51*0Sstevel@tonic-gate DB_LSN prev_lsn; 52*0Sstevel@tonic-gate u_int32_t fileid; 53*0Sstevel@tonic-gate u_int32_t bucket; 54*0Sstevel@tonic-gate u_int32_t ovflpoint; 55*0Sstevel@tonic-gate u_int32_t spares; 56*0Sstevel@tonic-gate DB_LSN metalsn; 57*0Sstevel@tonic-gate } __ham_splitmeta_args; 58*0Sstevel@tonic-gate 59*0Sstevel@tonic-gate 60*0Sstevel@tonic-gate #define DB_ham_splitdata (DB_ham_BEGIN + 4) 61*0Sstevel@tonic-gate 62*0Sstevel@tonic-gate typedef struct _ham_splitdata_args { 63*0Sstevel@tonic-gate u_int32_t type; 64*0Sstevel@tonic-gate DB_TXN *txnid; 65*0Sstevel@tonic-gate DB_LSN prev_lsn; 66*0Sstevel@tonic-gate u_int32_t fileid; 67*0Sstevel@tonic-gate u_int32_t opcode; 68*0Sstevel@tonic-gate db_pgno_t pgno; 69*0Sstevel@tonic-gate DBT pageimage; 70*0Sstevel@tonic-gate DB_LSN pagelsn; 71*0Sstevel@tonic-gate } __ham_splitdata_args; 72*0Sstevel@tonic-gate 73*0Sstevel@tonic-gate 74*0Sstevel@tonic-gate #define DB_ham_replace (DB_ham_BEGIN + 5) 75*0Sstevel@tonic-gate 76*0Sstevel@tonic-gate typedef struct _ham_replace_args { 77*0Sstevel@tonic-gate u_int32_t type; 78*0Sstevel@tonic-gate DB_TXN *txnid; 79*0Sstevel@tonic-gate DB_LSN prev_lsn; 80*0Sstevel@tonic-gate u_int32_t fileid; 81*0Sstevel@tonic-gate db_pgno_t pgno; 82*0Sstevel@tonic-gate u_int32_t ndx; 83*0Sstevel@tonic-gate DB_LSN pagelsn; 84*0Sstevel@tonic-gate int32_t off; 85*0Sstevel@tonic-gate DBT olditem; 86*0Sstevel@tonic-gate DBT newitem; 87*0Sstevel@tonic-gate u_int32_t makedup; 88*0Sstevel@tonic-gate } __ham_replace_args; 89*0Sstevel@tonic-gate 90*0Sstevel@tonic-gate 91*0Sstevel@tonic-gate #define DB_ham_newpgno (DB_ham_BEGIN + 6) 92*0Sstevel@tonic-gate 93*0Sstevel@tonic-gate typedef struct _ham_newpgno_args { 94*0Sstevel@tonic-gate u_int32_t type; 95*0Sstevel@tonic-gate DB_TXN *txnid; 96*0Sstevel@tonic-gate DB_LSN prev_lsn; 97*0Sstevel@tonic-gate u_int32_t opcode; 98*0Sstevel@tonic-gate u_int32_t fileid; 99*0Sstevel@tonic-gate db_pgno_t pgno; 100*0Sstevel@tonic-gate db_pgno_t free_pgno; 101*0Sstevel@tonic-gate u_int32_t old_type; 102*0Sstevel@tonic-gate db_pgno_t old_pgno; 103*0Sstevel@tonic-gate u_int32_t new_type; 104*0Sstevel@tonic-gate DB_LSN pagelsn; 105*0Sstevel@tonic-gate DB_LSN metalsn; 106*0Sstevel@tonic-gate } __ham_newpgno_args; 107*0Sstevel@tonic-gate 108*0Sstevel@tonic-gate 109*0Sstevel@tonic-gate #define DB_ham_ovfl (DB_ham_BEGIN + 7) 110*0Sstevel@tonic-gate 111*0Sstevel@tonic-gate typedef struct _ham_ovfl_args { 112*0Sstevel@tonic-gate u_int32_t type; 113*0Sstevel@tonic-gate DB_TXN *txnid; 114*0Sstevel@tonic-gate DB_LSN prev_lsn; 115*0Sstevel@tonic-gate u_int32_t fileid; 116*0Sstevel@tonic-gate db_pgno_t start_pgno; 117*0Sstevel@tonic-gate u_int32_t npages; 118*0Sstevel@tonic-gate db_pgno_t free_pgno; 119*0Sstevel@tonic-gate u_int32_t ovflpoint; 120*0Sstevel@tonic-gate DB_LSN metalsn; 121*0Sstevel@tonic-gate } __ham_ovfl_args; 122*0Sstevel@tonic-gate 123*0Sstevel@tonic-gate 124*0Sstevel@tonic-gate #define DB_ham_copypage (DB_ham_BEGIN + 8) 125*0Sstevel@tonic-gate 126*0Sstevel@tonic-gate typedef struct _ham_copypage_args { 127*0Sstevel@tonic-gate u_int32_t type; 128*0Sstevel@tonic-gate DB_TXN *txnid; 129*0Sstevel@tonic-gate DB_LSN prev_lsn; 130*0Sstevel@tonic-gate u_int32_t fileid; 131*0Sstevel@tonic-gate db_pgno_t pgno; 132*0Sstevel@tonic-gate DB_LSN pagelsn; 133*0Sstevel@tonic-gate db_pgno_t next_pgno; 134*0Sstevel@tonic-gate DB_LSN nextlsn; 135*0Sstevel@tonic-gate db_pgno_t nnext_pgno; 136*0Sstevel@tonic-gate DB_LSN nnextlsn; 137*0Sstevel@tonic-gate DBT page; 138*0Sstevel@tonic-gate } __ham_copypage_args; 139*0Sstevel@tonic-gate 140*0Sstevel@tonic-gate #endif 141