1*7c478bd9Sstevel@tonic-gate /* Do not edit: automatically built by dist/db_gen.sh. */ 2*7c478bd9Sstevel@tonic-gate 3*7c478bd9Sstevel@tonic-gate /* 4*7c478bd9Sstevel@tonic-gate * Copyright (c) 1998 by Sun Microsystems, Inc. 5*7c478bd9Sstevel@tonic-gate * All rights reserved. 6*7c478bd9Sstevel@tonic-gate */ 7*7c478bd9Sstevel@tonic-gate 8*7c478bd9Sstevel@tonic-gate #ifndef bam_AUTO_H 9*7c478bd9Sstevel@tonic-gate #define bam_AUTO_H 10*7c478bd9Sstevel@tonic-gate 11*7c478bd9Sstevel@tonic-gate #define DB_bam_pg_alloc (DB_bam_BEGIN + 1) 12*7c478bd9Sstevel@tonic-gate 13*7c478bd9Sstevel@tonic-gate typedef struct _bam_pg_alloc_args { 14*7c478bd9Sstevel@tonic-gate u_int32_t type; 15*7c478bd9Sstevel@tonic-gate DB_TXN *txnid; 16*7c478bd9Sstevel@tonic-gate DB_LSN prev_lsn; 17*7c478bd9Sstevel@tonic-gate u_int32_t fileid; 18*7c478bd9Sstevel@tonic-gate DB_LSN meta_lsn; 19*7c478bd9Sstevel@tonic-gate DB_LSN page_lsn; 20*7c478bd9Sstevel@tonic-gate db_pgno_t pgno; 21*7c478bd9Sstevel@tonic-gate u_int32_t ptype; 22*7c478bd9Sstevel@tonic-gate db_pgno_t next; 23*7c478bd9Sstevel@tonic-gate } __bam_pg_alloc_args; 24*7c478bd9Sstevel@tonic-gate 25*7c478bd9Sstevel@tonic-gate 26*7c478bd9Sstevel@tonic-gate #define DB_bam_pg_free (DB_bam_BEGIN + 2) 27*7c478bd9Sstevel@tonic-gate 28*7c478bd9Sstevel@tonic-gate typedef struct _bam_pg_free_args { 29*7c478bd9Sstevel@tonic-gate u_int32_t type; 30*7c478bd9Sstevel@tonic-gate DB_TXN *txnid; 31*7c478bd9Sstevel@tonic-gate DB_LSN prev_lsn; 32*7c478bd9Sstevel@tonic-gate u_int32_t fileid; 33*7c478bd9Sstevel@tonic-gate db_pgno_t pgno; 34*7c478bd9Sstevel@tonic-gate DB_LSN meta_lsn; 35*7c478bd9Sstevel@tonic-gate DBT header; 36*7c478bd9Sstevel@tonic-gate db_pgno_t next; 37*7c478bd9Sstevel@tonic-gate } __bam_pg_free_args; 38*7c478bd9Sstevel@tonic-gate 39*7c478bd9Sstevel@tonic-gate 40*7c478bd9Sstevel@tonic-gate #define DB_bam_split (DB_bam_BEGIN + 3) 41*7c478bd9Sstevel@tonic-gate 42*7c478bd9Sstevel@tonic-gate typedef struct _bam_split_args { 43*7c478bd9Sstevel@tonic-gate u_int32_t type; 44*7c478bd9Sstevel@tonic-gate DB_TXN *txnid; 45*7c478bd9Sstevel@tonic-gate DB_LSN prev_lsn; 46*7c478bd9Sstevel@tonic-gate u_int32_t fileid; 47*7c478bd9Sstevel@tonic-gate db_pgno_t left; 48*7c478bd9Sstevel@tonic-gate DB_LSN llsn; 49*7c478bd9Sstevel@tonic-gate db_pgno_t right; 50*7c478bd9Sstevel@tonic-gate DB_LSN rlsn; 51*7c478bd9Sstevel@tonic-gate u_int32_t indx; 52*7c478bd9Sstevel@tonic-gate db_pgno_t npgno; 53*7c478bd9Sstevel@tonic-gate DB_LSN nlsn; 54*7c478bd9Sstevel@tonic-gate DBT pg; 55*7c478bd9Sstevel@tonic-gate } __bam_split_args; 56*7c478bd9Sstevel@tonic-gate 57*7c478bd9Sstevel@tonic-gate 58*7c478bd9Sstevel@tonic-gate #define DB_bam_rsplit (DB_bam_BEGIN + 4) 59*7c478bd9Sstevel@tonic-gate 60*7c478bd9Sstevel@tonic-gate typedef struct _bam_rsplit_args { 61*7c478bd9Sstevel@tonic-gate u_int32_t type; 62*7c478bd9Sstevel@tonic-gate DB_TXN *txnid; 63*7c478bd9Sstevel@tonic-gate DB_LSN prev_lsn; 64*7c478bd9Sstevel@tonic-gate u_int32_t fileid; 65*7c478bd9Sstevel@tonic-gate db_pgno_t pgno; 66*7c478bd9Sstevel@tonic-gate DBT pgdbt; 67*7c478bd9Sstevel@tonic-gate db_pgno_t nrec; 68*7c478bd9Sstevel@tonic-gate DBT rootent; 69*7c478bd9Sstevel@tonic-gate DB_LSN rootlsn; 70*7c478bd9Sstevel@tonic-gate } __bam_rsplit_args; 71*7c478bd9Sstevel@tonic-gate 72*7c478bd9Sstevel@tonic-gate 73*7c478bd9Sstevel@tonic-gate #define DB_bam_adj (DB_bam_BEGIN + 5) 74*7c478bd9Sstevel@tonic-gate 75*7c478bd9Sstevel@tonic-gate typedef struct _bam_adj_args { 76*7c478bd9Sstevel@tonic-gate u_int32_t type; 77*7c478bd9Sstevel@tonic-gate DB_TXN *txnid; 78*7c478bd9Sstevel@tonic-gate DB_LSN prev_lsn; 79*7c478bd9Sstevel@tonic-gate u_int32_t fileid; 80*7c478bd9Sstevel@tonic-gate db_pgno_t pgno; 81*7c478bd9Sstevel@tonic-gate DB_LSN lsn; 82*7c478bd9Sstevel@tonic-gate u_int32_t indx; 83*7c478bd9Sstevel@tonic-gate u_int32_t indx_copy; 84*7c478bd9Sstevel@tonic-gate u_int32_t is_insert; 85*7c478bd9Sstevel@tonic-gate } __bam_adj_args; 86*7c478bd9Sstevel@tonic-gate 87*7c478bd9Sstevel@tonic-gate 88*7c478bd9Sstevel@tonic-gate #define DB_bam_cadjust (DB_bam_BEGIN + 6) 89*7c478bd9Sstevel@tonic-gate 90*7c478bd9Sstevel@tonic-gate typedef struct _bam_cadjust_args { 91*7c478bd9Sstevel@tonic-gate u_int32_t type; 92*7c478bd9Sstevel@tonic-gate DB_TXN *txnid; 93*7c478bd9Sstevel@tonic-gate DB_LSN prev_lsn; 94*7c478bd9Sstevel@tonic-gate u_int32_t fileid; 95*7c478bd9Sstevel@tonic-gate db_pgno_t pgno; 96*7c478bd9Sstevel@tonic-gate DB_LSN lsn; 97*7c478bd9Sstevel@tonic-gate u_int32_t indx; 98*7c478bd9Sstevel@tonic-gate int32_t adjust; 99*7c478bd9Sstevel@tonic-gate int32_t total; 100*7c478bd9Sstevel@tonic-gate } __bam_cadjust_args; 101*7c478bd9Sstevel@tonic-gate 102*7c478bd9Sstevel@tonic-gate 103*7c478bd9Sstevel@tonic-gate #define DB_bam_cdel (DB_bam_BEGIN + 7) 104*7c478bd9Sstevel@tonic-gate 105*7c478bd9Sstevel@tonic-gate typedef struct _bam_cdel_args { 106*7c478bd9Sstevel@tonic-gate u_int32_t type; 107*7c478bd9Sstevel@tonic-gate DB_TXN *txnid; 108*7c478bd9Sstevel@tonic-gate DB_LSN prev_lsn; 109*7c478bd9Sstevel@tonic-gate u_int32_t fileid; 110*7c478bd9Sstevel@tonic-gate db_pgno_t pgno; 111*7c478bd9Sstevel@tonic-gate DB_LSN lsn; 112*7c478bd9Sstevel@tonic-gate u_int32_t indx; 113*7c478bd9Sstevel@tonic-gate } __bam_cdel_args; 114*7c478bd9Sstevel@tonic-gate 115*7c478bd9Sstevel@tonic-gate 116*7c478bd9Sstevel@tonic-gate #define DB_bam_repl (DB_bam_BEGIN + 8) 117*7c478bd9Sstevel@tonic-gate 118*7c478bd9Sstevel@tonic-gate typedef struct _bam_repl_args { 119*7c478bd9Sstevel@tonic-gate u_int32_t type; 120*7c478bd9Sstevel@tonic-gate DB_TXN *txnid; 121*7c478bd9Sstevel@tonic-gate DB_LSN prev_lsn; 122*7c478bd9Sstevel@tonic-gate u_int32_t fileid; 123*7c478bd9Sstevel@tonic-gate db_pgno_t pgno; 124*7c478bd9Sstevel@tonic-gate DB_LSN lsn; 125*7c478bd9Sstevel@tonic-gate u_int32_t indx; 126*7c478bd9Sstevel@tonic-gate u_int32_t isdeleted; 127*7c478bd9Sstevel@tonic-gate DBT orig; 128*7c478bd9Sstevel@tonic-gate DBT repl; 129*7c478bd9Sstevel@tonic-gate u_int32_t prefix; 130*7c478bd9Sstevel@tonic-gate u_int32_t suffix; 131*7c478bd9Sstevel@tonic-gate } __bam_repl_args; 132*7c478bd9Sstevel@tonic-gate 133*7c478bd9Sstevel@tonic-gate #endif 134