bt_verify.c File Reference

#include "config.h"
#include <sys/types.h>
#include <errno.h>
#include <string.h>
#include "db_int.h"
#include "db_page.h"
#include "db_verify.h"
#include "btree.h"

Go to the source code of this file.

Defines

#define ITEM_BEGIN   1
#define ITEM_END   2
#define OKFLAGS   (DB_AGGRESSIVE | DB_NOORDERCHK | DB_SALVAGE)

Functions

static int __bam_safe_getdata (DB *dbp, PAGE *h, u_int32_t i, int ovflok, DBT *dbt, int *freedbtp)
static int __bam_vrfy_inp (DB *dbp, VRFY_DBINFO *vdp, PAGE *h, db_pgno_t pgno, db_indx_t *nentriesp, u_int32_t flags)
static int __bam_vrfy_treeorder (DB *dbp, db_pgno_t pgno, PAGE *h, BINTERNAL *lp, BINTERNAL *rp, u_int32_t flags)
static int __bam_vrfy_treeorder __P ((DB *, db_pgno_t, PAGE *, BINTERNAL *, BINTERNAL *, u_int32_t))
static int __bam_vrfy_inp __P ((DB *, VRFY_DBINFO *, PAGE *, db_pgno_t, db_indx_t *, u_int32_t))
static int __bam_safe_getdata __P ((DB *, PAGE *, u_int32_t, int, DBT *, int *))
static int __ram_vrfy_inp (DB *dbp, VRFY_DBINFO *vdp, PAGE *h, db_pgno_t pgno, db_indx_t *nentriesp, u_int32_t flags)
int CDB___bam_meta2pgset (DB *dbp, VRFY_DBINFO *vdp, BTMETA *btmeta, u_int32_t flags, DB *pgset)
int CDB___bam_salvage (DB *dbp, VRFY_DBINFO *vdp, db_pgno_t pgno, u_int32_t pgtype, PAGE *h, void *handle, int *callback, DBT *key, u_int32_t flags)
int CDB___bam_salvage_walkdupint (DB *dbp, VRFY_DBINFO *vdp, PAGE *h, DBT *key, void *handle, int *callback, u_int32_t flags)
int CDB___bam_vrfy (DB *dbp, VRFY_DBINFO *vdp, PAGE *h, db_pgno_t pgno, u_int32_t flags)
int CDB___bam_vrfy_itemorder (DB *dbp, VRFY_DBINFO *vdp, PAGE *h, db_pgno_t pgno, u_int32_t nentries, int ovflok, int hasdups, u_int32_t flags)
int CDB___bam_vrfy_meta (DB *dbp, VRFY_DBINFO *vdp, BTMETA *meta, db_pgno_t pgno, u_int32_t flags)
int CDB___bam_vrfy_structure (DB *dbp, VRFY_DBINFO *vdp, db_pgno_t meta_pgno, u_int32_t flags)
int CDB___bam_vrfy_subtree (DB *dbp, VRFY_DBINFO *vdp, db_pgno_t pgno, void *l, void *r, u_int32_t flags, u_int32_t *levelp, u_int32_t *nrecsp, u_int32_t *relenp)
int CDB___ram_vrfy_leaf (DB *dbp, VRFY_DBINFO *vdp, PAGE *h, db_pgno_t pgno, u_int32_t flags)

Variables

static const char revid [] = "$Id: bt__verify_8c.html,v 1.1 2008/06/08 10:13:48 sebdiaz Exp $"


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