env_open.c File Reference

#include "config.h"
#include <sys/types.h>
#include <ctype.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "db_int.h"
#include "db_page.h"
#include "db_shash.h"
#include "btree.h"
#include "hash.h"
#include "qam.h"
#include "lock.h"
#include "log.h"
#include "mp.h"
#include "txn.h"
#include "clib.h"

Go to the source code of this file.

Defines

#define CONFIG_NAME   "/DB_CONFIG"
#define DB_ADDSTR(add)
#define DB_TRAIL   "BDBXXXXXX"
#define OKFLAGS   DB_FORCE | DB_USE_ENVIRON | DB_USE_ENVIRON_ROOT
#define OKFLAGS
#define OKFLAGS_CDB

Functions

static int __db_home (DB_ENV *dbenv, const char *db_home, u_int32_t flags)
static int __db_parse (DB_ENV *dbenv, char *s)
static int __db_tmp_open (DB_ENV *dbenv, u_int32_t tmp_oflags, char *path, DB_FH *fhp)
static int __dbenv_config (DB_ENV *dbenv, const char *db_home, u_int32_t flags)
static int __dbenv_refresh (DB_ENV *dbenv)
static int __db_tmp_open __P ((DB_ENV *, u_int32_t, char *, DB_FH *))
static int __db_parse __P ((DB_ENV *, char *))
static int __dbenv_refresh __P ((DB_ENV *))
static int __dbenv_config __P ((DB_ENV *, const char *, u_int32_t))
int CDB___db_appname (DB_ENV *dbenv, APPNAME appname, const char *dir, const char *file, u_int32_t tmp_oflags, DB_FH *fhp, char **namep)
int CDB___dbenv_close (DB_ENV *dbenv, u_int32_t flags)
int CDB___dbenv_open (DB_ENV *dbenv, const char *db_home, u_int32_t flags, int mode)
int CDB___dbenv_remove (DB_ENV *dbenv, const char *db_home, u_int32_t flags)
char * CDB_db_version (int *majverp, int *minverp, int *patchp)

Variables

static const char revid [] = "$Id: env__open_8c.html,v 1.1 2008/06/08 10:18:42 sebdiaz Exp $"


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