00001
00002 #ifndef _qam_ext_h_
00003 #define _qam_ext_h_
00004
00005 #if defined(__cplusplus)
00006 extern "C" {
00007 #endif
00008
00009 int __qam_position __P((DBC *, db_recno_t *, qam_position_mode, int *));
00010 int __qam_pitem __P((DBC *, QPAGE *, u_int32_t, db_recno_t, DBT *));
00011 int __qam_append __P((DBC *, DBT *, DBT *));
00012 int __qam_c_dup __P((DBC *, DBC *));
00013 int __qam_c_init __P((DBC *));
00014 int __qam_truncate __P((DBC *, u_int32_t *));
00015 int __qam_delete __P((DBC *, DBT *));
00016 int __qam_incfirst_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_recno_t, db_pgno_t));
00017 int __qam_incfirst_read __P((DB_ENV *, void *, __qam_incfirst_args **));
00018 int __qam_mvptr_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, u_int32_t, db_recno_t, db_recno_t, db_recno_t, db_recno_t, DB_LSN *, db_pgno_t));
00019 int __qam_mvptr_read __P((DB_ENV *, void *, __qam_mvptr_args **));
00020 int __qam_del_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, DB_LSN *, db_pgno_t, u_int32_t, db_recno_t));
00021 int __qam_del_read __P((DB_ENV *, void *, __qam_del_args **));
00022 int __qam_add_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, DB_LSN *, db_pgno_t, u_int32_t, db_recno_t, const DBT *, u_int32_t, const DBT *));
00023 int __qam_add_read __P((DB_ENV *, void *, __qam_add_args **));
00024 int __qam_delext_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, DB_LSN *, db_pgno_t, u_int32_t, db_recno_t, const DBT *));
00025 int __qam_delext_read __P((DB_ENV *, void *, __qam_delext_args **));
00026 int __qam_init_recover __P((DB_ENV *, int (***)(DB_ENV *, DBT *, DB_LSN *, db_recops, void *), size_t *));
00027 int __qam_incfirst_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00028 int __qam_mvptr_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00029 int __qam_del_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00030 int __qam_add_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00031 int __qam_delext_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00032 int __qam_init_print __P((DB_ENV *, int (***)(DB_ENV *, DBT *, DB_LSN *, db_recops, void *), size_t *));
00033 int __qam_mswap __P((PAGE *));
00034 int __qam_pgin_out __P((DB_ENV *, db_pgno_t, void *, DBT *));
00035 int __qam_fprobe __P((DB *, db_pgno_t, void *, qam_probe_mode, u_int32_t));
00036 int __qam_fclose __P((DB *, db_pgno_t));
00037 int __qam_fremove __P((DB *, db_pgno_t));
00038 int __qam_sync __P((DB *));
00039 int __qam_gen_filelist __P(( DB *, QUEUE_FILELIST **));
00040 int __qam_extent_names __P((DB_ENV *, char *, char ***));
00041 void __qam_exid __P((DB *, u_int8_t *, u_int32_t));
00042 int __qam_nameop __P((DB *, DB_TXN *, const char *, qam_name_op));
00043 int __qam_db_create __P((DB *));
00044 int __qam_db_close __P((DB *, u_int32_t));
00045 int __qam_get_extentsize __P((DB *, u_int32_t *));
00046 int __queue_pageinfo __P((DB *, db_pgno_t *, db_pgno_t *, int *, int, u_int32_t));
00047 int __db_prqueue __P((DB *, u_int32_t));
00048 int __qam_remove __P((DB *, DB_TXN *, const char *, const char *));
00049 int __qam_rename __P((DB *, DB_TXN *, const char *, const char *, const char *));
00050 void __qam_map_flags __P((DB *, u_int32_t *, u_int32_t *));
00051 int __qam_set_flags __P((DB *, u_int32_t *flagsp));
00052 int __qam_open __P((DB *, DB_TXN *, const char *, db_pgno_t, int, u_int32_t));
00053 int __qam_set_ext_data __P((DB*, const char *));
00054 int __qam_metachk __P((DB *, const char *, QMETA *));
00055 int __qam_new_file __P((DB *, DB_TXN *, DB_FH *, const char *));
00056 int __qam_incfirst_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00057 int __qam_mvptr_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00058 int __qam_del_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00059 int __qam_delext_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00060 int __qam_add_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00061 int __qam_stat __P((DBC *, void *, u_int32_t));
00062 int __qam_stat_print __P((DBC *, u_int32_t));
00063 int __db_no_queue_am __P((DB_ENV *));
00064 int __qam_31_qammeta __P((DB *, char *, u_int8_t *));
00065 int __qam_32_qammeta __P((DB *, char *, u_int8_t *));
00066 int __qam_vrfy_meta __P((DB *, VRFY_DBINFO *, QMETA *, db_pgno_t, u_int32_t));
00067 int __qam_vrfy_data __P((DB *, VRFY_DBINFO *, QPAGE *, db_pgno_t, u_int32_t));
00068 int __qam_vrfy_structure __P((DB *, VRFY_DBINFO *, u_int32_t));
00069 int __qam_vrfy_walkqueue __P((DB *, VRFY_DBINFO *, void *, int (*)(void *, const void *), u_int32_t));
00070 int __qam_salvage __P((DB *, VRFY_DBINFO *, db_pgno_t, PAGE *, void *, int (*)(void *, const void *), u_int32_t));
00071
00072 #if defined(__cplusplus)
00073 }
00074 #endif
00075 #endif