Functions

bdb_lib.h File Reference

Berkeley DB : Library. More...

#include <time.h>
#include <stdlib.h>
#include <syslog.h>
#include <sys/stat.h>
#include <db.h>
#include "../../str.h"
#include "../../lib/srdb2/db.h"
#include "../../lib/srdb2/db_fld.h"
Include dependency graph for bdb_lib.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions


Detailed Description

Definition in file bdb_lib.h.


Function Documentation

int bdblib_close ( bdb_db_p  _db_p,
str dirpath 
)

assumes the lib data-structures are already initialzed; used to sync and reload the db file.

Definition at line 101 of file bdb_lib.c.

References _str::len, and _str::s.

bdb_tcache_p bdblib_get_table ( bdb_db_t *  _db,
str _s 
)

if dne, create a new one and add to the list

Definition at line 400 of file bdb_lib.c.

References bdblib_create_table(), _str::len, and _str::s.

Here is the call graph for this function:

int bdblib_reopen ( bdb_db_p  _db_p,
str dirpath 
)

assumes the lib data-structures are already initialzed; used to sync and reload the db file.

Definition at line 175 of file bdb_lib.c.

References _str::len, and _str::s.