Function gnunet_sys::GNUNET_CRYPTO_hash_cmp [−][src]
pub unsafe extern "C" fn GNUNET_CRYPTO_hash_cmp(
h1: *const GNUNET_HashCode,
h2: *const GNUNET_HashCode
) -> c_int
@ingroup hash Compare function for HashCodes, producing a total ordering of all hashcodes.
@param h1 some hash code @param h2 some hash code @return 1 if @a h1 > @a h2, -1 if @a h1 < @a h2 and 0 if @a h1 == @a h2.