Type Alias s2n_quic_tls::ffi::s2n_clock_time_nanoseconds
source · pub type s2n_clock_time_nanoseconds = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut u64) -> i32>;
Expand description
Callback function type used to get the system time.
@param void* A pointer to arbitrary data for use within the callback @param uint64_t* A pointer that the callback will set to the time in nanoseconds The function should return 0 on success and -1 on failure.
Aliased Type§
enum s2n_clock_time_nanoseconds {
None,
Some(unsafe extern "C" fn(_: *mut c_void, _: *mut u64) -> i32),
}