00001 /* Do not edit: automatically built by gen_rec.awk. */ 00002 00003 #ifndef db_AUTO_H 00004 #define db_AUTO_H 00005 00006 #define DB_db_addrem 41 00007 typedef struct _db_addrem_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 indx; 00015 size_t nbytes; 00016 DBT hdr; 00017 DBT dbt; 00018 DB_LSN pagelsn; 00019 } __db_addrem_args; 00020 00021 int CDB___db_addrem_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, u_int32_t, int32_t, db_pgno_t, u_int32_t, size_t, const DBT *, const DBT *, DB_LSN *)); 00022 int CDB___db_addrem_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *)); 00023 int CDB___db_addrem_read __P((DB_ENV *, void *, __db_addrem_args **)); 00024 00025 #define DB_db_split 42 00026 typedef struct _db_split_args { 00027 u_int32_t type; 00028 DB_TXN *txnid; 00029 DB_LSN prev_lsn; 00030 u_int32_t opcode; 00031 int32_t fileid; 00032 db_pgno_t pgno; 00033 DBT pageimage; 00034 DB_LSN pagelsn; 00035 } __db_split_args; 00036 00037 int CDB___db_split_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *)); 00038 int CDB___db_split_read __P((DB_ENV *, void *, __db_split_args **)); 00039 00040 #define DB_db_big 43 00041 typedef struct _db_big_args { 00042 u_int32_t type; 00043 DB_TXN *txnid; 00044 DB_LSN prev_lsn; 00045 u_int32_t opcode; 00046 int32_t fileid; 00047 db_pgno_t pgno; 00048 db_pgno_t prev_pgno; 00049 db_pgno_t next_pgno; 00050 DBT dbt; 00051 DB_LSN pagelsn; 00052 DB_LSN prevlsn; 00053 DB_LSN nextlsn; 00054 } __db_big_args; 00055 00056 int CDB___db_big_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, u_int32_t, int32_t, db_pgno_t, db_pgno_t, db_pgno_t, const DBT *, DB_LSN *, DB_LSN *, DB_LSN *)); 00057 int CDB___db_big_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *)); 00058 int CDB___db_big_read __P((DB_ENV *, void *, __db_big_args **)); 00059 00060 #define DB_db_ovref 44 00061 typedef struct _db_ovref_args { 00062 u_int32_t type; 00063 DB_TXN *txnid; 00064 DB_LSN prev_lsn; 00065 int32_t fileid; 00066 db_pgno_t pgno; 00067 int32_t adjust; 00068 DB_LSN lsn; 00069 } __db_ovref_args; 00070 00071 int CDB___db_ovref_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, db_pgno_t, int32_t, DB_LSN *)); 00072 int CDB___db_ovref_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *)); 00073 int CDB___db_ovref_read __P((DB_ENV *, void *, __db_ovref_args **)); 00074 00075 #define DB_db_relink 45 00076 typedef struct _db_relink_args { 00077 u_int32_t type; 00078 DB_TXN *txnid; 00079 DB_LSN prev_lsn; 00080 u_int32_t opcode; 00081 int32_t fileid; 00082 db_pgno_t pgno; 00083 DB_LSN lsn; 00084 db_pgno_t prev; 00085 DB_LSN lsn_prev; 00086 db_pgno_t next; 00087 DB_LSN lsn_next; 00088 } __db_relink_args; 00089 00090 int CDB___db_relink_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 *)); 00091 int CDB___db_relink_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *)); 00092 int CDB___db_relink_read __P((DB_ENV *, void *, __db_relink_args **)); 00093 00094 #define DB_db_addpage 46 00095 typedef struct _db_addpage_args { 00096 u_int32_t type; 00097 DB_TXN *txnid; 00098 DB_LSN prev_lsn; 00099 int32_t fileid; 00100 db_pgno_t pgno; 00101 DB_LSN lsn; 00102 db_pgno_t nextpgno; 00103 DB_LSN nextlsn; 00104 } __db_addpage_args; 00105 00106 int CDB___db_addpage_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *)); 00107 int CDB___db_addpage_read __P((DB_ENV *, void *, __db_addpage_args **)); 00108 00109 #define DB_db_debug 47 00110 typedef struct _db_debug_args { 00111 u_int32_t type; 00112 DB_TXN *txnid; 00113 DB_LSN prev_lsn; 00114 DBT op; 00115 int32_t fileid; 00116 DBT key; 00117 DBT data; 00118 u_int32_t arg_flags; 00119 } __db_debug_args; 00120 00121 int CDB___db_debug_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, const DBT *, int32_t, const DBT *, const DBT *, u_int32_t)); 00122 int CDB___db_debug_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *)); 00123 int CDB___db_debug_read __P((DB_ENV *, void *, __db_debug_args **)); 00124 00125 #define DB_db_noop 48 00126 typedef struct _db_noop_args { 00127 u_int32_t type; 00128 DB_TXN *txnid; 00129 DB_LSN prev_lsn; 00130 int32_t fileid; 00131 db_pgno_t pgno; 00132 DB_LSN prevlsn; 00133 } __db_noop_args; 00134 00135 int CDB___db_noop_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, db_pgno_t, DB_LSN *)); 00136 int CDB___db_noop_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *)); 00137 int CDB___db_noop_read __P((DB_ENV *, void *, __db_noop_args **)); 00138 int CDB___db_init_print __P((DB_ENV *)); 00139 int CDB___db_init_recover __P((DB_ENV *)); 00140 #endif