xref: /titanic_41/usr/src/cmd/sendmail/db/include/lock_ext.h (revision 2b24ab6b3865caeede9eeb9db6b83e1d89dcd1ea)
1 /* DO NOT EDIT: automatically built by dist/distrib. */
2 #ifndef _lock_ext_h_
3 #define _lock_ext_h_
4 int __lock_is_locked
5    __P((DB_LOCKTAB *, u_int32_t, DBT *, db_lockmode_t));
6 void __lock_printlock __P((DB_LOCKTAB *, struct __db_lock *, int));
7 int __lock_getobj  __P((DB_LOCKTAB *,
8     u_int32_t, const DBT *, u_int32_t type, DB_LOCKOBJ **));
9 int __lock_downgrade __P((DB_LOCKTAB *,
10     DB_LOCK, db_lockmode_t, u_int32_t));
11 void __lock_panic __P((DB_ENV *));
12 int __lock_validate_region __P((DB_LOCKTAB *));
13 int __lock_grow_region __P((DB_LOCKTAB *, int, size_t));
14 void __lock_dump_region __P((DB_LOCKTAB *, char *, FILE *));
15 int __lock_cmp __P((const DBT *, DB_LOCKOBJ *));
16 int __lock_locker_cmp __P((u_int32_t, DB_LOCKOBJ *));
17 u_int32_t __lock_ohash __P((const DBT *));
18 u_int32_t __lock_lhash __P((DB_LOCKOBJ *));
19 u_int32_t __lock_locker_hash __P((u_int32_t));
20 #endif /* _lock_ext_h_ */
21