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