hamsterdb Database Access Flags
[hamsterdb Database Functions]

Defines

#define HAM_WRITE_THROUGH   0x00000001
#define HAM_READ_ONLY   0x00000004
#define HAM_USE_BTREE   0x00000010
#define HAM_DISABLE_VAR_KEYLEN   0x00000040
#define HAM_IN_MEMORY_DB   0x00000080
#define HAM_DISABLE_MMAP   0x00000200
#define HAM_CACHE_STRICT   0x00000400
#define HAM_DISABLE_FREELIST_FLUSH   0x00000800
#define HAM_LOCK_EXCLUSIVE   0x00001000
#define HAM_RECORD_NUMBER   0x00002000
#define HAM_ENABLE_DUPLICATES   0x00004000
#define HAM_ENABLE_RECOVERY   0x00008000
#define HAM_AUTO_RECOVERY   0x00010000
#define HAM_ENABLE_TRANSACTIONS   0x00020000
#define HAM_CACHE_UNLIMITED   0x00040000
#define HAM_SORT_DUPLICATES   0x00100000

Detailed Description

These flags can be bitwise-OR-ed together.


Define Documentation

#define HAM_AUTO_RECOVERY   0x00010000

Flag for ham_open_ex, ham_env_open_ex. This flag is non persistent.

Definition at line 1425 of file hamsterdb.h.

#define HAM_CACHE_STRICT   0x00000400

Flag for ham_open, ham_open_ex, ham_create, ham_create_ex. This flag is non persistent.

Definition at line 1399 of file hamsterdb.h.

#define HAM_CACHE_UNLIMITED   0x00040000

Flag for ham_open, ham_open_ex, ham_create, ham_create_ex. This flag is non persistent.

Definition at line 1435 of file hamsterdb.h.

#define HAM_DISABLE_FREELIST_FLUSH   0x00000800
Deprecated:
Flag for ham_open, ham_open_ex, ham_create, ham_create_ex. This flag is non persistent.

Definition at line 1404 of file hamsterdb.h.

#define HAM_DISABLE_MMAP   0x00000200

Flag for ham_open, ham_open_ex, ham_create, ham_create_ex. This flag is non persistent.

Definition at line 1394 of file hamsterdb.h.

#define HAM_DISABLE_VAR_KEYLEN   0x00000040

Flag for ham_create, ham_create_ex. This flag is non persistent.

Definition at line 1382 of file hamsterdb.h.

#define HAM_ENABLE_DUPLICATES   0x00004000

Flag for ham_create, ham_create_ex. This flag is persisted in the Database.

Definition at line 1416 of file hamsterdb.h.

#define HAM_ENABLE_RECOVERY   0x00008000

Flag for ham_create_ex, ham_open_ex, ham_env_create_ex, ham_env_open_ex. This flag is non persistent.

Definition at line 1421 of file hamsterdb.h.

#define HAM_ENABLE_TRANSACTIONS   0x00020000

Flag for ham_create_ex, ham_open_ex, ham_env_create_ex, ham_env_open_ex. This flag is non persistent.

Definition at line 1430 of file hamsterdb.h.

#define HAM_IN_MEMORY_DB   0x00000080

Flag for ham_create, ham_create_ex. This flag is 'persisted' (though not for long: In-memory Databases are discarded on close anyhow.

Definition at line 1387 of file hamsterdb.h.

#define HAM_LOCK_EXCLUSIVE   0x00001000

Flag for ham_open, ham_open_ex, ham_create, ham_create_ex

Definition at line 1408 of file hamsterdb.h.

#define HAM_READ_ONLY   0x00000004

Flag for ham_open, ham_open_ex. This flag is non persistent.

Definition at line 1370 of file hamsterdb.h.

#define HAM_RECORD_NUMBER   0x00002000

Flag for ham_create, ham_create_ex, ham_env_create_db. This flag is persisted in the Database.

Definition at line 1412 of file hamsterdb.h.

#define HAM_SORT_DUPLICATES   0x00100000

Flag for ham_create, ham_create_ex, ham_env_create_db, ham_open, ham_open_ex, ham_env_open_db This flag is non persistent.

Definition at line 1442 of file hamsterdb.h.

#define HAM_USE_BTREE   0x00000010

Flag for ham_create, ham_create_ex. This flag is persisted in the Database.

Definition at line 1376 of file hamsterdb.h.

#define HAM_WRITE_THROUGH   0x00000001

Flag for ham_open, ham_open_ex, ham_create, ham_create_ex. This flag is non persistent.

Definition at line 1364 of file hamsterdb.h.


Generated on Thu Feb 11 22:04:58 2010 for hamsterdb Embedded Database by  doxygen 1.6.1