pub unsafe extern "C" fn leveldb_open(
options: *const leveldb_options_t,
name: *const c_char,
errptr: *mut *mut c_char,
) -> *mut leveldb_t
Expand description
Open the database at path name
with the configurations set in options
.
In case of success, the return value represents an open database.
If this operation fails,
leveldb_t
is a nullpointererrptr
contains more information about the error reason