[−][src]Function ejdb_sys::ejdbopen
pub unsafe extern "C" fn ejdbopen(
jb: *mut EJDB,
path: *const c_char,
mode: c_int
) -> bool
Opens EJDB database.
@param jb Database object created with ejdbnew' @param path Path to the database file. @param mode Open mode bitmask flags:
JBOREADEROpen as a reader.
JBOWRITEROpen as a writer.
JBOCREATCreate db if it not exists
JBOTRUNCTruncate db.
JBONOLCKOpen without locking.
JBOLCKNBLock without blocking.
JBOTSYNC` Synchronize every transaction.
@return