mp_fopen.c File Reference

#include "config.h"
#include <sys/types.h>
#include <errno.h>
#include <string.h>
#include "db_int.h"
#include "db_shash.h"
#include "db_page.h"
#include "mp.h"

Go to the source code of this file.

Defines

#define DB_MAXMMAPSIZE   (10 * 1024 * 1024)
#define ISTEMPORARY   (path == NULL)
#define MEMP_FREMOVE(mfp)

Functions

static int __memp_mf_open (DB_MPOOL *dbmp, const char *path, size_t pagesize, db_pgno_t last_pgno, DB_MPOOL_FINFO *finfop, u_int32_t flags, MPOOLFILE **retp)
static int __memp_mf_open __P ((DB_MPOOL *, const char *, size_t, db_pgno_t, DB_MPOOL_FINFO *, u_int32_t, MPOOLFILE **))
char * CDB___memp_fn (DB_MPOOLFILE *dbmfp)
char * CDB___memp_fns (DB_MPOOL *dbmp, MPOOLFILE *mfp)
int CDB___memp_fopen (DB_MPOOL *dbmp, MPOOLFILE *mfp, const char *path, u_int32_t flags, int mode, size_t pagesize, int needlock, DB_MPOOL_FINFO *finfop, DB_MPOOLFILE **retp)
int CDB___memp_fremove (DB_MPOOLFILE *dbmfp)
void CDB___memp_mf_discard (DB_MPOOL *dbmp, MPOOLFILE *mfp)
int CDB_memp_fclose (DB_MPOOLFILE *dbmfp)
int CDB_memp_fopen (DB_ENV *dbenv, const char *path, u_int32_t flags, int mode, size_t pagesize, DB_MPOOL_FINFO *finfop, DB_MPOOLFILE **retp)

Variables

static MPOOLmp
static const char revid [] = "$Id: mp__fopen_8c.html,v 1.1 2008/06/08 10:20:46 sebdiaz Exp $"


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