Berkley DB CFFI-Bindings

Not yet supported/implemented Constants/Flags 

(defcenum db_lockmode_t
	(:DB_LOCK_NG 0)
	(:DB_LOCK_READ 1)
	(:DB_LOCK_WRITE 2)
	(:DB_LOCK_WAIT 3)
	(:DB_LOCK_IWRITE 4)
	(:DB_LOCK_IREAD 5)
	(:DB_LOCK_IWR 6)
	(:DB_LOCK_DIRTY 7)
	(:DB_LOCK_WWRITE 8))
(defcenum db_lockop_t
	(:DB_LOCK_DUMP 0)
	(:DB_LOCK_GET 1)
	(:DB_LOCK_GET_TIMEOUT 2)
	(:DB_LOCK_INHERIT 3)
	(:DB_LOCK_PUT 4)
	(:DB_LOCK_PUT_ALL 5)
	(:DB_LOCK_PUT_OBJ 6)
	(:DB_LOCK_PUT_READ 7)
	(:DB_LOCK_TIMEOUT 8)
	(:DB_LOCK_TRADE 9)
	(:DB_LOCK_UPGRADE_WRITE 10))
(defcenum db_status_t
	(:DB_LSTAT_ABORTED 1)
	(:DB_LSTAT_EXPIRED 2)
	(:DB_LSTAT_FREE 3)
	(:DB_LSTAT_HELD 4)
	(:DB_LSTAT_NOTEXIST 5)
	(:DB_LSTAT_PENDING 6)
	(:DB_LSTAT_WAITING 7))