log_ext.h
上传用户:tsgydb
上传日期:2007-04-14
资源大小:10674k
文件大小:1k
- /* DO NOT EDIT: automatically built by dist/s_include. */
- #ifndef _log_ext_h_
- #define _log_ext_h_
- #if defined(__cplusplus)
- extern "C" {
- #endif
- int __log_open __P((DB_ENV *));
- int __log_find __P((DB_LOG *, int, int *, logfile_validity *));
- int __log_valid __P((DB_LOG *, u_int32_t, int, logfile_validity *));
- int __log_close __P((DB_ENV *));
- int __log_lastckp __P((DB_ENV *, DB_LSN *));
- int __log_findckp __P((DB_ENV *, DB_LSN *));
- int __log_get __P((DB_LOG *, DB_LSN *, DBT *, u_int32_t, int));
- void __log_dbenv_create __P((DB_ENV *));
- int __log_put __P((DB_ENV *, DB_LSN *, const DBT *, u_int32_t));
- int __log_name __P((DB_LOG *,
- u_int32_t, char **, DB_FH *, u_int32_t));
- int __log_register_recover
- __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
- int __log_reopen_file __P((DB_ENV *,
- char *, int32_t, u_int8_t *, db_pgno_t));
- int __log_add_logid __P((DB_ENV *, DB_LOG *, DB *, int32_t));
- int __db_fileid_to_db __P((DB_ENV *, DB **, int32_t, int));
- void __log_close_files __P((DB_ENV *));
- void __log_rem_logid __P((DB_LOG *, DB *, int32_t));
- int __log_lid_to_fname __P((DB_LOG *, int32_t, FNAME **));
- int __log_filelist_update
- __P((DB_ENV *, DB *, int32_t, const char *, int *));
- int __log_file_lock __P((DB *));
- #if defined(__cplusplus)
- }
- #endif
- #endif /* _log_ext_h_ */