![]() |
My Project
|
#include "kernel/mod2.h"
#include "reporter/si_signals.h"
#include "Singular/links/ndbm.h"
#include <strings.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Macros | |
#define | bcopy(a, b, c) memmove(b,a,c) |
#define | BYTESIZ 8 |
Functions | |
static void | dbm_access (DBM *db, long hash) |
static int | getbit (DBM *db) |
static void | setbit (DBM *db) |
static datum | makdatum (char buf[PBLKSIZ], int n) |
static int | finddatum (char buf[PBLKSIZ], datum item) |
static long | dcalchash (datum item) |
static int | delitem (char buf[PBLKSIZ], int n) |
static int | additem (char buf[PBLKSIZ], datum item, datum item1) |
int | singular_fstat (int fd, struct stat *buf) |
DBM * | dbm_open (char *file, int flags, int mode) |
void | dbm_close (DBM *db) |
long | dbm_forder (DBM *db, datum key) |
datum | dbm_fetch (DBM *db, datum key) |
int | dbm_delete (DBM *db, datum key) |
int | dbm_store (DBM *db, datum key, datum dat, int replace) |
datum | dbm_firstkey (DBM *db) |
datum | dbm_nextkey (DBM *db) |
Variables | |
STATIC_VAR int | hitab [16] |
STATIC_VAR long | hltab [64] |
Definition at line 260 of file ndbm.cc.
Definition at line 59 of file ndbm.cc.
Definition at line 167 of file ndbm.cc.
Definition at line 1087 of file misc_ip.cc.
STATIC_VAR int hitab[16] |
STATIC_VAR long hltab[64] |
Definition at line 422 of file ndbm.cc.