more tkv
This commit is contained in:
parent
523ba0ab98
commit
3b4fabc702
|
@ -28,11 +28,13 @@ extern "C" {
|
||||||
struct TDB {
|
struct TDB {
|
||||||
pgsize_t pageSize;
|
pgsize_t pageSize;
|
||||||
tdb_db_t type;
|
tdb_db_t type;
|
||||||
|
char * fname;
|
||||||
|
char * dbname;
|
||||||
union {
|
union {
|
||||||
TDB_BTREE *btree;
|
TDB_BTREE *btree;
|
||||||
TDB_HASH * hash;
|
TDB_HASH * hash;
|
||||||
TDB_HEAP * heap;
|
TDB_HEAP * heap;
|
||||||
} dbam; // Different access methods
|
} dbam; // db access method
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
Loading…
Reference in New Issue