/* DO NOT EDIT: automatically built by dist/s_include. */
#ifndef	_lock_ext_h_
#define	_lock_ext_h_
#if defined(__cplusplus)
extern "C" {
#endif
#define	__lock_id __lock_id_rpmdb
int __lock_id __P((DB_ENV *, u_int32_t *));
#define	__lock_id_free __lock_id_free_rpmdb
int __lock_id_free __P((DB_ENV *, u_int32_t));
#define	__lock_vec __lock_vec_rpmdb
int __lock_vec __P((DB_ENV *, u_int32_t, u_int32_t, DB_LOCKREQ *, int, DB_LOCKREQ **));
#define	__lock_get __lock_get_rpmdb
int __lock_get __P((DB_ENV *, u_int32_t, u_int32_t, const DBT *, db_lockmode_t, DB_LOCK *));
#define	__lock_put __lock_put_rpmdb
int  __lock_put __P((DB_ENV *, DB_LOCK *));
#define	__lock_downgrade __lock_downgrade_rpmdb
int __lock_downgrade __P((DB_ENV *, DB_LOCK *, db_lockmode_t, u_int32_t));
#define	__lock_addfamilylocker __lock_addfamilylocker_rpmdb
int __lock_addfamilylocker __P((DB_ENV *, u_int32_t, u_int32_t));
#define	__lock_freefamilylocker __lock_freefamilylocker_rpmdb
int __lock_freefamilylocker  __P((DB_LOCKTAB *, u_int32_t));
#define	__lock_set_timeout __lock_set_timeout_rpmdb
int __lock_set_timeout __P(( DB_ENV *, u_int32_t, db_timeout_t, u_int32_t));
#define	__lock_inherit_timeout __lock_inherit_timeout_rpmdb
int __lock_inherit_timeout __P(( DB_ENV *, u_int32_t, u_int32_t));
#define	__lock_getlocker __lock_getlocker_rpmdb
int __lock_getlocker __P((DB_LOCKTAB *, u_int32_t, u_int32_t, int, DB_LOCKER **));
#define	__lock_promote __lock_promote_rpmdb
int __lock_promote __P((DB_LOCKTAB *, DB_LOCKOBJ *, int));
#define	__lock_expired __lock_expired_rpmdb
int __lock_expired __P((DB_ENV *, db_timeval_t *, db_timeval_t *));
#define	__lock_printlock __lock_printlock_rpmdb
void __lock_printlock __P((DB_LOCKTAB *, struct __db_lock *, int));
#define	__lock_detect __lock_detect_rpmdb
int __lock_detect __P((DB_ENV *, u_int32_t, u_int32_t, int *));
#define	__lock_dbenv_create __lock_dbenv_create_rpmdb
void __lock_dbenv_create __P((DB_ENV *));
#define	__lock_dbenv_close __lock_dbenv_close_rpmdb
void __lock_dbenv_close __P((DB_ENV *));
#define	__lock_open __lock_open_rpmdb
int __lock_open __P((DB_ENV *));
#define	__lock_dbenv_refresh __lock_dbenv_refresh_rpmdb
int __lock_dbenv_refresh __P((DB_ENV *));
#define	__lock_region_destroy __lock_region_destroy_rpmdb
void __lock_region_destroy __P((DB_ENV *, REGINFO *));
#define	__lock_id_set __lock_id_set_rpmdb
int __lock_id_set __P((DB_ENV *, u_int32_t, u_int32_t));
#define	__lock_stat __lock_stat_rpmdb
int __lock_stat __P((DB_ENV *, DB_LOCK_STAT **, u_int32_t));
#define	__lock_dump_region __lock_dump_region_rpmdb
int __lock_dump_region __P((DB_ENV *, char *, FILE *));
#define	__lock_cmp __lock_cmp_rpmdb
int __lock_cmp __P((const DBT *, DB_LOCKOBJ *));
#define	__lock_locker_cmp __lock_locker_cmp_rpmdb
int __lock_locker_cmp __P((u_int32_t, DB_LOCKER *));
#define	__lock_ohash __lock_ohash_rpmdb
u_int32_t __lock_ohash __P((const DBT *));
#define	__lock_lhash __lock_lhash_rpmdb
u_int32_t __lock_lhash __P((DB_LOCKOBJ *));
#define	__lock_locker_hash __lock_locker_hash_rpmdb
u_int32_t __lock_locker_hash __P((u_int32_t));
#if defined(__cplusplus)
}
#endif
#endif /* _lock_ext_h_ */
