00001
00002 #ifndef _mutex_ext_h_
00003 #define _mutex_ext_h_
00004 #if defined(__cplusplus)
00005 extern "C" {
00006 #endif
00007 int __db_fcntl_mutex_init __P((DB_ENV *, MUTEX *, u_int32_t));
00008 int __db_fcntl_mutex_lock __P((MUTEX *, DB_FH *));
00009 int __db_fcntl_mutex_unlock __P((MUTEX *));
00010 int __db_pthread_mutex_init __P((DB_ENV *, MUTEX *, u_int32_t));
00011 int __db_pthread_mutex_lock __P((MUTEX *));
00012 int __db_pthread_mutex_unlock __P((MUTEX *));
00013 int CDB___db_tas_mutex_init __P((DB_ENV *, MUTEX *, u_int32_t));
00014 int CDB___db_tas_mutex_lock __P((MUTEX *));
00015 int CDB___db_tas_mutex_unlock __P((MUTEX *));
00016 int CDB___db_mutex_alloc __P((DB_ENV *, REGINFO *, MUTEX **));
00017 void CDB___db_mutex_free __P((DB_ENV *, REGINFO *, MUTEX *));
00018 #if defined(__cplusplus)
00019 }
00020 #endif
00021 #endif