00001
00002
00003 #ifndef qam_AUTO_H
00004 #define qam_AUTO_H
00005
00006 #define DB_qam_inc 76
00007 typedef struct _qam_inc_args {
00008 u_int32_t type;
00009 DB_TXN *txnid;
00010 DB_LSN prev_lsn;
00011 int32_t fileid;
00012 DB_LSN lsn;
00013 } __qam_inc_args;
00014
00015 int CDB___qam_inc_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, DB_LSN *));
00016 int CDB___qam_inc_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00017 int CDB___qam_inc_read __P((DB_ENV *, void *, __qam_inc_args **));
00018
00019 #define DB_qam_incfirst 77
00020 typedef struct _qam_incfirst_args {
00021 u_int32_t type;
00022 DB_TXN *txnid;
00023 DB_LSN prev_lsn;
00024 int32_t fileid;
00025 db_recno_t recno;
00026 } __qam_incfirst_args;
00027
00028 int CDB___qam_incfirst_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, db_recno_t));
00029 int CDB___qam_incfirst_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00030 int CDB___qam_incfirst_read __P((DB_ENV *, void *, __qam_incfirst_args **));
00031
00032 #define DB_qam_mvptr 78
00033 typedef struct _qam_mvptr_args {
00034 u_int32_t type;
00035 DB_TXN *txnid;
00036 DB_LSN prev_lsn;
00037 u_int32_t opcode;
00038 int32_t fileid;
00039 db_recno_t old_first;
00040 db_recno_t new_first;
00041 db_recno_t old_cur;
00042 db_recno_t new_cur;
00043 DB_LSN metalsn;
00044 } __qam_mvptr_args;
00045
00046 int CDB___qam_mvptr_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, u_int32_t, int32_t, db_recno_t, db_recno_t, db_recno_t, db_recno_t, DB_LSN *));
00047 int CDB___qam_mvptr_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00048 int CDB___qam_mvptr_read __P((DB_ENV *, void *, __qam_mvptr_args **));
00049
00050 #define DB_qam_del 79
00051 typedef struct _qam_del_args {
00052 u_int32_t type;
00053 DB_TXN *txnid;
00054 DB_LSN prev_lsn;
00055 int32_t fileid;
00056 DB_LSN lsn;
00057 db_pgno_t pgno;
00058 u_int32_t indx;
00059 db_recno_t recno;
00060 } __qam_del_args;
00061
00062 int CDB___qam_del_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, DB_LSN *, db_pgno_t, u_int32_t, db_recno_t));
00063 int CDB___qam_del_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00064 int CDB___qam_del_read __P((DB_ENV *, void *, __qam_del_args **));
00065
00066 #define DB_qam_add 80
00067 typedef struct _qam_add_args {
00068 u_int32_t type;
00069 DB_TXN *txnid;
00070 DB_LSN prev_lsn;
00071 int32_t fileid;
00072 DB_LSN lsn;
00073 db_pgno_t pgno;
00074 u_int32_t indx;
00075 db_recno_t recno;
00076 DBT data;
00077 u_int32_t vflag;
00078 DBT olddata;
00079 } __qam_add_args;
00080
00081 int CDB___qam_add_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, DB_LSN *, db_pgno_t, u_int32_t, db_recno_t, const DBT *, u_int32_t, const DBT *));
00082 int CDB___qam_add_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00083 int CDB___qam_add_read __P((DB_ENV *, void *, __qam_add_args **));
00084 int CDB___qam_init_print __P((DB_ENV *));
00085 int CDB___qam_init_recover __P((DB_ENV *));
00086 #endif