rpmdb/dbconfig.c File Reference

#include "system.h"
#include <rpmlib.h>
#include <rpmmacro.h>
#include "rpmdb.h"
#include "debug.h"

Go to the source code of this file.

Defines

#define __USE_DB3   1

Functions

dbiIndex db3Free (dbiIndex dbi)
 Destroy index database handle instance.
dbiIndex db3New (rpmdb rpmdb, rpmTag rpmtag)
 Return new configured index database handle instance.
const char *const prDbiOpenFlags (int dbflags, int print_dbenv_flags)
 Format db3 open flags for debugging print.

Variables

_dbiIndex db3dbi
static int dbi_use_cursors
static int dbi_tear_down
poptOption rdbOptions []
static const char * db3_config_default


Detailed Description

Definition in file dbconfig.c.


Define Documentation

#define __USE_DB3   1

Definition at line 18 of file dbconfig.c.


Variable Documentation

const char* db3_config_default [static]

Initial value:

    "db3:hash:mpool:cdb:usecursors:verbose:mp_mmapsize=8Mb:cachesize=512Kb:pagesize=512:perms=0644"
Todo:
Set a reasonable "last gasp" default db config.

Definition at line 273 of file dbconfig.c.

Referenced by db3New().

struct _dbiIndex db3dbi

Definition at line 22 of file dbconfig.c.

Referenced by db3New(), and prDbiOpenFlags().

int dbi_tear_down [static]

Definition at line 29 of file dbconfig.c.

int dbi_use_cursors [static]

Definition at line 26 of file dbconfig.c.


Generated on Fri Oct 12 08:44:56 2007 for rpm by  doxygen 1.5.2