hamsterdb Embedded Database
2.1.7
|
Go to the source code of this file.
Macros | |
#define | LOOP 10 |
#define | DATABASE_NAME 1 |
Functions | |
void | error (const char *foo, ham_status_t st) |
int | main (int argc, char **argv) |
#define LOOP 10 |
void error | ( | const char * | foo, |
ham_status_t | st | ||
) |
Definition at line 31 of file db1.c.
References ham_strerror().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 37 of file db1.c.
References ham_record_t::data, ham_key_t::data, DATABASE_NAME, error(), HAM_AUTO_CLEANUP, ham_db_close(), ham_db_erase(), ham_db_find(), ham_db_insert(), ham_env_close(), ham_env_create(), ham_env_create_db(), ham_env_open(), ham_env_open_db(), HAM_KEY_NOT_FOUND, HAM_PARAM_KEY_TYPE, HAM_PARAM_RECORD_SIZE, HAM_SUCCESS, HAM_TYPE_UINT32, LOOP, ham_record_t::size, and ham_key_t::size.