lmdb_master_sysFunction mdb_env_set_userctx
Source pub unsafe extern "C" fn mdb_env_set_userctx(
env: *mut MDB_env,
ctx: *mut c_void,
) -> c_int
Expand description
Set application information associated with the #MDB_env.
§Arguments
env
(direction in) - An environment handle returned by #mdb_env_create()
ctx
(direction in) - An arbitrary pointer for whatever the application needs.
§Returns
A non-zero error value on failure and 0 on success.