lock_region.c File Reference

#include "config.h"
#include <sys/types.h>
#include <ctype.h>
#include <errno.h>
#include <string.h>
#include "db_int.h"
#include "db_shash.h"
#include "lock.h"

Go to the source code of this file.

Defines

#define LOCK_DUMP_ALL   0x01f
#define LOCK_DUMP_CONF   0x001
#define LOCK_DUMP_FREE   0x002
#define LOCK_DUMP_LOCKERS   0x004
#define LOCK_DUMP_MEM   0x008
#define LOCK_DUMP_OBJECTS   0x010

Functions

static void __lock_dump_locker (DB_LOCKTAB *, DB_LOCKER *, FILE *)
static void __lock_dump_object (DB_LOCKTAB *, DB_LOCKOBJ *, FILE *)
static const char * __lock_dump_status (db_status_t status)
static int __lock_init (DB_ENV *dbenv, DB_LOCKTAB *lt)
static size_t __lock_region_size (DB_ENV *dbenv)
static int __lock_set_lk_conflicts (DB_ENV *dbenv, u_int8_t *lk_conflicts, int lk_modes)
static int __lock_set_lk_detect (DB_ENV *dbenv, u_int32_t lk_detect)
static int __lock_set_lk_max (DB_ENV *dbenv, u_int32_t lk_max)
static int __lock_set_lk_detect __P ((DB_ENV *, u_int32_t))
static int __lock_set_lk_conflicts __P ((DB_ENV *, u_int8_t *, int))
static size_t __lock_region_size __P ((DB_ENV *))
static int __lock_init __P ((DB_ENV *, DB_LOCKTAB *))
static const char
*__lock_dump_status 
__P ((db_status_t))
int CDB___lock_close (DB_ENV *dbenv)
void CDB___lock_dbenv_close (DB_ENV *dbenv)
void CDB___lock_dbenv_create (DB_ENV *dbenv)
void CDB___lock_dump_region (DB_ENV *dbenv, char *area, FILE *fp)
int CDB___lock_open (DB_ENV *dbenv)
int CDB_lock_stat (DB_ENV *dbenv, DB_LOCK_STAT **statp, db_malloc)

Variables

static u_int8_t const db_cdb_conflicts []
static const char revid [] = "$Id: lock__region_8c.html,v 1.1 2008/06/08 10:20:00 sebdiaz Exp $"


Generated on Sun Jun 8 10:56:52 2008 for GNUmifluz by  doxygen 1.5.5