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