00001
00002 #ifndef _common_ext_h_
00003 #define _common_ext_h_
00004 #if defined(__cplusplus)
00005 extern "C" {
00006 #endif
00007 int CDB___db_byteorder __P((DB_ENV *, int));
00008 int CDB___db_fchk __P((DB_ENV *, const char *, u_int32_t, u_int32_t));
00009 int CDB___db_fcchk
00010 __P((DB_ENV *, const char *, u_int32_t, u_int32_t, u_int32_t));
00011 int CDB___db_ferr __P((const DB_ENV *, const char *, int));
00012 int CDB___db_pgerr __P((DB *, db_pgno_t));
00013 int CDB___db_pgfmt __P((DB *, db_pgno_t));
00014 int CDB___db_eopnotsup __P((const DB_ENV *));
00015 #ifdef DIAGNOSTIC
00016 void __db_assert __P((const char *, const char *, int));
00017 #endif
00018 int CDB___db_panic_msg __P((DB_ENV *));
00019 int CDB___db_panic __P((DB_ENV *, int));
00020 #ifdef __STDC__
00021 void CDB___db_err __P((const DB_ENV *, const char *, ...));
00022 #else
00023 void CDB___db_err();
00024 #endif
00025 void CDB___db_real_err
00026 __P((const DB_ENV *, int, int, int, const char *, va_list));
00027 #ifdef __STDC__
00028 void CDB___db_logmsg __P((const DB_ENV *,
00029 DB_TXN *, const char *, u_int32_t, const char *, ...));
00030 #else
00031 void CDB___db_logmsg();
00032 #endif
00033 #ifdef __STDC__
00034 void CDB___db_real_log __P((const DB_ENV *,
00035 DB_TXN *, const char *, u_int32_t, const char *, va_list ap));
00036 #else
00037 void CDB___db_real_log();
00038 #endif
00039 int CDB___db_unknown_flag __P((DB_ENV *, char *, u_int32_t));
00040 int CDB___db_unknown_type __P((DB_ENV *, char *, u_int32_t));
00041 int CDB___db_child_active_err __P((DB_ENV *));
00042 int CDB___db_getlong
00043 __P((DB *, const char *, char *, long, long, long *));
00044 int CDB___db_getulong
00045 __P((DB *, const char *, char *, u_long, u_long, u_long *));
00046 u_int32_t CDB___db_log2 __P((u_int32_t));
00047 #if defined(__cplusplus)
00048 }
00049 #endif
00050 #endif