Asterisk - The Open Source Telephony Project
18.5.0
|
#include <sys/param.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ndbm.h>
#include "hash.h"
Go to the source code of this file.
Functions | |
int | dbm_clearerr (DBM *db) |
void | dbm_close (DBM *db) |
int | dbm_delete (DBM *db, datum key) |
int | dbm_dirfno (DBM *db) |
int | dbm_error (DBM *db) |
datum | dbm_fetch (DBM *db, datum key) |
datum | dbm_firstkey (DBM *db) |
datum | dbm_nextkey (DBM *db) |
DBM * | dbm_open (char *file, int flags, int mode) const |
int | dbm_store (DBM *db, datum key, datum data, int flags) |
int dbm_clearerr | ( | DBM * | db | ) |
void dbm_close | ( | DBM * | db | ) |
Definition at line 170 of file ndbm.c.
References DBT::data, datum::dptr, datum::dsize, DBT::size, and status.
int dbm_dirfno | ( | DBM * | db | ) |
Definition at line 230 of file ndbm.c.
References __db::internal.
int dbm_error | ( | DBM * | db | ) |
Definition at line 103 of file ndbm.c.
References DBT::data, datum::dptr, datum::dsize, NULL, DBT::size, and status.
Definition at line 129 of file ndbm.c.
References DBT::data, datum::dptr, datum::dsize, NULL, R_FIRST, DBT::size, and status.
Definition at line 150 of file ndbm.c.
References DBT::data, datum::dptr, datum::dsize, NULL, R_NEXT, DBT::size, and status.
DBM* dbm_open | ( | char * | file, |
int | flags, | ||
int | mode | ||
) | const |
Definition at line 61 of file ndbm.c.
References __hash_open(), HASHINFO::bsize, HASHINFO::cachesize, db, DBM_SUFFIX, HASHINFO::ffactor, make_ari_stubs::file, free(), sip_to_pjsip::info(), len(), HASHINFO::lorder, malloc(), HASHINFO::nelem, and NULL.
Definition at line 193 of file ndbm.c.
References DBT::data, DBM_INSERT, datum::dptr, datum::dsize, R_NOOVERWRITE, and DBT::size.