pub unsafe extern "C" fn crypt_memory_lock(
    cd: *mut crypt_device,
    lock: c_int
) -> c_int