db_pr.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 "btree.h"
#include "hash.h"
#include "qam.h"
#include "db_am.h"
#include "db_verify.h"

Go to the source code of this file.

Defines

#define DBTBUFLEN   100
#define PSIZE_BOUNDARY   (64 * 1024 + 1)

Functions

static int __db_bmeta (DB *dbp, FILE *fp, BTMETA *h, u_int32_t flags)
static const char * __db_dbtype_to_string (DB *dbp)
static int __db_hmeta (DB *dbp, FILE *fp, HMETA *h, u_int32_t flags)
static void __db_meta (DB *dbp, DBMETA *dbmeta, FILE *fp, FN const *fn, u_int32_t flags)
static void __db_prdb (DB *dbp, FILE *fp, u_int32_t flags)
static FILE * __db_prinit (FILE *fp)
static void __db_proff (void *vp)
static int __db_prtree (DB *dbp, u_int32_t flags)
static void __db_psize (DB *dbp)
static int __db_qmeta (DB *dbp, FILE *fp, QMETA *h, u_int32_t flags)
static int __db_qmeta __P ((DB *, FILE *, QMETA *, u_int32_t))
static int __db_prtree __P ((DB *, u_int32_t))
static void __db_proff __P ((void *))
static FILE *__db_prinit __P ((FILE *))
static void __db_prdb __P ((DB *, FILE *, u_int32_t))
static const char
*__db_dbtype_to_string 
__P ((DB *))
static void __db_meta __P ((DB *, DBMETA *, FILE *, FN const *, u_int32_t))
static int __db_hmeta __P ((DB *, FILE *, HMETA *, u_int32_t))
static int __db_bmeta __P ((DB *, FILE *, BTMETA *, u_int32_t))
int CDB___db_dump (DB *dbp, char *op, char *name)
void CDB___db_loadme ()
const char * CDB___db_pagetype_to_string (u_int32_t type)
void CDB___db_pr (u_int8_t *p, u_int32_t len)
int CDB___db_prdbt (DBT *dbtp, int checkprint, const char *prefix, void *handle, int *callback, int is_recno, VRFY_DBINFO *vdp)
void CDB___db_prflags (u_int32_t flags, FN const *fn, FILE *fp)
int CDB___db_prfooter (void *handle, int *callback)
int CDB___db_prheader (DB *dbp, char *subname, int pflag, int keyflag, void *handle, int *callback, VRFY_DBINFO *vdp, db_pgno_t meta_pgno)
int CDB___db_prnpage (DB *dbp, db_pgno_t pgno)
int CDB___db_prpage (DB *dbp, PAGE *h, u_int32_t flags)

Variables

static const char revid [] = "$Id: db__pr_8c.html,v 1.1 2008/06/08 10:18:09 sebdiaz Exp $"
static FILE * set_fp
static size_t set_psize = PSIZE_BOUNDARY


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