TinyMUSH 3.3
TinyMUSH Server
|
Database handling functions. More...
#include "config.h"
#include "constants.h"
#include "typedefs.h"
#include "macros.h"
#include "externs.h"
#include "prototypes.h"
#include <stdbool.h>
#include <gdbm.h>
#include <sys/file.h>
#include <unistd.h>
Functions | |
void | dddb_setsync (int flag) |
void | dbm_error (const char *msg) |
int | dddb_optimize (void) |
int | dddb_init (void) |
int | dddb_setfile (char *fil) |
bool | dddb_close (void) |
UDB_DATA | db_get (UDB_DATA gamekey, unsigned int type) |
int | db_put (UDB_DATA gamekey, UDB_DATA gamedata, unsigned int type) |
int | db_del (UDB_DATA gamekey, unsigned int type) |
void | db_lock (void) |
void | db_unlock (void) |
Variables | |
char * | dbfile = DEFAULT_DBMCHUNKFILE |
int | db_initted = 0 |
GDBM_FILE | dbp = (GDBM_FILE)0 |
struct flock | fl |
Database handling functions.