00001 /* DO NOT EDIT: automatically built by dist/distrib. */ 00002 #ifndef _lock_ext_h_ 00003 #define _lock_ext_h_ 00004 #if defined(__cplusplus) 00005 extern "C" { 00006 #endif 00007 int CDB___lock_downgrade __P((DB_ENV *, 00008 DB_LOCK *, db_lockmode_t, u_int32_t)); 00009 int CDB___lock_addfamilylocker __P((DB_ENV *, u_int32_t, u_int32_t)); 00010 int CDB___lock_freefamilylocker __P((DB_LOCKTAB *, u_int32_t)); 00011 void CDB___lock_freelocker __P((DB_LOCKTAB *, 00012 DB_LOCKREGION *, DB_LOCKER *, u_int32_t)); 00013 int CDB___lock_getlocker __P((DB_LOCKTAB *, 00014 u_int32_t, u_int32_t, int, DB_LOCKER **)); 00015 int CDB___lock_getobj __P((DB_LOCKTAB *, 00016 const DBT *, u_int32_t, int, DB_LOCKOBJ **)); 00017 int CDB___lock_promote __P((DB_LOCKTAB *, DB_LOCKOBJ *)); 00018 void CDB___lock_printlock __P((DB_LOCKTAB *, struct __db_lock *, int)); 00019 void CDB___lock_dbenv_create __P((DB_ENV *)); 00020 void CDB___lock_dbenv_close __P((DB_ENV *)); 00021 int CDB___lock_open __P((DB_ENV *)); 00022 int CDB___lock_close __P((DB_ENV *)); 00023 void CDB___lock_dump_region __P((DB_ENV *, char *, FILE *)); 00024 int CDB___lock_cmp __P((const DBT *, DB_LOCKOBJ *)); 00025 int CDB___lock_locker_cmp __P((u_int32_t, DB_LOCKER *)); 00026 u_int32_t CDB___lock_ohash __P((const DBT *)); 00027 u_int32_t CDB___lock_lhash __P((DB_LOCKOBJ *)); 00028 u_int32_t CDB___lock_locker_hash __P((u_int32_t)); 00029 #if defined(__cplusplus) 00030 } 00031 #endif 00032 #endif /* _lock_ext_h_ */