pull/34/head
Ben Johnson 2013-12-20 12:04:39 -07:00
parent 7b38858d98
commit 4328b08a77
1 changed files with 99 additions and 0 deletions

99
NOTES Normal file
View File

@ -0,0 +1,99 @@
NOTES
=====
## Types
- Env
- Txn
- DB (DBI)
- Cursor
- Value (ptr + sz)
- Stat
- Envinfo ()
## Misc
- compare_func
- rel_func (unimplemented?)
## Flags
### Environment
- FIXEDMAP
- NOSUBDIR
- NOSYNC
- RDONLY
- NOMETASYNC
- NOTLS
- NOLOCK
- NORDAHEAD
- NOMEMINIT
### Database
- REVERSEKEY
- DUPSORT
- INTEGERKEY
- DUPFIXED
- INTEGERDUP
- REVERSEDUP
- CREATE
### Put Write Flags
- NOOVERWRITE
- NODUPDATA
- CURRENT
- RESERVE
- APPEND
- APPENDDUP
- MULTIPLE
### Cursor Get Flags
- FIRST
- FIRST_DUP
- GET_BOTH
- GET_BOTH_RANGE
- GET_CURRENT
- GET_MULTIPLE
- LAST
- LAST_DUP
- NEXT
- NEXT_DUP
- MULTIPLE
- NEXT_NODUP
- NEXT_MULTIPLE
- NEXT_NODUP
- PREV
- PREV_DUP
- PREV_NODUP
- SET
- SET_KEY
- SET_RANGE
## Error Codes
- SUCCESS
- KEYEXIST
- NOTFOUND
- PAGE_NOTFOUND
- CORRUPTED
- PANIC
- VERSION MISMATCH
- INVALID
- MAP_FULL
- DBS_FULL
- READERS_FULL
- TLS_FULL
- TXN_FULL
- CURSOR_FULL
- PAGE_FULL
- MAP_RESIZED
- INCOMPATIBLE
- BAD_RSLOT
- BAD_TXN
- BAD_VALSIZE