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