Function gnunet_sys::GNUNET_CRYPTO_hash_file [−][src]
pub unsafe extern "C" fn GNUNET_CRYPTO_hash_file(
priority: GNUNET_SCHEDULER_Priority,
filename: *const c_char,
blocksize: usize,
callback: GNUNET_CRYPTO_HashCompletedCallback,
callback_cls: *mut c_void
) -> *mut GNUNET_CRYPTO_FileHashContext
@ingroup hash Compute the hash of an entire file.
@param priority scheduling priority to use @param filename name of file to hash @param blocksize number of bytes to process in one task @param callback function to call upon completion @param callback_cls closure for @a callback @return NULL on (immediate) error