hash.c File Reference

#include "config.h"
#include <sys/types.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include "db_int.h"
#include "db_page.h"
#include "db_am.h"
#include "db_ext.h"
#include "db_shash.h"
#include "db_swap.h"
#include "hash.h"
#include "btree.h"
#include "log.h"
#include "lock.h"
#include "txn.h"

Go to the source code of this file.

Functions

static int __ham_c_close (DBC *dbc, db_pgno_t root_pgno, int *rmroot)
static int __ham_c_del (DBC *dbc)
static int __ham_c_destroy (DBC *dbc)
static int __ham_c_get (DBC *dbc, DBT *key, DBT *data, u_int32_t flags, db_pgno_t *pgnop)
static int __ham_c_put (DBC *dbc, DBT *key, DBT *data, u_int32_t flags, db_pgno_t *pgnop)
static int __ham_c_writelock (DBC *dbc)
static int __ham_del_dups (DBC *orig_dbc, DBT *key)
static int __ham_delete (DB *dbp, DB_TXN *txn, DBT *key, u_int32_t flags)
static int __ham_dup_return (DBC *dbc, DBT *val, u_int32_t flags)
static int __ham_expand_table (DBC *dbc)
static int __ham_init_htab (DBC *dbc, const char *name, db_pgno_t pgno, u_int32_t nelem, u_int32_t ffactor)
static int __ham_lookup (DBC *dbc, const DBT *key, u_int32_t sought, db_lockmode_t mode, db_pgno_t *pgnop)
static int __ham_overwrite (DBC *dbc, DBT *nval, u_int32_t flags)
static int __ham_lookup __P ((DBC *, const DBT *, u_int32_t, db_lockmode_t, db_pgno_t *))
static int __ham_init_htab __P ((DBC *, const char *, db_pgno_t, u_int32_t, u_int32_t))
static int __ham_dup_return __P ((DBC *, DBT *, u_int32_t))
static int __ham_delete __P ((DB *, DB_TXN *, DBT *, u_int32_t))
static int __ham_del_dups __P ((DBC *, DBT *))
static int __ham_c_get __P ((DBC *, DBT *, DBT *, u_int32_t, db_pgno_t *))
static int __ham_c_del __P ((DBC *))
static int __ham_c_close __P ((DBC *, db_pgno_t, int *))
void CDB___ham_c_chgpg (DBC *dbc, db_pgno_t old_pgno, u_int32_t old_index, db_pgno_t new_pgno, u_int32_t new_index)
int CDB___ham_c_count (DBC *dbc, db_recno_t *recnop)
int CDB___ham_c_dup (DBC *orig_dbc, DBC *new_dbc)
int CDB___ham_c_init (DBC *dbc)
void CDB___ham_c_update (DBC *dbc, db_pgno_t chg_pgno, u_int32_t len, int add, int is_dup)
u_int32_t CDB___ham_call_hash (DBC *dbc, u_int8_t *k, int32_t len)
int CDB___ham_get_clist (DB *dbp, db_pgno_t bucket, u_int32_t indx, DBC ***listp)
int CDB___ham_init_dbt (DB_ENV *dbenv, DBT *dbt, u_int32_t size, void **bufp, u_int32_t *sizep)
int CDB___ham_metachk (DB *dbp, const char *name, HMETA *hashm)
int CDB___ham_open (DB *dbp, const char *name, db_pgno_t base_pgno, u_int32_t flags)

Variables

static const char revid [] = "$Id: hash_8c.html,v 1.1 2008/06/08 10:19:09 sebdiaz Exp $"


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