Asterisk - The Open Source Telephony Project  18.5.0
Data Structures | Macros | Typedefs | Functions
ndbm.h File Reference
#include "db.h"
Include dependency graph for ndbm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  datum
 

Macros

#define DBM_INSERT   0
 
#define dbm_pagfno(a)   DBM_PAGFNO_NOT_AVAILABLE
 
#define DBM_RDONLY   O_RDONLY
 
#define DBM_REPLACE   1
 
#define DBM_SUFFIX   ".db"
 

Typedefs

typedef DB DBM
 

Functions

__BEGIN_DECLS void dbm_close __P ((DBM *))
 
int dbm_delete __P ((DBM *, datum))
 
DBM *dbm_open __P ((const char *, int, int))
 
int dbm_store __P ((DBM *, datum, datum, int))
 

Macro Definition Documentation

◆ DBM_INSERT

#define DBM_INSERT   0

Definition at line 48 of file ndbm.h.

Referenced by dbm_store().

◆ dbm_pagfno

#define dbm_pagfno (   a)    DBM_PAGFNO_NOT_AVAILABLE

Definition at line 63 of file ndbm.h.

◆ DBM_RDONLY

#define DBM_RDONLY   O_RDONLY

Definition at line 45 of file ndbm.h.

◆ DBM_REPLACE

#define DBM_REPLACE   1

Definition at line 49 of file ndbm.h.

◆ DBM_SUFFIX

#define DBM_SUFFIX   ".db"

Definition at line 55 of file ndbm.h.

Referenced by dbm_open().

Typedef Documentation

◆ DBM

typedef DB DBM

Definition at line 62 of file ndbm.h.

Function Documentation

◆ __P() [1/4]

__BEGIN_DECLS void dbm_close __P ( (DBM *)  )

◆ __P() [2/4]

long dbm_forder __P ( (DBM *, datum )

◆ __P() [3/4]

DBM* dbm_open __P ( (const char *, int, int)  )

◆ __P() [4/4]

int dbm_store __P ( (DBM *, datum, datum, int)  )