00001
00002
00003 #ifndef __ham_AUTO_H
00004 #define __ham_AUTO_H
00005 #define DB___ham_insdel 21
00006 typedef struct ___ham_insdel_args {
00007 u_int32_t type;
00008 DB_TXN *txnid;
00009 DB_LSN prev_lsn;
00010 u_int32_t opcode;
00011 int32_t fileid;
00012 db_pgno_t pgno;
00013 u_int32_t ndx;
00014 DB_LSN pagelsn;
00015 DBT key;
00016 DBT data;
00017 } __ham_insdel_args;
00018
00019 #define DB___ham_newpage 22
00020 typedef struct ___ham_newpage_args {
00021 u_int32_t type;
00022 DB_TXN *txnid;
00023 DB_LSN prev_lsn;
00024 u_int32_t opcode;
00025 int32_t fileid;
00026 db_pgno_t prev_pgno;
00027 DB_LSN prevlsn;
00028 db_pgno_t new_pgno;
00029 DB_LSN pagelsn;
00030 db_pgno_t next_pgno;
00031 DB_LSN nextlsn;
00032 } __ham_newpage_args;
00033
00034 #define DB___ham_splitdata 24
00035 typedef struct ___ham_splitdata_args {
00036 u_int32_t type;
00037 DB_TXN *txnid;
00038 DB_LSN prev_lsn;
00039 int32_t fileid;
00040 u_int32_t opcode;
00041 db_pgno_t pgno;
00042 DBT pageimage;
00043 DB_LSN pagelsn;
00044 } __ham_splitdata_args;
00045
00046 #define DB___ham_replace 25
00047 typedef struct ___ham_replace_args {
00048 u_int32_t type;
00049 DB_TXN *txnid;
00050 DB_LSN prev_lsn;
00051 int32_t fileid;
00052 db_pgno_t pgno;
00053 u_int32_t ndx;
00054 DB_LSN pagelsn;
00055 int32_t off;
00056 DBT olditem;
00057 DBT newitem;
00058 u_int32_t makedup;
00059 } __ham_replace_args;
00060
00061 #define DB___ham_copypage 28
00062 typedef struct ___ham_copypage_args {
00063 u_int32_t type;
00064 DB_TXN *txnid;
00065 DB_LSN prev_lsn;
00066 int32_t fileid;
00067 db_pgno_t pgno;
00068 DB_LSN pagelsn;
00069 db_pgno_t next_pgno;
00070 DB_LSN nextlsn;
00071 db_pgno_t nnext_pgno;
00072 DB_LSN nnextlsn;
00073 DBT page;
00074 } __ham_copypage_args;
00075
00076 #define DB___ham_metagroup 29
00077 typedef struct ___ham_metagroup_args {
00078 u_int32_t type;
00079 DB_TXN *txnid;
00080 DB_LSN prev_lsn;
00081 int32_t fileid;
00082 u_int32_t bucket;
00083 db_pgno_t mmpgno;
00084 DB_LSN mmetalsn;
00085 db_pgno_t mpgno;
00086 DB_LSN metalsn;
00087 db_pgno_t pgno;
00088 DB_LSN pagelsn;
00089 u_int32_t newalloc;
00090 db_pgno_t last_pgno;
00091 } __ham_metagroup_args;
00092
00093 #define DB___ham_groupalloc 32
00094 typedef struct ___ham_groupalloc_args {
00095 u_int32_t type;
00096 DB_TXN *txnid;
00097 DB_LSN prev_lsn;
00098 int32_t fileid;
00099 DB_LSN meta_lsn;
00100 db_pgno_t start_pgno;
00101 u_int32_t num;
00102 db_pgno_t free;
00103 db_pgno_t last_pgno;
00104 } __ham_groupalloc_args;
00105
00106 #define DB___ham_curadj 33
00107 typedef struct ___ham_curadj_args {
00108 u_int32_t type;
00109 DB_TXN *txnid;
00110 DB_LSN prev_lsn;
00111 int32_t fileid;
00112 db_pgno_t pgno;
00113 u_int32_t indx;
00114 u_int32_t len;
00115 u_int32_t dup_off;
00116 int add;
00117 int is_dup;
00118 u_int32_t order;
00119 } __ham_curadj_args;
00120
00121 #define DB___ham_chgpg 34
00122 typedef struct ___ham_chgpg_args {
00123 u_int32_t type;
00124 DB_TXN *txnid;
00125 DB_LSN prev_lsn;
00126 int32_t fileid;
00127 db_ham_mode mode;
00128 db_pgno_t old_pgno;
00129 db_pgno_t new_pgno;
00130 u_int32_t old_indx;
00131 u_int32_t new_indx;
00132 } __ham_chgpg_args;
00133
00134 #endif