hamsterdb Embedded Database 1.1.13
Defines

Special Database Names

hamsterdb Enhanced API

Defines

#define HAM_DEFAULT_DATABASE_NAME   (0xf000)
#define HAM_FIRST_DATABASE_NAME   (0xf001)
#define HAM_DUMMY_DATABASE_NAME   (0xf002)

Define Documentation

#define HAM_DEFAULT_DATABASE_NAME   (0xf000)

A reserved Database name for those Databases, who are created without an Environment (and therefore do not have a name).

Note that this value also serves as the upper bound for allowed user specified Database names as passed to ham_env_create_db or ham_env_open_db.

Definition at line 49 of file hamsterdb_int.h.

#define HAM_DUMMY_DATABASE_NAME   (0xf002)

A reserved Database name for a dummy Database which only reads/writes the header page

Definition at line 61 of file hamsterdb_int.h.

#define HAM_FIRST_DATABASE_NAME   (0xf001)

A reserved Database name which automatically picks the first Database in an Environment

Definition at line 55 of file hamsterdb_int.h.