00001
00002
00003 #ifndef log_AUTO_H
00004 #define log_AUTO_H
00005
00006 #define DB_log_register1 1
00007 typedef struct _log_register1_args {
00008 u_int32_t type;
00009 DB_TXN *txnid;
00010 DB_LSN prev_lsn;
00011 u_int32_t opcode;
00012 DBT name;
00013 DBT uid;
00014 int32_t fileid;
00015 DBTYPE ftype;
00016 } __log_register1_args;
00017
00018 int CDB___log_register1_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00019 int CDB___log_register1_read __P((DB_ENV *, void *, __log_register1_args **));
00020
00021 #define DB_log_register 2
00022 typedef struct _log_register_args {
00023 u_int32_t type;
00024 DB_TXN *txnid;
00025 DB_LSN prev_lsn;
00026 u_int32_t opcode;
00027 DBT name;
00028 DBT uid;
00029 int32_t fileid;
00030 DBTYPE ftype;
00031 db_pgno_t meta_pgno;
00032 } __log_register_args;
00033
00034 int CDB___log_register_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, u_int32_t, const DBT *, const DBT *, int32_t, DBTYPE, db_pgno_t));
00035 int CDB___log_register_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00036 int CDB___log_register_read __P((DB_ENV *, void *, __log_register_args **));
00037 int CDB___log_init_print __P((DB_ENV *));
00038 int CDB___log_init_recover __P((DB_ENV *));
00039 #endif