lock_ext.h
上传用户:tsgydb
上传日期:2007-04-14
资源大小:10674k
文件大小:2k
- /* DO NOT EDIT: automatically built by dist/s_include. */
- #ifndef _lock_ext_h_
- #define _lock_ext_h_
- #if defined(__cplusplus)
- extern "C" {
- #endif
- int __lock_downgrade __P((DB_ENV *,
- DB_LOCK *, db_lockmode_t, u_int32_t));
- int __lock_addfamilylocker __P((DB_ENV *, u_int32_t, u_int32_t));
- int __lock_freefamilylocker __P((DB_LOCKTAB *, u_int32_t));
- void __lock_freelocker __P((DB_LOCKTAB *,
- DB_LOCKREGION *, DB_LOCKER *, u_int32_t));
- int __lock_getlocker __P((DB_LOCKTAB *,
- u_int32_t, u_int32_t, int, DB_LOCKER **));
- int __lock_getobj __P((DB_LOCKTAB *,
- const DBT *, u_int32_t, int, DB_LOCKOBJ **));
- int __lock_promote __P((DB_LOCKTAB *, DB_LOCKOBJ *, int));
- void __lock_printlock __P((DB_LOCKTAB *, struct __db_lock *, int));
- int __lock_set_lk_conflicts __P((DB_ENV *, u_int8_t *, int));
- int __lock_set_lk_detect __P((DB_ENV *, u_int32_t));
- int __lock_set_lk_max __P((DB_ENV *, u_int32_t));
- int __lock_set_lk_max_locks __P((DB_ENV *, u_int32_t));
- int __lock_set_lk_max_lockers __P((DB_ENV *, u_int32_t));
- int __lock_set_lk_max_objects __P((DB_ENV *, u_int32_t));
- void __lock_dbenv_create __P((DB_ENV *));
- void __lock_dbenv_close __P((DB_ENV *));
- int __lock_open __P((DB_ENV *));
- int __lock_close __P((DB_ENV *));
- void __lock_region_destroy __P((DB_ENV *, REGINFO *));
- void __lock_dump_region __P((DB_ENV *, char *, FILE *));
- int __lock_cmp __P((const DBT *, DB_LOCKOBJ *));
- int __lock_locker_cmp __P((u_int32_t, DB_LOCKER *));
- u_int32_t __lock_ohash __P((const DBT *));
- u_int32_t __lock_lhash __P((DB_LOCKOBJ *));
- u_int32_t __lock_locker_hash __P((u_int32_t));
- #if defined(__cplusplus)
- }
- #endif
- #endif /* _lock_ext_h_ */