hash_auto.h

Go to the documentation of this file.
00001 /* Do not edit: automatically built by gen_rec.awk. */
00002 
00003 #ifndef ham_AUTO_H
00004 #define ham_AUTO_H
00005 
00006 #define DB_ham_insdel   21
00007 typedef struct _ham_insdel_args {
00008         u_int32_t type;
00009         DB_TXN *txnid;
00010         DB_LSN prev_lsn;
00011         u_int32_t       opcode;
00012         int32_t fileid;
00013         db_pgno_t       pgno;
00014         u_int32_t       ndx;
00015         DB_LSN  pagelsn;
00016         DBT     key;
00017         DBT     data;
00018 } __ham_insdel_args;
00019 
00020 int CDB___ham_insdel_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, u_int32_t, int32_t, db_pgno_t, u_int32_t, DB_LSN *, const DBT *, const DBT *));
00021 int CDB___ham_insdel_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00022 int CDB___ham_insdel_read __P((DB_ENV *, void *, __ham_insdel_args **));
00023 
00024 #define DB_ham_newpage  22
00025 typedef struct _ham_newpage_args {
00026         u_int32_t type;
00027         DB_TXN *txnid;
00028         DB_LSN prev_lsn;
00029         u_int32_t       opcode;
00030         int32_t fileid;
00031         db_pgno_t       prev_pgno;
00032         DB_LSN  prevlsn;
00033         db_pgno_t       new_pgno;
00034         DB_LSN  pagelsn;
00035         db_pgno_t       next_pgno;
00036         DB_LSN  nextlsn;
00037 } __ham_newpage_args;
00038 
00039 int CDB___ham_newpage_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, u_int32_t, int32_t, db_pgno_t, DB_LSN *, db_pgno_t, DB_LSN *, db_pgno_t, DB_LSN *));
00040 int CDB___ham_newpage_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00041 int CDB___ham_newpage_read __P((DB_ENV *, void *, __ham_newpage_args **));
00042 
00043 #define DB_ham_splitmeta        23
00044 typedef struct _ham_splitmeta_args {
00045         u_int32_t type;
00046         DB_TXN *txnid;
00047         DB_LSN prev_lsn;
00048         int32_t fileid;
00049         u_int32_t       bucket;
00050         u_int32_t       ovflpoint;
00051         u_int32_t       spares;
00052         DB_LSN  metalsn;
00053 } __ham_splitmeta_args;
00054 
00055 int CDB___ham_splitmeta_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00056 int CDB___ham_splitmeta_read __P((DB_ENV *, void *, __ham_splitmeta_args **));
00057 
00058 #define DB_ham_splitdata        24
00059 typedef struct _ham_splitdata_args {
00060         u_int32_t type;
00061         DB_TXN *txnid;
00062         DB_LSN prev_lsn;
00063         int32_t fileid;
00064         u_int32_t       opcode;
00065         db_pgno_t       pgno;
00066         DBT     pageimage;
00067         DB_LSN  pagelsn;
00068 } __ham_splitdata_args;
00069 
00070 int CDB___ham_splitdata_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, u_int32_t, db_pgno_t, const DBT *, DB_LSN *));
00071 int CDB___ham_splitdata_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00072 int CDB___ham_splitdata_read __P((DB_ENV *, void *, __ham_splitdata_args **));
00073 
00074 #define DB_ham_replace  25
00075 typedef struct _ham_replace_args {
00076         u_int32_t type;
00077         DB_TXN *txnid;
00078         DB_LSN prev_lsn;
00079         int32_t fileid;
00080         db_pgno_t       pgno;
00081         u_int32_t       ndx;
00082         DB_LSN  pagelsn;
00083         int32_t off;
00084         DBT     olditem;
00085         DBT     newitem;
00086         u_int32_t       makedup;
00087 } __ham_replace_args;
00088 
00089 int CDB___ham_replace_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, db_pgno_t, u_int32_t, DB_LSN *, int32_t, const DBT *, const DBT *, u_int32_t));
00090 int CDB___ham_replace_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00091 int CDB___ham_replace_read __P((DB_ENV *, void *, __ham_replace_args **));
00092 
00093 #define DB_ham_newpgno  26
00094 typedef struct _ham_newpgno_args {
00095         u_int32_t type;
00096         DB_TXN *txnid;
00097         DB_LSN prev_lsn;
00098         u_int32_t       opcode;
00099         int32_t fileid;
00100         db_pgno_t       pgno;
00101         db_pgno_t       free_pgno;
00102         u_int32_t       old_type;
00103         db_pgno_t       old_pgno;
00104         u_int32_t       new_type;
00105         DB_LSN  pagelsn;
00106         DB_LSN  metalsn;
00107 } __ham_newpgno_args;
00108 
00109 int CDB___ham_newpgno_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00110 int CDB___ham_newpgno_read __P((DB_ENV *, void *, __ham_newpgno_args **));
00111 
00112 #define DB_ham_ovfl     27
00113 typedef struct _ham_ovfl_args {
00114         u_int32_t type;
00115         DB_TXN *txnid;
00116         DB_LSN prev_lsn;
00117         int32_t fileid;
00118         db_pgno_t       start_pgno;
00119         u_int32_t       npages;
00120         db_pgno_t       free_pgno;
00121         u_int32_t       ovflpoint;
00122         DB_LSN  metalsn;
00123 } __ham_ovfl_args;
00124 
00125 int CDB___ham_ovfl_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00126 int CDB___ham_ovfl_read __P((DB_ENV *, void *, __ham_ovfl_args **));
00127 
00128 #define DB_ham_copypage 28
00129 typedef struct _ham_copypage_args {
00130         u_int32_t type;
00131         DB_TXN *txnid;
00132         DB_LSN prev_lsn;
00133         int32_t fileid;
00134         db_pgno_t       pgno;
00135         DB_LSN  pagelsn;
00136         db_pgno_t       next_pgno;
00137         DB_LSN  nextlsn;
00138         db_pgno_t       nnext_pgno;
00139         DB_LSN  nnextlsn;
00140         DBT     page;
00141 } __ham_copypage_args;
00142 
00143 int CDB___ham_copypage_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, db_pgno_t, DB_LSN *, db_pgno_t, DB_LSN *, db_pgno_t, DB_LSN *, const DBT *));
00144 int CDB___ham_copypage_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00145 int CDB___ham_copypage_read __P((DB_ENV *, void *, __ham_copypage_args **));
00146 
00147 #define DB_ham_metagroup        29
00148 typedef struct _ham_metagroup_args {
00149         u_int32_t type;
00150         DB_TXN *txnid;
00151         DB_LSN prev_lsn;
00152         int32_t fileid;
00153         u_int32_t       bucket;
00154         db_pgno_t       pgno;
00155         DB_LSN  metalsn;
00156         DB_LSN  pagelsn;
00157 } __ham_metagroup_args;
00158 
00159 int CDB___ham_metagroup_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, u_int32_t, db_pgno_t, DB_LSN *, DB_LSN *));
00160 int CDB___ham_metagroup_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00161 int CDB___ham_metagroup_read __P((DB_ENV *, void *, __ham_metagroup_args **));
00162 
00163 #define DB_ham_groupalloc1      30
00164 typedef struct _ham_groupalloc1_args {
00165         u_int32_t type;
00166         DB_TXN *txnid;
00167         DB_LSN prev_lsn;
00168         int32_t fileid;
00169         db_pgno_t       pgno;
00170         DB_LSN  metalsn;
00171         DB_LSN  mmetalsn;
00172         db_pgno_t       start_pgno;
00173         u_int32_t       num;
00174 } __ham_groupalloc1_args;
00175 
00176 int CDB___ham_groupalloc1_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00177 int CDB___ham_groupalloc1_read __P((DB_ENV *, void *, __ham_groupalloc1_args **));
00178 
00179 #define DB_ham_groupalloc       31
00180 typedef struct _ham_groupalloc_args {
00181         u_int32_t type;
00182         DB_TXN *txnid;
00183         DB_LSN prev_lsn;
00184         int32_t fileid;
00185         DB_LSN  meta_lsn;
00186         DB_LSN  alloc_lsn;
00187         db_pgno_t       start_pgno;
00188         u_int32_t       num;
00189         db_pgno_t       free;
00190 } __ham_groupalloc_args;
00191 
00192 int CDB___ham_groupalloc_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, DB_LSN *, DB_LSN *, db_pgno_t, u_int32_t, db_pgno_t));
00193 int CDB___ham_groupalloc_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00194 int CDB___ham_groupalloc_read __P((DB_ENV *, void *, __ham_groupalloc_args **));
00195 int CDB___ham_init_print __P((DB_ENV *));
00196 int CDB___ham_init_recover __P((DB_ENV *));
00197 #endif

Generated on Sun Jun 8 10:56:37 2008 for GNUmifluz by  doxygen 1.5.5