pub unsafe extern "C" fn aws_cache_find(
cache: *mut aws_cache,
key: *const c_void,
p_value: *mut *mut c_void
) -> c_int
Expand description
Finds element in the cache by key. If found, *p_value will hold the stored value, and AWS_OP_SUCCESS will be returned. If not found, AWS_OP_SUCCESS will be returned and *p_value will be NULL.
If any errors occur AWS_OP_ERR will be returned.