Type Definition gnunet_sys::GNUNET_CRYPTO_HashCompletedCallback[][src]

type GNUNET_CRYPTO_HashCompletedCallback = Option<unsafe extern "C" fn(cls: *mut c_void, res: *const GNUNET_HashCode)>;

Function called once the hash computation over the specified file has completed.

@param cls closure @param res resulting hash, NULL on error